Professional Documents
Culture Documents
Introduction
Hypothesis testing is a procedure based on sample data and probability theory to determine whether there is enough statistical evidence in favor of a certain belief about a parameter.
S.1 State null & alternative hypotheses S.2 Select the significance level S.3 Formulate a decision rule S.4 Compute the test statistic S.5 Make a conclusion of the test S.6 Make the related decision
one-tail test (directional test) Three possible statistical h hypotheses th to test a population mean
EXAMPLE 1:
Three possible statistical h hypotheses th to test a population proportion
H0 : H1 : H0 : H1 :
0 > 0 0 < 0
H0 : H1 : H0 : H1 :
0 > 0 0 < 0
For each of the following pairs of null and alternative hypotheses, determine whether the pair would be appropriate for a hypothesis test. If a pair is deemed inappropriate, explain why. a) b) c) d) e) H0 : > 90 ; H1 : 90 H0 : 75 ; H1 : > 85 H0 : x = 58 ; H1 : x 58 H0 : 0.48 ; H1 : > 0.52 H0 : p 0.65 ; H1 : > 0.65
H0 : = 0 H0 : = 0 H1 : 0 H1 : 0
EXAMPLE 2:
For each of the following statements, formulate appropriate null and alternative hypotheses. a) The average college student spends no more than RM500 per semester at the universitys bookstore. bookstore The proportion adult drinks 2 cups of coffee per day is more than 0.62. The average SAT score for entering freshmen is at least 1200. The proportion candidate passing on the qualifying exam differs from 0.33.
b) c)
d)
Critical Value : - it is determined by the type of alternative hypothesis, sampling distribution of the test statistic and level of significance () Rejection Region : The rejection region is a range of values such that if the test statistic falls into that range, the H0 is rejected in favor of the H1.
One-tail Test: (right tail) Decision Rule : Reject Reje t H0 if Z > 2.3263
Level of Significance, =0.10 Sampling distribution of the test statistic Z Decision Rule : Reject H0 if Z < -1.2816
Two-tail Test:
Level of Significance, =0.05 Sampling distribution of the test statistic Z Rejection Region (/2 = 0.025) 1.96 Critical Value: Z/2
Type of Inference Testing the when 2 known Testing the when 2 unknown Testing the
Test Statistic
Z= x n
t=
Z=
x s n
p (1 ) n
Types of Errors
2 types of errors may occur when deciding whether to reject H0 based on the stat. value. a) Type I error (): Reje t H0 when Reject hen it is i true. t e b) Type II error (): Do not reject H0 when it is false. The Type I error can be directly controlled. It is actually the level of significance.
Power of a test (1-): It represents the probability of rejecting the null hypothesis when it is false.
EXAMPLE 3: Following a major earthquake, the city engineer must determine whether the stadium is structurally sound for an upcoming athletic event. If the null hypothesis is the the stadium is structurally sound, and the alternative hypothesis is the stadium is not structurally sound, which type of error (Type I or Type II) would the engineer least like to commit?
Refer to EXAMPLE 4:
The 95% confidence interval estimate of is LCL = 1.3142, UCL = 1.3316 We have 95% confident that the population mean length between 1.3142 l th is i somewhere h b t 1 3142 and d 1.3316 1 3316 inches. Since = 1.325 falls within the interval estimate, we conclude at 5% that the mean length do not differ from 1.325 inches.
The conclusion is the same as that reached at the level of significance
Assuming population is approximately normal distributed, and using the 0.05 level of significance, is the agents suspicion confirmed?