I have created a T test in R and got the below output.
t.test(casein,mu=pw,alternative="greater")
## One Sample t-test
##
## data: casein
## t = 3.348, df = 11, p-value = 0.003251
## alternative hypothesis: true mean is greater than 261.3099
## 95 percent confidence interval:
## 290.1791 Inf
## sample estimates:
## mean of x
## 323.5833
Here as you can see the P-value is 0.003, which is less than the significant value of 0.05. Hence shouldn't the alternative hypothesis be rejected in this case? How is true?
caseindataset? The question is easier to answer if we can reproduce what you've done. – Richie Cotton Aug 28 '16 at 06:32