Can doctors guess when you'll have your baby?

I went for my 38 week appointment today and after my exam the doctor said I'll most likely have my baby next week. She said it so confidently. Have any of your doctors said something like this after an exam? How accurate do you think she could be?