I have a population mean of 120 (mu). I have a sample distribution with a mean of 131.05 and a standard-deviation of 11.00945. I have a sample size of 20, 19 degrees of freedom (n-1). I am performing a one-sample t-test.
When I calculate the 95% confidence interval using my sample mean (131.05), can I use that interval to reject the null hypothesis or to not reject the null hypothesis that the difference between the population mean and sample distribution mean is 0 (or that there is not a difference between the two means?
I had read that if my 95% confidence interval includes 0, then I do not reject the null hypothesis that the mean difference is 0. However, the confidence interval that I calculated does not contain 0. My professor for biostatistics has also said this. Source: http://www.jerrydallal.com/lhsp/ci.htm
95% Confidence Interval Equation: SampleMean +/- 2*StandardError
[131.05-4.9235] = 126.13
[131.05+4.9235] = 135.97
The hypothesis that I am testing is, is there a difference between the population mean (mu = 120) and the sample distribution mean (y bar = 131.05).
Can I deduce that, since the population mean (120) is not within the 95% interval (126.13 to 135.97), that the null can be rejected? I did obtain a low p-value which agrees with this. My interval does not contain 0, so I am confused in that regard.
To me, the statement of your Question seems imprecise and I can't get exactly the results you show. Let me give you some information on what you can and cannot say based on the data you provide.
From Minitab, a hypothesis test of $H_0: \mu=120$ vs $H_a: \mu \ne 120$ and a 95% confidence interval for $\mu,$ based on the information you provide, are as follows:
First, you can reject $H_0$ at a level below $\alpha = 0.001 = 0.1\%.$ So you can also reject at the 5% level. This is from the t statistic and the P-value in the output.
Second based on the confidence interval, you can reject any null hypothesis $H_0: \mu = \mu_0$ at the 5% level against the two-sided alternative, provided that $\mu_0$ does not lie in the 95% CI $(125.9, 136.2).$
So, for example, you can reject $H_0: \mu = 124$ vs. $H_a: \mu \ne 124$ at the 5% level (124 lies outside the interval). And once again, you can also reject $H_0: \mu = 120$ (120 also lies outside the interval).
However, you cannot reject $H_0: \mu = 128$ vs. $H_a: \mu \ne 128$ (128 lies inside the interval). In this sense, you may view the 95% CI as an interval of values $\mu_0$ that lie so close to $\bar X = 131.05$ that they are "not rejectable."
Note: I have no way of knowing whether the discrepancy between my CI and yours is based on a typo in the information provided or on an error in computation. I hope you can begin by proofreading and re-computing as necessary.