I'm trying to understand the difference between a margin of error and a confidence interval with p-value .05. The margin of error gives a range of values around a sample mean such that the population mean has a 95% chance of being within that range. Isn't this the same thing as the meaning of a confidence interval? My book says otherwise but doesn't make it clear how that's so.