Professional Documents
Culture Documents
Statistical Analysis PDF
Statistical Analysis PDF
Statistical Analysis PDF
Dr.H.Qotba 2
Variables
Quantitative Qualitative
•Discrete •Ordinal
•Continuous •Categorical
Dr.H.Qotba 3
Parametric Vs.
non parametric tests
Dr.H.Qotba 13
Requirements
Dr.H.Qotba 14
Types of t-Test
• One sample t test: test if a sample mean
for a variable differs significantly from the
given population with a known mean
Dr.H.Qotba 17
One – sample t-test
a. 𝑯𝟎 = There is no significant difference
between the scores of 10 students from
BSAIS and the whole population.
Dr.H.Qotba 18
One – sample t-test
A p value is used in hypothesis testing to
help you support or reject the null
hypothesis. The p value is the
evidence against a null hypothesis. The
smaller the p-value, the stronger the
evidence that you should reject the null
hypothesis.
Dr.H.Qotba 19
One – sample t-test
d. Presentation/ Decision
Std. Std. p-
N Mean t-cal Decision
Deviation Error value
Sample Accept the
10 26.4 13.35 4.22 -0.14 0.89
Students Ho
From the table, the mean of the ten sample
students is 26.4 with the standard deviation of
13.35. The t-computed value is -0.14 with the
corresponding p-value of 0.89. This means that the
null hypothesis has 89% of acceptance level. Since
-0.14 < 1.96, we accept the null hypothesis (Type II
Error).
Dr.H.Qotba 20
One – sample t-test
e. There is no significant difference between the
score of the BSAIS-2A with the score of the
population.
Dr.H.Qotba 21
Independent Sample Test
Example.
The following are the scores in spelling of
10 male and 10 female BSAIS students. Test
the null hypothesis using 0.05 level of
significance two-tailed.
Male:
14, 18, 17, 16, 4, 14, 12, 10, 9, 17
Female:
12, 9, 11, 5, 10, 3, 7, 2, 6, 13
Dr.H.Qotba 22
Independent Sample Test
a. 𝑯𝟎 = There is no significant difference
between the performance of male and
female in spelling.
Dr.H.Qotba 23
Independent Sample Test
d. Tabular Presentation/ Decision
Gender n Mean SD t-cal df p Decision
Dr.H.Qotba 25
Independent Sample Test
e. 𝑯𝒂 = There is a significant difference
between the performance of male and
female in spelling.
Dr.H.Qotba 26
Dependent Sample Test
Examples.
The following are the weights in pounds of
15 students before and after 6 months of
attending aerobics. Test the null hypothesis
at 0.05 significance level (two-tailed).
Before: 158, 192, 144, 243, 179, 201, 165,
183, 153, 170, 180, 212, 169, 172, 209
Dr.H.Qotba 27
Dependent Sample Test
a. 𝑯𝟎 = There is no significant difference
between the weights of the students
before and after the aerobics program.
𝑯𝒂 = There is a significant difference
between the weights of the students
before and after the aerobics program.
Dr.H.Qotba 28
Dependent Sample Test
d. Mean
Program N SD t-cal df p Decision
Difference
Before
15 4 1.05 3.81 14 0.002 Reject Ho
After
Dr.H.Qotba 29
Dependent Sample Test
e. 𝑯𝒂 = There is a significant difference
between the weights before and after the
aerobics program.
Dr.H.Qotba 30
ANOVA
Dr.H.Qotba 31
Types of ANOVA
Dr.H.Qotba 32
• Two-way ANOVA analyzes one interval
dependent in terms of the categories
(groups) formed by two independents,
one of which may be conceived as a
control variable
• Multivariate or n-way ANOVA. To
generalize, n-way ANOVA deals with n
independents. It should be noted that as
the number of independents increases,
the number of potential interactions
proliferates
Dr.H.Qotba 33
One-Way Anova (f-test)
A sari-sari store is selling 4 brands of
shampoo. The owner is interested if there is
a significant difference in the average sales
of the four brands of shampoo for one week.
The following data are recorded.
Sunsilk Pantene Rejoice Clear
7 9 2 4
3 8 3 5
5 8 4 7
6 7 5 8
9 6 6 3
4 9 4 4
3 10 2 5
Dr.H.Qotba 34
One-Way Anova
Perform the analysis of variance and test the
hypothesis at 0.05 level of significance that
the average sales of the four brands of
shampoo are equal.
Sunsilk Pantene Rejoice Clear
7 9 2 4
3 8 3 5
5 8 4 7
6 7 5 8
9 6 6 3
4 9 4 4
3 10 2 5
Dr.H.Qotba 35
One-Way Anova
Dr.H.Qotba 36
One-Way Anova
a. 𝑯𝟎 = There is no significant difference
among the sales of the four brands of
shampoo.
𝑯𝒂 = There is a significant difference
among the sales of the four brands of
shampoo.
Dr.H.Qotba 38
One-Way Anova
d.
Dr.H.Qotba 39
One-Way Anova
d.
Dr.H.Qotba 40
One-Way Anova
e. 𝑯𝒂 = There is a significant difference
among the sales of the four brands of
shampoo.
Dr.H.Qotba 41