Escolar Documentos
Profissional Documentos
Cultura Documentos
c
Chapter Topics
½
½
½
½ !
½"
½
½
#
c
hat is a Hypothesis?
£ hypothesis is an I assume the mean GP£
assumption about the of this class is 3.5!
population parameter.
£ parameter is a
characteristic of the
population, like its
mean or variance.
The parameter must be
identified before
analysis.
c
c
The Null Hypothesis, 0
½ States the £ssumption (numerical) to be tested
e.g. The grade point average of juniors is at
least 3.0 (0: 3.0)
½ egin with the assumption that the null
hypothesis is TRUE.
(Similar to the notion of innocent until proven guilty)
Steps:
State the Null Hypothesis (0: 3.0)
c
Hypothesis Testing Process
Assume the
population
mean age is 50.
(Null Hypothesis) Population
The Sample
Is ß r r ! Mean Is 20
No, not likely!
REJECT
Null Hypothesis Sample
c
Reason for Rejecting 0
20 ù 50 Sample Mean
c
Level of Significance, O
½ mefines Unlikely Values of Sample
Statistic if Null Hypothesis Is True
Called Rejection Region of Sampling
mistribution
½ mesignated O (alpha)
Typical values are 0.01, 0.05, 0.10
½ Selected by the Researcher at the Start
½ Provides the Critical Value(s) of the Test
c
Level of Significance, O and
the Rejection Region
0: 3 O Critical
1: 3 Value(s)
Rejection 0
Regions O
0: 3
1: Ú 3
0
O
0: r 3
1: 3
0
c
Errors in Making mecisions
½ Type I Error
Reject True Null Hypothesis (³False Positive´)
½ Type II Error
mo Not Reject False Null Hypothesis (³False
Negative´)
Probability of Type II Error Is (eta)
c
Result Possibilities
0: Innocent
Jury Trial Hypothesis Test
Actual Situation £ '
@'
Verdict ('
) Decision 0 ' 0 *
%
$ + Type II
Correct Error ,- 1-O
Error ( )
H0
Type I
Error Correct ,- Power
('
) Error
H0 (1 - )
(O )
c
O & Have an
Inverse Relationship
Reduce probability of one error
and the other one goes up.
c
Factors £ffecting
Type II Error,
½ True Value of Population Parameter
Increases hen mifference etween Hypothesized
Parameter & True Value mecreases
½ Significance Level O
Increases hen O mecreases O
½ Population Standard meviation
Increases hen Increases
c
Factors £ffecting
Type II Error,
½ True Value of Population Parameter
Increases hen mifference etween Hypothesized
Parameter & True Value mecreases
½ Significance Level O
Increases hen O mecreases O
½ Population Standard meviation
Increases hen Increases
½ Sample Size p
Increases hen p mecreases
n
c
How to choose between Type I and
Type II errors
½ Choice depends on the cost of the error
½ Choose little type I error when the cost of
rejecting the maintained hypothesis is high
£ criminal trial: convicting an innocent person
The Exxon Valdise: Causing an oil tanker to sink
½ Choose large type I error when you have
an interest in changing the status quo
£ decision in a startup company about a new piece of
software
£ decision about unequal pay for a covered group.
c
Example Hypotheses:
How do you test them?
c
Hiring Policy Hypotheses
c
Hiring Policy Hypotheses
c
Hiring Policy Hypotheses
c
Hiring Policy Hypotheses
c
Hiring Policy Hypotheses
c
Hiring Policy Hypotheses
c
Critical Value of the test statistic
c
O Value Test
c
Hypothesis Testing: Steps
pp
O O
Ô Ô
Must e "p&p Small values don¶t contradict 0
elow = 0 mon¶t Reject 0!
c
t-Test: Unknown
£ssumptions
Population is normally distributed
If not normal, only slightly skewed & a large
sample taken (Central limit theorem applies)
Parametric test procedure
t test statistic, with n-1 degrees of freedom
p
c
megrees of Freedom
½ in sample - number of parameters that must be
estimated before test statistic can be computed.
For a single sample t-test, we must first estimate the
mean before we can estimate
R
the standard deviation.
Once the mean is estimated, n-1 of the values are left
c
Example: One Tail t-Test
c
PH Stat Entries
c
%! () "
ß 3l . 5 3'8
r r r 1 . 80
15
p 3'
c
Proportions
½ Involves categorical variables
½ Fraction or % of population in a category
½ If two categorical outcomes, binomial
distribution
Either possesses or doesn¶t possess the characteristic
½ Sample proportion (O)
p
áááá
á
p á á
c
Z test for proportions
½ The null hypothesis for the proportion also implies we
know the variance, since the variance is just P times (1-
P).
½ This is a good approximation when the sample size is
large.
½ If the sample size is small, we could use the binomial
distribution to compute the exact p value that a sample
of size n would yield a sample proportion O given the
population proportion P. Using the normal
approximation is much easier.
c
Example:Z Test for Proportion
c
Z Test for Proportion:
Solution
= 1.14
Critical Values: á 1.9'
mecision:
,- ,-
Conclusion:
e do not have sufficient
evidence to reject the company¶s
Ô claim of 4% response rate.
c
Chapter Summary
½£ddressed Hypothesis Testing Methodology
½Performed t- Test for the Mean ( unknown)
½ miscussed p-Value £pproach to Hypothesis Testing
½Performed One Tail and Two Tail Tests
½Performed Z Test of Hypothesis for the Proportion
c