T Testz Test
T Testz Test
test
INFERENTIAL
S TAT I S T I C S
- a statistical test that is used
to compare the means of two
groups.
denoted as alpha or α, is a measure of the strength of the evidence that must be present
in your sample before you will reject the null hypothesis and conclude that the effect is
statistically significant.
probability of rejecting the null hypothesis when it is true.
For example, a significance level of 0.05 indicates a 5% risk of concluding that a difference
exists when there is no actual difference.
Lower significance levels indicate that you require stronger evidence before you will reject
the null hypothesis.
If the p-value is less than the significance level, REJECT the null hypothesis and conclude
that the effect is statistically significant. In other words, the evidence in your sample is
strong enough to be able to reject the null hypothesis at the population level.
indicate the number of independent values
that can vary in an analysis without breaking
any constraints.
Degrees of the number of df required will vary
The probability that you would obtain the effect observed in your sample, or
larger, if the null hypothesis is true for the populations.
P-values are calculated based on your sample data and under the assumption
that the null hypothesis is true.
Lower p-values indicate greater evidence against the null hypothesis.
Independent
Samples t-
test
Independent Sample T-
Test
Independent T-Test
Two Sample T-Test
Unpaired Samples T-Test
Student’s T-Test.
Independent t- test
Independent Samples t Test compares the means of
two independent groups in order to determine whether
there is statistical evidence that the associated population
means are significantly different.
Where:
‘x’ bar – mean of the sample
SS – sum of squares
N - number of observations
Normally Random
Continuous
Distributed Sample
Similar
Enough Spread
Data Between
Groups
II. Hypothesis:
H0 : There is no significant difference between the performance of male and female AB students in
Spelling.
H1 : There is a significant difference between the performance of male and female AB students in
Spelling.
◦ df = n1+n2 – 2
◦ = 10 + 10 – 2
◦ = 18
◦ t 0.5 = 2.101
STEPWISE METHOD
IV. Statistics: t-test for two independent samples
VI. Conclusion: Since the t-computed value of 2.88 is greater than t- tabular
value of 2.101 at 0.05 level of significance with 18 degrees of freedom, the null
hypothesis is rejected in favor of the research hypothesis. This means that there
is a significant difference between the performance of male and female AB
students in Spelling. It implies that the male performs better than the female
students considering that the mean score of the male students of 13.1 is greater
compared to the mean score of female students of only 7.8.
Paired
Samples T-
test
Dependent Sample T-
Test Paired T-Test.
Paired Sample t- test
The Paired Samples t Test compares the means
of two measurements taken from the same
individual, object, or related units.
t=
Where:
‘D’ bar – mean difference
𝚺 – sum of squares of the difference
𝚺D – summation of the difference
N - number of observations/ sample size
Continuous
Sample 10
15
25
25
Problem 20
10
20
20
18 22
An experimental study 14 20
effect of programmed 20 15
performance of 20 15 10
One-Sample Test of
Means.
One Sample t- test
The one-sample t-test is a statistical
hypothesis test used to determine whether an unknown
population mean is different from a specific value.
Continuous
Assumptions Normally
for a Single Distributed
Sample T-
Test Random Sample
Enough Data
You want to know if one group
is different from a known or
hypothesized population value on
your variable of interest
Sample T- For this test, the null hypothesis states that there is no
difference between the true mean and the assumed
Test? value whereas the alternative hypothesis states that
either the assumed value is greater than or less than
the true mean but not both.
For instance, if our H0: µ0 = µ and Ha: µ < µ0, such a test
would be a one-sided test or more precisely, a left-tailed
test.
Group 1: Received the experimental
Single medical treatment.
Sample T- Population Value: On average in
the population, it takes 12 days to
Test recover from the disease
Example Variable of interest: Time to
recover from the disease in days.
Sample Problem
If a sample of 10 copper wires is found to have a mean breaking strength of 527
kgs, is it feasible to regard the sample as a part of a large population with a mean
breaking strength of 578 kgs and a standard deviation of 12.72 kgs? Test at 5%
level of significance.
H1 = The mean breaking strength of the population is not equal to 578 kgs.
◦ kg.
◦ 𝜇= 578 𝑘𝑔.
◦ 𝛿= 12.72 𝑘𝑔
◦ n = 10
53
53
56
43
48 Seatwork:
63
55
The masses in grams of 18 randomly chosen Okra
56
grown in a commercial greenhouse were as
48 follows:
57
46 Other growers have found that the mean mass of
51 this sort of Okra is 50 g. Perform the t –test to
52 determine whether the mean mass of okra from
48 this greenhouse is different from the expected
55 value. (α=0.05, one-tailed)
49
52
55
a statistical test to determine
whether two population
means are different when the
One Sample z- test variances are known and the
sample size is large. It can be
used to test hypotheses in
which the z-test follows a
normal distribution.
Level of
Significance 0.00 0.00
(α) 0.10 0.05 0.01 5 2
zα for 1-Tailed Tests − 1.28 − 1.645 − 2.33 − 2.58 − 2.88
or 1.28 or or 2.33 or 2.58 or 2.88
1.645