T Test One Sample
T Test One Sample
T Test One Sample
SIGNIFICANCE (t – test)
• The independent variable (traditionally plotted on the x axis) is what
can freely change.
• The dependent variable (traditionally plotted on the y axis) is what is
affected by the independent variable.
• Examples:
Paired t test
(dependent ) Unpaired t test
Unmatched (independent)
within matched
Repeated measures
ONE SAMPLE T - TEST
One Sample t – test
(Sample Vs The Population)
9 18 21 26
14 18 22 27
15 19 22 29
15 19 24 30
16 20 24 32
Steps for test for single mean
1.Question to be answered (Research Question)
Is the Mean weight of the sample of 20 rats is 24 mg?
N=20, x=21.0 mg, SD=5.91 , μ=24.0 mg
2 . Null & Alternate Hypothesis
The mean weight of rats is 24 g / not 24 g .That is, The sample mean is
equal/ not equal to population mean.
3. Assumption
• Sampled population is normal
• Small random sample (n < 30)
• σ is unknown
4. Level of Significance – 0.05
Steps for test for single mean
• 1.Apply test of significance
• 2.Justification: Small sample size
Degree of Freedom - 19
• 3.Find critical value from t table – t crit = t .05, 19 = 2.093
• 4.Compute test statistics t =x-μ /s /√n
• t(n-1) df
• 5. Test statistics : n=20, x=21.0 mg, SD=5.91, μ=24.0 mg
• t=21-24/5.91/√20=-2.27
Steps for test for single mean
6. Comparison with theoretical value
If t crit (n- 1)< t cal(n-1) reject Ho
If t crit (n-1)> t cal(n-1)fail to reject Ho
7. Reject or fail to reject null hypothesis - t crit = t .05, 19 = 2.093
Reject H 0 as t calc 2.30 > t crit 2.093
8. Inference : Answering the research question
THERE IS NO STATISTICALLY SIGNIFICANT EVIDENCE
THAT THE SAMPLE IS TAKEN FROM THE POPULATION
WITH MEAN WEIGHT OF 24 Gm
9. Calculate CI for population mean:
CI 95 = Mean± t 0.05 (SEM) = 21 ±2.093(SEM)
Exercise
• A medical investigation claims that the average number of infections
per week at a hospital in a central city is 16.3. A random sample of 10
weeks had a mean number of 17.7 infections. The sample standard
deviation is 1.8. Is there enough evidence to reject the investigators
claim at alpha = 0.05?
Solution
• H o : x = 16.3 (claim)
• H A : x ≠16.3 (claim)
• N = 10 , sd = 1.8, alpha = 0.05
• Df = n – 1 = 9
• Critical values = ±2.262 at df = 9
• t calc = 2.46
• Reject the null hypothesis since 2.46>2.262
• There is enough evidence to reject the claim that the average number
of infections is 16.3
Exercise
• A physicians claim that joggers maximal volume oxygen uptake is
greater than the average of all adults. A sample of 15 joggers has a
mean of 40.6 ml/kg and SD of 6ml/kg. if the average of all the adults
is 36.7 ml/kg, is there enough evidence to support the physicians claim
at alpha = 0.05
Exercise
• The following are the oxygen uptake during incubation of a random
sample of 15 cell suspensions:
14.0, 14.1, 14.5, 13.2, 11.2, 14.0, 14.1, 12.2, 11.1, 13.7, 13.2,
16.0, 12.8, 14.4, 12.9
• Do these data provide sufficient evidence at the 0.05 level of
significance that population mean is not 12 ml? what assumptions are
necessary?
Exercise
• Suppose it is known that the IQ score of a certain population of adults
are approximately normally distributed with a S.D of 15. A simple
random sample of 25 adults drawn from this population had a mean
IQ of 105. On the basis of these data can we conclude that the mean
IQ score for the population is not 100? Let the probability of
committing type I error is 0.05