

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of hypothesis testing, focusing on the concepts of mean and population distribution. It covers the calculation of sample mean, test statistics, null and alternative hypotheses, p-values, and their interpretation. The document also includes examples and practice problems for testing means from normal distributions and testing proportions from binomial distributions.
Typology: Exams
1 / 2
This page cannot be seen from the preview
Don't miss anything!


STATISTICS 571 TA: Perla Reyes DISCUSSION 5
(a) Population mean μ. is the mean of entire population, usually unknown. We use sample mean ¯x to estimate it. (b) Sample mean. is a certain number. After you get a set of observations –sample–, the number 1 n
∑n i=1 xi^ = ¯x^ is the sample mean. (c) Random variable X¯.: Suppose you decide to get a sample of size n from the population. Before your experiment, you know you will get n random variables from the population, and their average X¯ = 1 n
∑n i=1 Xi^ is still a random variable. When you get different samples,^ X¯^ may change. Any certain sample mean is a realization of the random variable X¯.
(a) Parameter of interest Aspect of the population that it is of interest: μ, p. (b) Formulate the null(H 0 ) and alternative(HA) hypothesis. i. H 0 is the position that we wish to support unless there is strong evidence against it. Standard, known from before, established value. H 0 : μ = μ 0. ii. HA is challenging assertion or new idea, that one wishes to be able to check. Usually two- sided (HA : μ 6 = μ 0 ) is prefered unless there is a strong reason to use one-sided (HA : μ < μ 0 or HA : μ > μ 0 ). (c) Find test statistic and null distribution. The test statistic and the distribution of the test statistic under the null hypothesis depend on: i. The parameter we are testing. ii. The distribution of our population. iii. The information we have about the distribution of our population. The following table resume all the possible options that we have until now. Parameter of Interest
Population Distribution
Information Test statistic Distribution statistic
μ N (μ, σ^2 ) σ^2 known Z = X¯−μ 0 σ/√n Exactly^ N^ (0,^ 1)
μ N (μ, σ^2 ) σ^2 unknown T = X¯−μ 0 S/√n Exactly^ Tn−^1
μ Unknown σ^2 known and n large
X¯−μ 0 σ/√n Approximately N (0, 1)
μ Unknown σ^2 unknown and n large
X¯−μ 0 S/√n Approximately N (0, 1)
p Bi(n, p) np 0 ≥ 5 and nq 0 ≥ 5
P (^) X √i−np^0 np 0 q 0 Approximately N (0, 1)
p Bi(n, p) np 0 < 5 or nq 0 < 5
Xi Exactly Bi(n, p 0 )
(d) Calculate p-value. The p-value is the probability of observing an event as extreme or more extreme than what we observed, if H 0 is true and using HA to determine what kinds of data constitute ”extreme” data. The are the possible options, for two cases. All other cases have a similar construction.
email: [email protected] 1 Office: 248 MSC M2:30-3:30 R3:30-4:
STATISTICS 571 TA: Perla Reyes DISCUSSION 5
Testing μ from a population with Normal distribution and σ^2 known. HA Observed value p-value μ < μ 0 z P {Z < z} μ > μ 0 z P {Z > z} μ 6 = μ 0 z P {Z < −z} + P {z < Z}
Testing p from a population with Binomial distribution and np 0 < 5 or nq 0 < 5. HA 0bserved value p-value p < p 0 y P {Y ≤ y} p > p 0 y P {Y ≥ y} p 6 = p 0 y P {Y ≤ (np 0 − |np 0 − y|)} + P {Y ≥ (np 0 + |np 0 − y|)} (e) Interpretation of p-value and Conclusions i. If we have a defined 100α% significance level A. p-value ≤ α −→ reject H 0 B. p-value > α −→ accept H 0 ii. If we do not have a defined 100 α% significance level. p-value ≥ 0.10 no evidence against H 0 0.05 ≥ p-value < 0.10 weak evidence against H 0 0.01 ≥ p-value < 0.05 moderate evidence against H 0 0.001 ≥ p-value < 0.01 strong evidence against H 0 p-value < 0.001 very strong evidence against H 0
23.9, 26.2, 27.9, 22.2, 24.4, 25.8, 25.6, 28.1, 26.6, 26.0, 24.9, 23.
State symbolically the null and alternative hypothesis. Find the p-value for the test of the claim. Are the results significant at α = 5%? at α = 1%?
email: [email protected] 2 Office: 248 MSC M2:30-3:30 R3:30-4: