Professional Documents
Culture Documents
GRMD2102 - Homework 3 - With - Answer
GRMD2102 - Homework 3 - With - Answer
GRMD2102 - Homework 3 - With - Answer
Term 1, 2022-23
Homework 3: Point and Interval Estimation, Hypothesis testing
1. Give a geographical example to illustrate the relationship between the level of significance
α and type I error in a hypothesis testing.
Type I error is the null hypothesis (𝐻0 ) is true but it is rejected. For example, we want to
test a claim that the mean value of PM2.5 concentrations in Hong Kong is 30 𝜇𝑔/𝑚3. We
collect samples and calculate the sample mean. Now, let us set the significance level as
0.01, then there has a 1% risk to reject the null hypothesis that the mean value of PM2.5 in
Hong Kong is 30 𝜇𝑔/𝑚3. If we set the significance level as 0.05, there has a 5% risk to
reject the 𝐻0 . A smaller significance level 𝛼 decreases the risk of Type I error.
3. The quality control manager at a light bulb factory needs to estimate the mean life of a large
shipment of light bulbs. The standard deviation is 100 hours. A random sample of 64 light
bulbs indicated a sample mean life of 350 hours.
1
a. Construct a 90 % confidence interval estimate of the population mean life of light
bulbs in this shipment. (329.439, 370.561) hours
b. Construct a 99% confidence interval estimate of the population mean life of light
bulbs in this shipment. (317.802, 382.198) hours
c. Suppose that the standard deviation changes to 80 hours. What are your answers in
(a) and (b)?
90% confidence: (333.551, 366.449) hours
99% confidence: (324.242, 375.758) hours
4. A random sample of 7 people were interviewed about their weekly reading hours from a
normal population with mean µ and variance 2. The sample data (weekly hours) are given
below:
9.1; 14; 14.5; 12.2; 11; 12; 9.8
2
score). The difference in two distributions leads to the differences in confidence interval.
5. There is one sample of 100 students. The gender ratio of the sample is not known. It is
found that 40 male students in one sample are obtained.
a. Let p be the probability that a male person has been obtained in one sample. Find an
approximate 99% confidence interval for p.
This question is about the confidence interval of proportion.
To check for normality: a random sample and 𝑛𝜋 > 5 and 𝑛(1 − 𝜋) > 5.
𝑋 40
From 𝑛 = 100 and 𝑋 = 40, we have 𝑝 = 𝑛 = 100 = 0.400.
From 1 − 𝛼 = 0.99, we know that 𝑍𝛼/2 = −2.58,
𝑝(1 − 𝑝)
𝑝 ± 𝑍𝛼/2 √ = 0.400 ± 2.58√0.400 ∗ 0.600 /100 = 0.400 ± 0.126
𝑛
The 99% confidence interval for p is between 0.274 and 0.526.
b. Find an approximate 95% confidence interval for the number of the male persons
obtained in one sample.
From 1 − 𝛼 = 0.95, we know that 𝑍𝛼/2 = −1.96,
𝑝(1 − 𝑝)
𝑝 ± 𝑍𝛼/2 √ = 0.400 ± 1.96√0.400 ∗ 0.600 /100 = 0.400 ± 0.096
𝑛
The 99% confidence interval for p is between 0.304 and 0.496.
𝑁𝑢𝑝𝑝𝑒𝑟 = 100 × 0.496 = 49.6 < 50
𝑁𝑙𝑜𝑤𝑒𝑟 = 100 × 0.304 = 30.4 > 30
The approximate 95% confidence interval for the number of the male persons obtained is
between 30 and 50 persons.
3
c. Compare the results in (a) and (b) and provide the interpretation on the required
sample size.
The required sample size in (a) is higher than (b).
As the confidence level increases, a larger sample size is required.
7. You work for a clothing company and are interested in the average height of men aged 18-
30 in China. You sample 64 men in that age group and find the average height to be 70
inches. The standard deviation is known from past studies to be 3 inches. Is there evidence
at the 1% significance level that the average height of men 18-30 is above 69 inches? What
is the p-value?
Implication: at 1% significance level, there is evidence that the average height of men at 18-30
is above 69 inches.
p-value=P(Z>2.678)=0.0038
8. CUHK conducted a survey which asked students if they have plan to take statistics course;
552 had the plan, and 532 did not have the plan.
a. At the 0.05 level of significance, use the hypothesis-testing approach to prove that
the percentage of people who want to study abroad is not more than 50%.
Calculate the p-value and interpret its meaning.
4
Step 2: Select the level of significance.
𝛼 = 0.05 as stated in the problem.
Step 3: Select the test statistic.
Use the standard normal distribution since the assumptions are met and both
𝑛𝜋 > 5 and 𝑛(1 − 𝑝) > 5.
Interpretation: At the 0.05 level of significance, the percentage of people who want to study
abroad is not more than 50%.
Since p-value = 0.277 > 0.05, we do not reject 𝐻0 at the significant level of 0.05.
As p-value = 0.277, we can reject 𝐻0 at the significance level of 0.278 or above.