6.2.5 One Sample t-test and Confidence Interval

Assumptions: Observations are independent of one another and if the data come from a non-normal distribution, n > 30. If the data come from a normal distribution, n can be any size for each sample.

H0  : μ = μ0

    ¯x - μ0
t = ---√---.
     s∕  n

A (1 - α)100% confidence interval for μ is,

(                          )
           s            s
  ¯x - tα∕2√---,x¯+ tα∕2√---  .
            n            n