Testing of Hypothesis Stastistics
Testing of Hypothesis Stastistics
Sample
Definition:
A test of a statistical hypothesis is a two action
decision problem after the experimental sample values have
been obtained, the two–actions being the acceptance or
rejection of the hypothesis.
Statistical Hypothesis:
Parametric Hypothesis:
Example: if (
X ~ N , 2 )
then
= 1 , 1 , 1 is a parametric hypothesis
STEPS IN HYPOTHESIS
TESTING
1.FORMULATE THE HYPOTHESES
Ho : µA = µB
Alternative Hypothesis: H1
❖ The alternative hypothesis (denoted by H1 or Ha
or HA) is the statement that the parameter has a
value that somehow differs from the Null
Hypothesis.
Then
H1 : µ < µ0 or H1 : µ > µ0
H1 : µ ≠ µ0
95 % of area
Acceptance and
0.025 of area 0.025 of area
rejection regions
in case of a two- µH 0
H0: =
H1: >
Points Right
Left-tailed Test
H0: =
H1: <
Points Left
4. Compute the Test Statistics
P-Value
The P-value (or p-value or probability value)
is the probability of getting a value of the test
statistic that is at least as extreme as the one
representing the sample data, assuming that
the null hypothesis is true. The null
hypothesis is rejected if the P-value is very
small, such as 0.05 or less.
Two-tailed Test
If the alternative hypothesis contains the not-equal-to symbol
(), the hypothesis test is a two-tailed test. In a two-tailed
1
test, each tail has an area of P.
2
H0: μ = k
Ha: μ k
P is twice the
P is twice the area to the right
area to the left of of the positive
the negative test test statistic.
statistic.
-3 -2 -1 0 1 2 3
Test Test
statistic statistic
Right-tailed Test
H0: μ = k
P is the area to
Ha: μ > k the right of the test
statistic.
-3 -2 -1 0 1 2 3
Test
statistic
Left-tailed Test
H0: μ = k
Ha: μ < k
P is the area to
the left of the test
statistic.
-3 -2 -1 0 1 2 3
Test
statistic
5. Making a Decision
Traditional method
Actual Truth of H0
Decision
H0 is true H0 is false
The one –sample z-Test and t- Test
The one-sample z-test and t- test is the appropriate
parametric test to use when the researcher wants to
compare a sample mean with the population mean.
The z- test is used when the sample size is large ( n ≥ 30) .
The t- test is used when the sample size is small ( n < 30).
Where:
X̄ =87.67
μ =87
σ =1.31
n =78
2. σ = .05
Question:
Is there a significant difference between the pretest mean
score and the posttest mean score of the experimental
group? Test at .05 level.
1. Ho: There is no significant difference between the pretest
and posttest mean scores of the experimental group?
2.Ha: There is a significant difference between the pretest
and posttest mean scores of the experimental group?
3. σ = .05
4. Test statistic t – test dependent samples
The t-test for dependent samples is appropriate for
pretest-posttest designs. It is used to determine if a
significant difference exists between the pretest and
posttest means of the experimental group.
5. Computations
a. Find the differences between the pretest and posttest
scores of each student and find their algebraic sum.
b. Square each differences and find the sum
Dependent or Paired Samples Test Result
(Using SPSS statistical package software)
Note: that t-value in the table is the same as the computed t above.
6.Decision:
From t- distribution table, t .05,8 = 2.306 ( two –tailed), so our decision
rule is
DR: Reject Ho if tcomputed > 2.306, otherwise Accept Ho.
(Disregard the sign when interpreting the computed t)
Since the computed t- value of 5.625 exceeded the table value of t. 05 for 8
degrees of freedom, Ho is rejected.(There is evidence to support the
rejection of Ho) or since the p-value (sig) of .000* is less than .05, the Ho is
rejected.
* A p-value of .000 is not equal to 0.It means that it is very, very small.
6.Conclusion:
Since Ho is rejected, there is a significant
difference between the pretest and posttest
mean scores of the experimental group.
Since the posttest mean is higher than the
pretest mean score, it implies that the
performance of the group improved. It
means further, that the new method of
teaching was effective.
Introduction
Symbols
Formula
Formula
Formula
X^2 Test for a
Variance or
Standard
Deviation
# X^2 Test for a Variance or
Standard Deviation
In mathematics, “X squared” (x^2) refers to a number, or variable, being
multiplied by itself. If 'x' represents 3, then x^2 is 3 * 3, or 9. Multiplication of
numbers is a fundamental arithmetic operation, but squaring expands this
concept by repeating multiplication with the same number.
Reference:https://brighterly.com/math/x-
squared/#:~:text=In%20mathematics%2C%20%E2%80%9CX%20squared%E2%80%9D,multiplication%20with%20the%20same%20number.
References:
https://www.youtube.com/watch?v=BSUxujOJWok&ab_channel=AngieTeaches
# X^2 Test for a Variance or
Standard Deviation
What is a Chi-square test?
A Chi-square test is a hypothesis testing
method. Two common Chi-square tests
involve checking if observed frequencies in
one or more categories match expected
frequencies.
Is a Chi-square test the same as a χ² test?
Yes, χ is the Greek symbol Chi.
Reference; https://www.jmp.com/en_ph/statistics-knowledge-portal/chi-
square-test.html
# X^2 Test for a Variance or
Standard Deviation
References:
https://www.yo
utube.com/wat
ch?v=BSUxujOJ
Wok&ab_chann
el=AngieTeache
s
# X^2 Test for a Variance or
Standard Deviation
References:
https://www.yo
utube.com/wat
ch?v=BSUxujOJ
Wok&ab_channe
l=AngieTeaches
# X^2 Test for a Variance or
Standard Deviation
Independence
The Chi-Square Test of Independence is a derivable ( also known as
inferential ) statistical test which examines whether the two sets of
variables are likely to be related with each other or not. This test is used
when we have counts of values for two nominal or categorical variables and is
considered as non-parametric test. A relatively large sample size and
independence of observations are the required criteria for conducting this
test.
For Example-
In a movie theatre, suppose we made a list of movie genres. Let us consider
this as the first variable. The second variable is whether or not the people
who came to watch those genres of movies have bought snacks at the
theatre. Here the null hypothesis is that the genre of the film and whether
people bought snacks or not are unrelatable. If this is true, the movie genres
don’t impact snack sales.
References: https://www.simplilearn.com/tutorials/statistics-tutorial/chi-square-test
# X^2 Test for a Variance or
Standard Deviation
The Chi-Square Test of Independence
Reference
:https://www.youtube.com/wa
tch?v=NDhmMH25AC4&t=322s&
ab_channel=StevenBradburn
# X^2 Test for a Variance or
Standard Deviation
The Chi-Square Test of Independence
Reference
:https://www.youtube.com/wa
tch?v=NDhmMH25AC4&t=322s&
ab_channel=StevenBradburn
# X^2 Test for a Variance or
Standard Deviation
The Chi-Square Test of Independence
Reference
:https://www.youtube.com/wa
tch?v=NDhmMH25AC4&t=322s&
ab_channel=StevenBradburn
# X^2 Test for a Variance or
Standard Deviation
The Chi-Square Test of Independence
Reference
:https://www.youtube.com/wa
tch?v=NDhmMH25AC4&t=322s&
ab_channel=StevenBradburn
# X^2 Test for a Variance or
Standard Deviation
The Chi-Square Test of Independence
Reference
:https://www.youtube.com/wa
tch?v=NDhmMH25AC4&t=322s&
ab_channel=StevenBradburn
# X^2 Test for a Variance or
Standard Deviation
Who Uses Chi-Square Analysis?
Chi-square is most commonly used by researchers who are studying
survey response data because it applies to categorical variables.
Demography, consumer and marketing research, political science, and
economics are all examples of this type of research.
References: https://www.simplilearn.com/tutorials/statistics-tutorial/chi-square-test
Referrence:
https://www.yout
# X^2 Test for a Variance or ube.com/watch?v
=v88myC_Ji5M&t=
Standard Deviation 135s&ab_channel
=WhatsUpDude
# X^2 Test for a Variance or
Standard Deviation
# X^2 Test for a Variance or
Standard Deviation
# X^2 Test for a Variance or
Standard Deviation
# X^2 Test for a Variance or
Standard Deviation
# X^2 Test for a Variance or
Standard Deviation
# X^2 Test for a Variance or
Standard Deviation
# X^2 Test for a Variance or
Standard Deviation
# X^2 Test for a Variance or
Standard Deviation