Stat - Hypothesis Testing
Stat - Hypothesis Testing
Example:
A medical researcher claims that the mean body
temperature of healthy adults is not equal to
98.6˚F.
COMPONENTS of a FORMAL
Hypothesis Test
• Null Hypothesis (Ho) -a statement about the
value of a population parameter (such as the
mean μ) and it must contain the condition of
equality (that is, it must be written with a symbol
= , ≤ , or ≥ ).
• Alternative Hypothesis (Haor H1) the statement
that must be true if the null hypothesis is false.
For the mean, the alternative hypothesis will be
stated in only one of three possible forms: H1: μ ≠
some value, H1: μ < some value, or H1: μ > some
value.
Example of Null and Alternative
hypothesis
If you were testing the effectiveness of a new
drug…
Null Hypothesis:
The drug has no effect on patient recovery.
Alternative Hypothesis:
The drug has a positive effect on patient
recovery.
COMPONENTS of a FORMAL Hypothesis Test
• Directionality
Non-directional tests (two-tailed test)
Ha: μ ≠ μo (one sample)
μ1 ≠ μ2 (two sample)
Example keywords: the same, compare, change, difference, etc.
Directional tests (one-tailed test)
Ha: μ> (or <) μo (one sample)
μ1 > (or <) μ2 (two samples)
Example keywords: reduce, improve, delay, raise, higher, below,
lower, more than, greater than, etc.
Determine if two-tailed or
one-tailed...
Thesis Title:
Significant Relationship
of Self-esteem and Class
Engagement of Students
from Cavite City
COMPONENTS of a FORMAL
Hypothesis Test
• Decision and Errors
Type I Error – The mistake of rejecting null
hypothesis when it is true. The probability of
rejecting the null hypothesis when it is true is
called significance level; that is, the
significance level is the probability of a type I
error. The symbol α (alpha) is used to represent
the significance level. Values of alpha commonly
used are 0.05 and 0.01.
COMPONENTS of a FORMAL
Hypothesis Test
Type II Error – The mistake of accepting the null
hypothesis when it is false. The symbol β (beta)
is used to represent the probability of type II
error.
COMPONENTS of a FORMAL Hypothesis Test
• Test Statistics
It is used in making the decision about the
rejection of the null hypothesis.
• Significance level (denoted by α)
Baseline of rejection probability; Probability that
the test statistic will fall in the critical region when the
null hypothesis is actually true. If the test statistic falls
in the critical region, we will reject the null
hypothesis, so α is the probability of making the
mistake of rejecting the null hypothesis when it is true.
COMPONENTS of a FORMAL Hypothesis Test
• Critical region – The set of all values of the test
statistics that would cause us to reject the null
hypothesis.
• Critical values – The value or values that separate
the critical region from the values of the statistics
that would not lead to rejection of the null
hypothesis.
Critical Acceptance
region Critical
region region
COMPONENTS of a FORMAL Hypothesis Test
• P-value (or probability value)
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.
P-value with interpretation
Conclusions in Hypothesis Testing
Five-Step Procedure for Testing a
Hypothesis
CALCULATOR
Population Mean: Known Population Standard Deviation
Example 2. Young millennials, adults aged 18 to 34, are viewed
as the future of the restaurant industry. During 2011, this group
consumed a mean of 192 restaurant meals per person.(NPD
Group website, Nov. 7, 2012). Conduct a hypothesis test to
determine if the poor economy caused a change in the
frequency of consuming restaurant meals by young millennials
in 2012.
a) Formulate the hypothesis
b) Based on a sample, the mean number of restaurant meals
consumed in 2012 is 182. Assume the sample size is 150,
population standard deviation is 55, compute the test
statistic and p-value.
c) At 95% confidence level, write your conclusion.
CALCULATOR
Population Mean: Unknown Population Standard Deviation
CALCULATOR
Inferences about the Difference Between two population
mean: two population standard deviation unknown