Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 30

Chapter 4

Hypothesis Testing
Statistics

Descriptive Inferential
** Hypothesis
** Conclusion
Inferential Statistics
(Hypothesis Testing)

Test
Objective Hypothesis Conclusion
Statistics
Steps in hypothesis testing
1. Formulate the null and alternative hypothesis
2. Choose a significance level, α ( usually 0.05 or 0.01 )
3. Determine the appropriate test statistic(t, z, or chi sq.)
4. Requisite in making Decision/Conclusion:
**Compare the computed value and critical value
or compare p-value and α value
**Decision : (Reject Ho) or (Do not reject Ho)
5. State the conclusion
Hypothesis
⚫ A statement of belief used in the evaluation of
population values.
Hypothesis
Null and Alternative
⚫ Null Hypothesis (Ho)
⚫ A claim that there is no significant difference ___
⚫ A claim that there is no significant relationship __

⚫ Alternative Hypothesis (Ha)


⚫ A claim that there is a significant difference___
⚫ A claim that there is a significant relationship __
Null hypothesis
⚫ The hypothesis that is being subjected to statistical
test
Alternative hypothesis/ Research hypothesis
⚫ A claim that disagrees with the null hypothesis.

⚫ If the null hypothesis is rejected, we are left with no


choice but to fail to reject the alternative hypothesis.
Objective Hypothesis
⚫ (Objective) : To determine if there is a significant
difference in the mean scores of students when they
are classified according to sex.

⚫ Ho : There is no significant difference in the mean


scores of students when they are classified according
to sex.
⚫ Ha : There is a significant difference in the mean
scores of students when they are classified according
to sex.
Objective Hypothesis
⚫ (Objective): To determine if there is a significant
difference in the mean income of respondents when
they are grouped according to their educational
attainment.
⚫ Ho : There is no significant difference in the mean
income of respondents when they are grouped
according to their educational attainment.
⚫ Ha : There is a significant difference in the mean
income of the respondents when they are grouped
according to their educational attainment.
Objective Hypothesis
⚫ Objective: To determine if there is a significant
relationship between the age of students and the
number of sticks of cigarettes they smoked.
⚫ Ho : There is no significant relationship between the
age of students and the number of sticks of cigarettes
they smoked.
⚫ Ha : There is a significant relationship between the age
of students and the number of sticks of cigarettes they
smoked.
Objective Hypothesis
⚫ (Objective) : To determine if there is a significant
difference between the proportion of health care
providers who are smoking and the proportion of
those who are not smoking.
⚫ Ho : There is no significant difference between the
proportion of health care providers who are smoking
and the proportion of those who are not smoking.
⚫ Ha : There is a significant difference between the
proportion of health care providers who are smoking
and the proportion of those who are not smoking.
Developing Null and Alternative Hypotheses
1. We have a medicine that is being manufactured and each pill is
supposed to have 14 milligrams of the active ingredient. What are our
null and alternative hypotheses?

Solution:

H0:μ=14
Ha:μ≠14

Our null hypothesis states that the population has a mean equal to 14
milligrams. Our alternative hypothesis states that the population has a
mean that is different than 14 milligrams. This is two tailed.
Developing Null and Alternative Hypotheses
2. The school principal wants to test if it is true what teachers say --
that high school juniors use the computer an average 3.2 hours a day.
What are our null and alternative hypotheses?

H0:μ=3.2
Ha:μ≠3.2

Our null hypothesis states that the population has a mean equal to 3.2
hours. Our alternative hypothesis states that the population has a
mean that differs from 3.2 hours. This is two tailed.
Developing Null and Alternative Hypotheses
3. eHealthInsurance claims that in 2011, the average monthly premium
paid for individual health coverage was $183. Suppose you are
suspicious that the average, or mean, cost is actually higher. State the
null and alternative hypothesis you would use to test this.

The original claim from eHealthInsurance is that μ=183. Your theory is


that μ>183. Since the original claim has equality in it, we'll put that in
the null hypothesis.

H0:μ=183
Ha:μ>183
Level of significance
⚫ The level of probability at which the null hypothesis
can be rejected.

⚫ The significance level α is also the magnitude of error


that one is willing to accept in making the decision to
reject the null hypothesis.
Research Objectives and Test Statistic

1. To determine if there is a significant difference in the


smoking practices of male and female students.
2. To determine if there is a significant difference in the
smoking practices of students when they are
classified according to grade level.
3. To determine if the smoking practices of students is
associated to the smoking practices of their parents.
4. To determine if there is a significant correlation
between the age of students and the number of
sticks of cigarettes they smoke per day.
Compare/Difference
1. To determine if there is a difference
in the smoking practices of male and 2. To determine if there is a significant
female students. difference in the smoking practices of
students when they are classified
according to grade level.

Independent Dependent Independent Dependent


Variable Variable Variable Variable

Sex Smoking Year level Smoking


Practices Practices

Male, Female number of Gr 10, number of


sticks Gr 11, Gr12 sticks
Qualitative Quantitative Qualitative Quantitative
Nominal/ Interval/ Nominal/ Interval/
Ordinal Ratio Ordinal Ratio
2 groups More than 2-
groups
T-Test, Z-Test ANOVA
(F-test)
Relation/Association
3.To determine if the smoking practices of students 4. To determine if there is a significant
is associated to the smoking practices of their correlation between the age of students and
parents. the number of sticks of cigarettes they smoke
per day.

Independent Dependent Independent Dependent


Variable Variable Variable Variable
Smoking Smoking Age Smoking
Practices of Practices of Practices
Parents Students
Smoker, Smoker, Number of Number of sticks
Non-Smoker Non-Smoker years
Qualitative Qualitative Quantitative Quantitative
Nominal/Ordinal Nominal/Ordinal Interval/Ratio Interval/Ratio

Chi-Square Test “Correlation”


Pearson’s r
Compare/Difference Relation/Association
IV DV IV DV IV DV IV DV
Sex Smoking Year Smoking SP SP Age Smoking
Practices level Practices Parent Students Practice
s s
M,F # of Gr 10, # of Smoke Smoker, # of # of
sticks Gr 11, sticks r Non-S years sticks
Gr12 Non-S
Quali Quanti Quali Quanti Quali Quali Quanti Quanti
N/O I/R N/O I/R N/O N/O I/R I/R
2 More
groups than 2-
groups
T-Test, Z-Test ANOVA Chi-Square Correlation
(F-test) Test
Test Statistic
Finding significant Finding significant
Difference Relationship
Between two proportions Between two variables
___Z- test

Between two Groups Nominal/Ordinal and Nominal/Ordinal


___T-test or Z-test ___Chi square test

Between more than two Interval/Ratio and Interval/Ratio


Groups __Correlation(Pearson’s r)
___ANOVA
Check your progress : Determine the test statistic
1. To determine if there is a significant difference in the
mean scores of students when they are classified
according to sex.
2. To determine if there is a significant difference in the
mean incomes of the respondents when they are grouped
according to their educational attainment(Elem,HS,Col).
3. To determine if the opinion of students in online class is
significantly associated to their sex.
4.To determine if there is a significant relationship between
the age and monthly income of employees.
5. To determine if there is a significant difference between
the proportion of health care providers who are smoking
and the proportion of those who are not smoking.
Making decision by comparing the
computed value and the critical value
Computed Greater Critical Reject Ho
/Test than Value
Statistic **There is a significant
difference/relationship
Value
Computed Less Critical Do not reject Ho
Value than Value
There is no significant
difference/relationship
ILLUSTRATIONS: Critical Value
Approach
⚫ Test Statistic Value vs Critical value
⚫ If the absolute Computed value > the absolute critical
value , then reject Ho
⚫ If the absolute Computed value < the absolute critical
value , then do not reject Ho

reject Ho Do not reject Ho reject Ho

critical value critical value


Example: To determine if there is a significant difference
in the mean scores of students when they are classified
according to sex.
⚫ Ho: There is no significant difference …
⚫ Ha: There is a significant difference…
⚫ Test statistic: t-test
⚫ Critical value = +3.4
⚫ Computed value = 5.78

reject Ho Do not reject Ho reject Ho

-3.4 3.4 5.78

Decision: Reject Ho
Conclusion: (Ha)There is a significant difference…
Making decision by comparing the
p- value and the α- value
P - Value Less than α - Value Reject Ho
**There is a significant
relationship/difference

P - Value Greater than α - Value Do not reject Ho

There is no significant
relationship/difference
ILLUSTRATIONS: p-value approach
If p- value is less than α , then reject Ho

If p-value is greater than α, then do not reject Ho

Reject Ho Do not reject Ho

0.00 α 1.00
Example: To determine if there is a significant relationship
between the age of students and the number of sticks of cigarettes
they smoked.
Ho: There is no significant relationship …
Ha: There is a significant relationship …
Test statistic : Correlation/ Persons’ r
α – value = 0.05
p-value = 0.112

Reject Ho Do not reject Ho

0.00 0.05 0.112 1.00

Decision: Do not reject Ho


Conclusion: (Ho) There is no significant relationship …
Type I and Type II Errors
Ho is true Ho is false

Reject Type I No error

Do not reject No error Type II


( accept)
End of Chapter 4

Thank you!!!

You might also like