Skip to main content

Module 3 Sample Questions: Estimation & Hypothesis Testing

This document provides rigorous, textbook-style solutions for the Module 3 examination questions and real-world scenario problems. All formulas are rendered in LaTeX, accompanied by step-by-step mathematical derivations, visual normal distribution graphs, decision flowcharts, and formal academic inferences.


Question 1: Concept of Point Estimation (Average Income)​

Question Details​

What would be the average income of a 27-year-old in London? How would you calculate it?


Step-by-Step Solution​

1. Theoretical Formulation​

Let the random variable XX represent the annual income of a 27-year-old individual residing in London. The true arithmetic mean income across all such individuals in the target population is denoted by the population parameter μ\mu:

μ=1N∑i=1NXi\mu = \frac{1}{N} \sum_{i=1}^N X_i

where NN is the total population size of 27-year-olds in London.

2. The Operational Reality (Need for Sampling)​

  • The Trivial Approach: Conduct a complete census by querying every single 27-year-old in London and computing μ\mu.
  • Practical Infeasibility: A full census is cost-prohibitive, operationally difficult, time-consuming, and subject to non-response bias.
  • The Inferential Solution: Draw a representative Simple Random Sample (SRS) of size nn from the population.

3. Mathematical Point Estimator​

The sample mean (xˉ\bar{x}) serves as the best point estimator for the population mean μ\mu:

μ^=xˉ=1n∑i=1nxi\hat{\mu} = \bar{x} = \frac{1}{n} \sum_{i=1}^n x_i

  • Unbiasedness Property: The sample mean is an unbiased estimator of μ\mu because its expected value equals the parameter: E[xˉ]=μ\mathbb{E}[\bar{x}] = \mu
  • Consistency Property: By the Weak Law of Large Numbers, as sample size n→∞n \to \infty, the sample mean converges in probability to μ\mu: lim⁡n→∞P(∣xˉ−μ∣<ϵ)=1∀ϵ>0\lim_{n \to \infty} P(|\bar{x} - \mu| < \epsilon) = 1 \quad \forall \epsilon > 0

Academic Inference: Because obtaining the exact population parameter μ\mu via census is practically unviable, we draw an unbiased random sample of size nn, calculate the sample mean xˉ\bar{x}, and report xˉ\bar{x} as the point estimate for the true average income of a 27-year-old in London.


Question 2: Point Estimate of Count via Sample Proportion​

Question Details​

A financial firm has created 50 portfolios. From them a sample of 13 portfolios was selected, out of which 8 were found to be underperforming. Estimate the number of underperforming portfolios.


Step-by-Step Derivation​

1. Given Parameters​

  • Total population size of portfolios: N=50N = 50
  • Sample size audited: n=13n = 13
  • Number of underperforming portfolios in the sample: x=8x = 8

2. Calculation of Sample Proportion (p^\hat{p})​

The sample proportion of underperforming portfolios p^\hat{p} is computed as:

p^=xn=813≈0.615385(61.54%)\hat{p} = \frac{x}{n} = \frac{8}{13} \approx 0.615385 \quad (61.54\%)

3. Estimation of Total Underperforming Portfolios (N^under\hat{N}_{\text{under}})​

To estimate the total number of underperforming portfolios in the entire population of N=50N = 50, we scale the point estimate p^\hat{p} by the population size NN:

N^under=p^×N=813×50=40013≈30.7692\hat{N}_{\text{under}} = \hat{p} \times N = \frac{8}{13} \times 50 = \frac{400}{13} \approx 30.7692

Since the count of portfolios must be a discrete non-negative integer, we round to the nearest whole unit:

N^under≈31 portfolios\hat{N}_{\text{under}} \approx \mathbf{31 \text{ portfolios}}

Academic Inference: Based on the observed sample failure rate of approximately 61.54%61.54\%, the point estimate for the total number of underperforming portfolios across the firm's 50 investment portfolios is 31 portfolios.


Question 3: Margin of Error Calculation for Population Mean​

Question Details​

100 bags of coal were tested and had an average of 35% of ash with a standard deviation of 15%. Calculate the margin of error for a 90% confidence level.


Step-by-Step Derivation​

1. Given Parameters​

  • Sample size: n=100n = 100
  • Sample mean ash content: xˉ=35%=0.35\bar{x} = 35\% = 0.35
  • Standard deviation: σ=15%=0.15\sigma = 15\% = 0.15
  • Confidence level: 1−α=0.90  ⟹  Significance level α=0.101 - \alpha = 0.90 \implies \text{Significance level } \alpha = 0.10

2. Determination of Critical Value (zα/2z_{\alpha/2})​

For a two-sided confidence interval at α=0.10\alpha = 0.10, the tail probability in each half is α/2=0.05\alpha / 2 = 0.05:

zα/2=z0.05=1.645z_{\alpha/2} = z_{0.05} = 1.645

3. Standard Error of the Mean (SE)​

SE=σn=0.15100=0.1510=0.015(1.5%)\text{SE} = \frac{\sigma}{\sqrt{n}} = \frac{0.15}{\sqrt{100}} = \frac{0.15}{10} = 0.015 \quad (1.5\%)

4. Computation of Margin of Error (EE)​

The margin of error EE is defined as the maximum expected distance between the sample estimate and the true population mean:

E=zα/2×σnE = z_{\alpha/2} \times \frac{\sigma}{\sqrt{n}} E=1.645×0.015=0.024675≈0.0247(or 2.47%)E = 1.645 \times 0.015 = 0.024675 \approx \mathbf{0.0247} \quad (\text{or } \mathbf{2.47\%})

(Note: If using z=1.64z = 1.64, E=1.64×0.015=0.0246E = 1.64 \times 0.015 = \mathbf{0.0246} or 2.46%\mathbf{2.46\%}).

Academic Inference: At a 90% level of confidence, the margin of error is 2.47% (or 0.0247). This indicates that the true population mean ash content is expected to lie within ±2.47\pm 2.47 percentage points of the sample estimate across 90% of repeated random samples.


Question 4: Sample Size Verification from Fixed Margin of Error​

Question Details​

For the previous question, for a margin of error 2.46%. Verify whether you get a sample size of 100.


Step-by-Step Derivation​

1. Mathematical Formula for Sample Size​

Starting from the margin of error equation:

E=zα/2σnE = z_{\alpha/2} \frac{\sigma}{\sqrt{n}}

Multiplying both sides by n\sqrt{n} and dividing by EE:

n=zα/2⋅σE\sqrt{n} = \frac{z_{\alpha/2} \cdot \sigma}{E}

Squaring both sides yields the sample size determination formula:

n=zα/22(σ2E2)=(zα/2⋅σE)2n = z_{\alpha/2}^2 \left( \frac{\sigma^2}{E^2} \right) = \left( \frac{z_{\alpha/2} \cdot \sigma}{E} \right)^2

2. Verification Calculation​

  • Given margin of error: E=2.46%=0.0246E = 2.46\% = 0.0246
  • Standard deviation: σ=15%=0.15\sigma = 15\% = 0.15
  • Critical value for 90% confidence (α=0.10\alpha = 0.10): zα/2=1.64z_{\alpha/2} = 1.64 (or 1.6451.645)

Using z=1.64z = 1.64:

n=(1.64×0.150.0246)2=(0.2460.0246)2=(10)2=100n = \left( \frac{1.64 \times 0.15}{0.0246} \right)^2 = \left( \frac{0.246}{0.0246} \right)^2 = (10)^2 = \mathbf{100}

Using standard three-decimal precision z=1.645z = 1.645 and exact rounding:

n=(1.645×0.150.024675)2=(10)2=100n = \left( \frac{1.645 \times 0.15}{0.024675} \right)^2 = (10)^2 = \mathbf{100}

Academic Inference: The algebraic verification confirms that a desired margin of error of 2.46% under a 90% confidence level and σ=15%\sigma = 15\% requires an exact sample size of n=100n = 100 bags.


Question 5: Confidence Interval for Population Mean (London Incomes)​

Question Details​

From a sample of 250 observations it is found that average income of a 27-year-old Londoner is £45,000 with a population standard deviation of £4000. Obtain the 95% confidence interval to estimate the average income. Furthermore, compare the width of 90%, 95%, and 99% confidence intervals.


Step-by-Step Derivation​

1. Given Data​

  • Sample size: n=250n = 250
  • Sample mean income: xˉ=£45,000\bar{x} = £45,000
  • Population standard deviation: σ=£4,000\sigma = £4,000
  • Confidence level: 1−α=0.95  ⟹  α=0.051 - \alpha = 0.95 \implies \alpha = 0.05

2. Critical Value Determination​

For a two-tailed 95% confidence interval:

α2=0.025  ⟹  zα/2=z0.025=1.96\frac{\alpha}{2} = 0.025 \implies z_{\alpha/2} = z_{0.025} = 1.96

3. Standard Error Calculation​

SE=σn=4000250=400015.811388≈252.9822 GBP\text{SE} = \frac{\sigma}{\sqrt{n}} = \frac{4000}{\sqrt{250}} = \frac{4000}{15.811388} \approx 252.9822 \text{ GBP}

4. Margin of Error (EE)​

E=zα/2×SE=1.96×252.9822≈£495.845E = z_{\alpha/2} \times \text{SE} = 1.96 \times 252.9822 \approx £495.845

5. Confidence Interval Boundaries​

CI95%=xˉ±E=45000±495.845\text{CI}_{95\%} = \bar{x} \pm E = 45000 \pm 495.845

  • Lower Limit (LL): 45000−495.845=£44,504.15545000 - 495.845 = \mathbf{£44,504.155}
  • Upper Limit (UU): 45000+495.845=£45,495.84545000 + 495.845 = \mathbf{£45,495.845}

CI95%=[£44504.16,  £45495.85]\text{CI}_{95\%} = [£44504.16, \; £45495.85]

6. Visualizing Confidence Level vs. Interval Width​

x̄ = £45,00090% CI [£44,584 - £45,416] (Width: £832)95% CI [£44,504 - £45,496] (Width: £992)99% CI [£44,349 - £45,651] (Width: £1,303 - Widest)

Academic Inference & Interpretation Trap:

  • Width vs. Certainty: As confidence increases from 90% to 99%, the critical value grows (1.645→2.5751.645 \to 2.575), creating a progressively wider interval. Higher certainty requires casting a broader net.
  • Interpretation Trap: It is mathematically incorrect to state that P(44504.16≤μ≤45495.85)=0.95P(44504.16 \le \mu \le 45495.85) = 0.95. The population mean μ\mu is an invariant constant, not a random variable. The 95% confidence reflects the long-run coverage rate of the statistical procedure.

Question 6: Confidence Interval for Population Proportion​

Question Details​

A financial firm has created 50 portfolios. From them a sample of 13 portfolios was selected, out of which 8 were found to be underperforming. Construct a 99% confidence interval to estimate the population proportion.


Step-by-Step Derivation​

1. Given Data​

  • Sample size: n=13n = 13
  • Number of underperforming units: x=8x = 8
  • Sample proportion: p^=xn=813≈0.615385\hat{p} = \frac{x}{n} = \frac{8}{13} \approx 0.615385
  • Confidence level: 1−α=0.99  ⟹  α=0.011 - \alpha = 0.99 \implies \alpha = 0.01

2. Critical Value Determination​

For a two-tailed 99% confidence interval:

α2=0.005  ⟹  zα/2=z0.005=2.575(or 2.576)\frac{\alpha}{2} = 0.005 \implies z_{\alpha/2} = z_{0.005} = 2.575 \quad (\text{or } 2.576)

3. Standard Error of Proportion (SEp\text{SE}_p)​

SEp=p^(1−p^)n=0.615385×(1−0.615385)13=0.615385×0.38461513\text{SE}_p = \sqrt{\frac{\hat{p}(1 - \hat{p})}{n}} = \sqrt{\frac{0.615385 \times (1 - 0.615385)}{13}} = \sqrt{\frac{0.615385 \times 0.384615}{13}} SEp=0.23668613=0.0182066≈0.134932\text{SE}_p = \sqrt{\frac{0.236686}{13}} = \sqrt{0.0182066} \approx 0.134932

4. Margin of Error (EE)​

E=zα/2×SEp=2.575×0.134932≈0.34745E = z_{\alpha/2} \times \text{SE}_p = 2.575 \times 0.134932 \approx 0.34745

5. Confidence Interval Boundaries​

CI99%=p^±E=0.615385±0.34745\text{CI}_{99\%} = \hat{p} \pm E = 0.615385 \pm 0.34745

  • Lower Limit: 0.615385−0.34745=0.2679(26.79%)0.615385 - 0.34745 = \mathbf{0.2679} \quad (26.79\%)
  • Upper Limit: 0.615385+0.34745=0.9628(96.28%)0.615385 + 0.34745 = \mathbf{0.9628} \quad (96.28\%)

CI99%=[0.2679,  0.9628]\text{CI}_{99\%} = [0.2679, \; 0.9628]

Academic Inference: We are 99% confident that the true population proportion of underperforming portfolios across the firm lies between 26.79% and 96.28%. The wide span of this interval reflects the high uncertainty resulting from a very small sample size (n=13n = 13).


Question 7: Destructive Testing & The Rationale for Hypothesis Testing​

Question Details​

A manufacturer produces batteries. He claims that the life of his batteries is 25,500 hours. Can we verify his claim?


Step-by-Step Solution​

1. The Trivial Verification Approach​

The naive way to verify this claim is to measure the operating lifespan of every single battery produced by running each unit until its energy is completely depleted.

2. The Operational Dilemma: Destructive Testing​

Lifespan testing is inherently destructive testing. Running a battery to exhaustion consumes the product entirely.

3. The Statistical Alternative: Hypothesis Testing​

To overcome this dilemma, we execute Statistical Hypothesis Testing:

  1. Formulate Statistical Claims:
    • Null Hypothesis (H0H_0): μ=25,500 hours\mu = 25,500 \text{ hours} (Manufacturer claim is true)
    • Alternative Hypothesis (H1H_1): μ<25,500 hours\mu < 25,500 \text{ hours} (Watchdog claim that batteries underperform)
  2. Representative Sampling: Extract a small, random sample of nn batteries (e.g., n=50n = 50).
  3. Controlled Depletion: Test only the sample units to failure to compute the sample mean xˉ\bar{x} and sample standard deviation ss.
  4. Inferential Decision: Evaluate the ZZ-statistic or tt-statistic. If the empirical evidence deviates significantly from 25,50025,500 hours beyond random sampling chance, we reject H0H_0; otherwise, we fail to reject H0H_0.

Academic Inference: We cannot verify the claim deterministically across the entire population because testing is destructive. Instead, we statistically test the manufacturer's claim using a representative sample, balancing statistical rigor with inventory preservation.


Question 8: Formulation of Null and Alternative Hypotheses​

Question Details​

Write the null and alternative hypotheses for the following scenarios and classify the test type (number of tails):

  1. A bolt manufacturing company claims that the average number of bolts manufactured in a day is 60.
  2. The new virus testing kit takes less time than the standard testing kit that takes 34 hours for the results.
  3. An analyst wants to test whether Apple Inc. stock has outperformed in 2019 by 13.5%.

Step-by-Step Formulations​

Scenario 1: Bolt Manufacturing​

  • Target Metric: Let XX denote the number of bolts manufactured daily, and μ\mu denote the true mean daily production.
  • Manufacturer Claim: Daily production equals 60.
  • Hypotheses: H0:μ=60versusH1:μ≠60H_0: \mu = 60 \quad \text{versus} \quad H_1: \mu \neq 60
  • Classification: Two-Tailed Test. A defect or deviation occurs if the machinery under-produces (μ<60\mu < 60) or over-produces (μ>60\mu > 60). The rejection region is split equally into both tails (α/2\alpha / 2).

Scenario 2: Virus Testing Kit Processing Time​

  • Target Metric: Let XX denote the time (in hours) required to obtain diagnostic results, and μ\mu denote the true mean result latency.
  • Research Claim: The new kit reduces processing time below the standard 34 hours (μ<34\mu < 34).
  • Hypotheses: H0:μ≥34versusH1:μ<34H_0: \mu \ge 34 \quad \text{versus} \quad H_1: \mu < 34
  • Classification: Left-Tailed Test (One-Tailed). The alternative claim specifically focuses on reduction/improvement. The entire rejection region α\alpha is concentrated in the lower (left) tail.

Scenario 3: Apple Inc. Stock Outperformance​

  • Target Metric: Let XX denote the percentage return/performance of Apple Inc. stock in 2019, and μ\mu denote the true average performance.
  • Analyst Claim: The stock outperformed the baseline target of 13.5% (μ>13.5%\mu > 13.5\%).
  • Hypotheses: H0:μ≤13.5versusH1:μ>13.5H_0: \mu \le 13.5 \quad \text{versus} \quad H_1: \mu > 13.5
  • Classification: Right-Tailed Test (One-Tailed). The claim tests strictly for an increase or outperformance above the benchmark. The rejection region α\alpha is placed entirely in the upper (right) tail.

Question 9: Practice Identification of Test Directionality​

Question Details​

For each scenario, define the parameter μ\mu, state H0H_0 and H1H_1, and identify whether the test is two-tailed, left-tailed, or right-tailed:

  1. Mean diastolic blood pressure for a group of 85 adults is less than 90 mm.
  2. The tensile strength of an alloy is more than 500 Pa.
  3. The average heart rate of a healthy human is 85 beats per minute.
  4. The yield of BT cotton is more than 450 kg lint per hectare.

Classification Matrix​

Objective / StatementParameter Definition (μ\mu)Null Hypothesis (H0H_0)Alternative Hypothesis (H1H_1)Test ClassificationCritical Region
1. Diastolic Blood PressureMean adult diastolic blood pressure (mm Hg)μ≥90\mu \ge 90μ<90\mu < 90Left-TailedLower tail (Z<−zαZ < -z_\alpha)
2. Alloy Tensile StrengthMean breaking tensile strength (Pa)μ≤500\mu \le 500μ>500\mu > 500Right-TailedUpper tail (Z>zαZ > z_\alpha)
3. Healthy Human Heart RateMean healthy resting heart rate (bpm)μ=85\mu = 85μ≠85\mu \neq 85Two-TailedBoth tails (∣Z∣>zα/2\lvert Z \rvert > z_{\alpha/2})
4. BT Cotton Crop YieldMean cotton yield (kg lint/hectare)μ≤450\mu \le 450μ>450\mu > 450Right-TailedUpper tail (Z>zαZ > z_\alpha)

Question 10: Two-Tailed Large Sample Z-Test (Car Mileage)​

Question Details​

A car manufacturing company claims that the mileage of their new car is 25 kmph with a standard deviation of 2.5 kmph. A random sample of 45 cars was drawn and recorded their mileage as per the standard procedure. From the sample, the mean mileage was seen to be 24 kmph. Is this evidence to claim that the mean mileage is different from 25 kmph? (Assume normality of data). Test the claim using:

  1. Critical region technique
  2. p-value technique
  3. Confidence interval technique (Use α=0.01\alpha = 0.01).

Step-by-Step Solution​

1. Hypothesis Formulation​

  • H0:μ=25 kmphH_0: \mu = 25 \text{ kmph} (Mean mileage is equal to 25 kmph)
  • H1:μ≠25 kmphH_1: \mu \neq 25 \text{ kmph} (Mean mileage is significantly different from 25 kmph)
  • Test type: Two-Tailed Test, α=0.01\alpha = 0.01.

2. Given Sample Data & Standard Error​

  • μ0=25\mu_0 = 25, σ=2.5\sigma = 2.5, n=45n = 45, xˉ=24\bar{x} = 24.
  • Since n=45≥30n = 45 \ge 30, the Central Limit Theorem validates the Z-test.

SE=σn=2.545=2.56.7082≈0.372678\text{SE} = \frac{\sigma}{\sqrt{n}} = \frac{2.5}{\sqrt{45}} = \frac{2.5}{6.7082} \approx 0.372678

3. Calculation of Test Statistic (ZcalcZ_{\text{calc}})​

Zcalc=xˉ−μ0σ/n=24−250.372678=−1.00.372678≈−2.683Z_{\text{calc}} = \frac{\bar{x} - \mu_0}{\sigma / \sqrt{n}} = \frac{24 - 25}{0.372678} = \frac{-1.0}{0.372678} \approx \mathbf{-2.683}

4. Distribution & Rejection Graph​

Z_calc = -2.68Acceptance Region (1 - α = 99%)-z_α/2 = -2.575+z_α/2 = +2.575μ = 0 (Mileage = 25)α/2 = 0.005α/2 = 0.005

Three Decision Methods Evaluation​


  • Critical Cutoff Value: For α=0.01\alpha = 0.01 (two-tailed), zα/2=z0.005=2.575z_{\alpha/2} = z_{0.005} = 2.575.
  • Decision Rule: Reject H0H_0 if ∣Zcalc∣>zα/2|Z_{\text{calc}}| > z_{\alpha/2}.
  • Comparison: ∣Zcalc∣=∣−2.683∣=2.683>2.575|Z_{\text{calc}}| = |-2.683| = 2.683 > 2.575
  • Decision: Reject H0H_0. The test statistic falls in the lower rejection tail.

Academic Inference: All three evaluation criteria converge to the identical conclusion: Reject H0H_0 at the 1% significance level. There is strong empirical evidence that the true average mileage of the new car differs from 25 kmph (specifically, it is statistically significantly lower at 24 kmph).


Question 11: One-Sample Left-Tailed Z-Test (PVC Pipe Thickness)​

Question Details​

A sample of 900 PVC pipes is found to have an average thickness of 12.5 mm. Can we assume that the sample is coming from a normal population with mean 13 mm against that it is less than 13 mm? The population standard deviation is 1 mm. Test the hypothesis using the p-value method at 5% level of significance.


Step-by-Step Derivation​

1. Hypothesis Formulation​

  • H0:μ≥13 mmH_0: \mu \ge 13 \text{ mm} (Mean thickness is at least 13 mm)
  • H1:μ<13 mmH_1: \mu < 13 \text{ mm} (Mean thickness is strictly less than 13 mm)
  • Test type: Left-Tailed Test, α=0.05\alpha = 0.05.

2. Given Data​

  • Hypothesized mean: μ0=13 mm\mu_0 = 13 \text{ mm}
  • Population standard deviation: σ=1 mm\sigma = 1 \text{ mm}
  • Sample size: n=900n = 900
  • Sample mean: xˉ=12.5 mm\bar{x} = 12.5 \text{ mm}

3. Standard Error Calculation​

SE=σn=1900=130≈0.03333 mm\text{SE} = \frac{\sigma}{\sqrt{n}} = \frac{1}{\sqrt{900}} = \frac{1}{30} \approx 0.03333 \text{ mm}

4. Test Statistic (ZcalcZ_{\text{calc}})​

Zcalc=xˉ−μ0SE=12.5−13.01/30=−0.5×30=−15.0Z_{\text{calc}} = \frac{\bar{x} - \mu_0}{\text{SE}} = \frac{12.5 - 13.0}{1 / 30} = -0.5 \times 30 = \mathbf{-15.0}

5. Distribution & Left-Tail Rejection Graph​

Z_calc = -15.0Acceptance Region (Fail to Reject H0)-z_α = -1.645μ0 = 13 mm (Z = 0)Rejection (α = 0.05)

6. Statistical Decision​

  • Critical cutoff value for left-tailed test at α=0.05\alpha = 0.05 is −z0.05=−1.645-z_{0.05} = -1.645.
  • Since Zcalc=−15.0<−1.645Z_{\text{calc}} = -15.0 < -1.645 and p-value=P(Z≤−15.0)≈3.67×10−51<0.05p\text{-value} = P(Z \le -15.0) \approx 3.67 \times 10^{-51} < 0.05:

Reject H0\text{Reject } H_0

Academic Inference: We reject the null hypothesis at α=0.05\alpha = 0.05. There is overwhelming statistical evidence to conclude that the sample does not originate from a population with a mean thickness of 13 mm, and that the true average thickness is significantly less than 13 mm.


Question 12: One-Sample Right-Tailed Z-Test (Food Delivery Time)​

Question Details​

An e-commerce company claims that the mean delivery time of food items on their website in NYC is 60 minutes with a standard deviation of 30 minutes. A random sample of 45 customers ordered from the website, and the mean time for delivery was found to be 75 minutes. Is this enough evidence to claim that the mean time to get items delivered is more than 60 minutes? (Assume normality of data). Test the claim using the p-value technique at α=0.05\alpha = 0.05.


Step-by-Step Derivation​

1. Hypothesis Formulation​

  • H0:μ≤60 minutesH_0: \mu \le 60 \text{ minutes} (Mean delivery time is at most 60 minutes)
  • H1:μ>60 minutesH_1: \mu > 60 \text{ minutes} (Mean delivery time exceeds 60 minutes)
  • Test type: Right-Tailed Test, α=0.05\alpha = 0.05.

2. Given Data​

  • Hypothesized mean: μ0=60 minutes\mu_0 = 60 \text{ minutes}
  • Population standard deviation: σ=30 minutes\sigma = 30 \text{ minutes}
  • Sample size: n=45n = 45
  • Sample mean: xˉ=75 minutes\bar{x} = 75 \text{ minutes}

3. Standard Error Calculation​

SE=σn=3045=306.7082≈4.4721 minutes\text{SE} = \frac{\sigma}{\sqrt{n}} = \frac{30}{\sqrt{45}} = \frac{30}{6.7082} \approx 4.4721 \text{ minutes}

4. Test Statistic (ZcalcZ_{\text{calc}})​

Zcalc=xˉ−μ0SE=75−604.4721=154.4721≈+3.354Z_{\text{calc}} = \frac{\bar{x} - \mu_0}{\text{SE}} = \frac{75 - 60}{4.4721} = \frac{15}{4.4721} \approx \mathbf{+3.354}

5. Distribution & Right-Tail Rejection Graph​

Z_calc = +3.35Acceptance Region (Fail to Reject H0)+z_α = +1.645μ0 = 60 min (Z = 0)Rejection (α = 0.05)

6. Statistical Decision​

  • Critical threshold for right-tailed test at α=0.05\alpha = 0.05 is +z0.05=+1.645+z_{0.05} = +1.645.
  • Comparing probabilities: p-value=1−Φ(3.354)=0.0004<α=0.05p\text{-value} = 1 - \Phi(3.354) = \mathbf{0.0004} < \alpha = 0.05
  • Decision: Reject H0H_0.

Academic Inference: We reject the null hypothesis at α=0.05\alpha = 0.05. There is sufficient empirical evidence to conclude that the true mean delivery time for food items in NYC significantly exceeds 60 minutes.


Question 13: One-Sample Mean Test with σ\sigma Unknown (Protein Powder)​

Question Details​

The manager of a packaging process at a protein powder manufacturing plant wants to determine if the protein powder packing process is in control. The correct amount of protein powder per box is 350 grams on an average. A sample of 80 boxes was drawn which gave a mean of 354.5 grams with a standard deviation of 15. At 5% level of significance, is there evidence to suggest that the weight is different from 350 grams?


Step-by-Step Derivation​

1. Hypothesis Formulation​

  • H0:μ=350 gramsH_0: \mu = 350 \text{ grams} (Packaging process is in statistical control)
  • H1:μ≠350 gramsH_1: \mu \neq 350 \text{ grams} (Packaging process is out of control)
  • Test type: Two-Tailed Test, α=0.05\alpha = 0.05.

2. Given Data & Large-Sample Property​

  • Specified parameter: μ0=350 grams\mu_0 = 350 \text{ grams}
  • Sample size: n=80n = 80
  • Sample mean: xˉ=354.5 grams\bar{x} = 354.5 \text{ grams}
  • Sample standard deviation: s=15 gramss = 15 \text{ grams} (population σ\sigma unknown)
  • Since n=80≥30n = 80 \ge 30, by Slutsky's theorem and the Central Limit Theorem, the sample standard deviation ss can replace σ\sigma with the standard normal approximation: Zcalc≈xˉ−μ0s/nZ_{\text{calc}} \approx \frac{\bar{x} - \mu_0}{s / \sqrt{n}}

3. Test Statistic Calculation​

SE=sn=1580=158.94427≈1.67705 grams\text{SE} = \frac{s}{\sqrt{n}} = \frac{15}{\sqrt{80}} = \frac{15}{8.94427} \approx 1.67705 \text{ grams} Zcalc=354.5−3501.67705=4.51.67705≈+2.683Z_{\text{calc}} = \frac{354.5 - 350}{1.67705} = \frac{4.5}{1.67705} \approx \mathbf{+2.683}

4. Critical Value and Decision Rule​

  • For α=0.05\alpha = 0.05 (two-tailed), critical cutoff is zα/2=z0.025=1.960z_{\alpha/2} = z_{0.025} = 1.960.
  • Decision rule: Reject H0H_0 if ∣Zcalc∣≥zα/2|Z_{\text{calc}}| \ge z_{\alpha/2}.
  • Comparing test statistic to critical cutoff: ∣Zcalc∣=2.683>1.960|Z_{\text{calc}}| = 2.683 > 1.960
  • P-value verification: p=2×P(Z>2.683)≈2×0.00365=0.0073<0.05p = 2 \times P(Z > 2.683) \approx 2 \times 0.00365 = 0.0073 < 0.05.
  • Decision: Reject H0H_0.

Academic Inference: We reject the null hypothesis at the 5% level of significance. There is statistically significant evidence that the average weight of protein powder in the boxes differs from 350 grams (the machinery is overfilling boxes by an average of 4.5 grams), indicating the packaging process is currently out of statistical control.


Question 14: Two-Sample Z-Test for Independent Means (Hemoglobin Study)​

Question Details​

A study was carried out to understand the amount of hemoglobin in blood for males and females. A random sample of 160 males and 180 females have means of 13 g/dL and 15 g/dL. The two samples have standard deviations of 4.1 g/dL for male donors and 3.5 g/dL for female donors. Can it be said that the population means of hemoglobin are the same for men and women? Use α=0.01\alpha = 0.01.


Step-by-Step Derivation​

1. Hypothesis Formulation​

Let μ1\mu_1 denote the population mean hemoglobin for males, and μ2\mu_2 denote the population mean hemoglobin for females:

  • H0:μ1=μ2  ⟺  μ1−μ2=0H_0: \mu_1 = \mu_2 \iff \mu_1 - \mu_2 = 0 (Male and female mean hemoglobin levels are equal)
  • H1:μ1≠μ2  ⟺  μ1−μ2≠0H_1: \mu_1 \neq \mu_2 \iff \mu_1 - \mu_2 \neq 0 (Male and female mean hemoglobin levels differ)
  • Test type: Two-Tailed Independent Two-Sample Test, α=0.01\alpha = 0.01.

2. Given Sample Statistics​

  • Male Cohort (Sample 1): n1=160n_1 = 160, xˉ1=13 g/dL\bar{x}_1 = 13 \text{ g/dL}, s1=4.1 g/dLs_1 = 4.1 \text{ g/dL}
  • Female Cohort (Sample 2): n2=180n_2 = 180, xˉ2=15 g/dL\bar{x}_2 = 15 \text{ g/dL}, s2=3.5 g/dLs_2 = 3.5 \text{ g/dL}

3. Standard Error of Difference Between Means (SEdiff\text{SE}_{\text{diff}})​

SEdiff=s12n1+s22n2\text{SE}_{\text{diff}} = \sqrt{\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}} SEdiff=(4.1)2160+(3.5)2180=16.81160+12.25180\text{SE}_{\text{diff}} = \sqrt{\frac{(4.1)^2}{160} + \frac{(3.5)^2}{180}} = \sqrt{\frac{16.81}{160} + \frac{12.25}{180}} SEdiff=0.1050625+0.0680556=0.173118≈0.416075 g/dL\text{SE}_{\text{diff}} = \sqrt{0.1050625 + 0.0680556} = \sqrt{0.173118} \approx \mathbf{0.416075 \text{ g/dL}}

4. Test Statistic (ZcalcZ_{\text{calc}})​

Zcalc=(xˉ1−xˉ2)−(μ1−μ2)SEdiff=(13−15)−00.416075=−2.00.416075≈−4.807Z_{\text{calc}} = \frac{(\bar{x}_1 - \bar{x}_2) - (\mu_1 - \mu_2)}{\text{SE}_{\text{diff}}} = \frac{(13 - 15) - 0}{0.416075} = \frac{-2.0}{0.416075} \approx \mathbf{-4.807}

5. Decision Rule and Conclusion​

  • For a two-tailed test at α=0.01\alpha = 0.01, the critical cutoff is zα/2=z0.005=2.575z_{\alpha/2} = z_{0.005} = 2.575.
  • Critical Region Comparison: ∣Zcalc∣=∣−4.807∣=4.807>2.575|Z_{\text{calc}}| = |-4.807| = 4.807 > 2.575
  • P-Value Comparison: p-value=2×P(Z>4.807)≈1.53×10−6≪0.01p\text{-value} = 2 \times P(Z > 4.807) \approx 1.53 \times 10^{-6} \ll 0.01
  • Decision: Reject H0H_0.

Academic Inference: We reject the null hypothesis at α=0.01\alpha = 0.01. The difference of −2.0 g/dL-2.0\text{ g/dL} between male and female donors is highly statistically significant (Z=−4.807,p<0.0001Z = -4.807, p < 0.0001). We conclude that the population mean hemoglobin concentrations for men and women are not equal.


Quick-Facts & Formula Sheet (Estimation & Large Sample Tests)​

Statistical ConceptMathematical FormulationConditions / Notes
Point Estimate for Meanμ^=xˉ=1n∑xi\hat{\mu} = \bar{x} = \frac{1}{n} \sum x_iUnbiased estimator; E[xˉ]=μ\mathbb{E}[\bar{x}] = \mu.
Point Estimate for Proportionp^=xn\hat{p} = \frac{x}{n}Unbiased estimator for binomial trials.
Sampling ErrorError=∣xˉ−μ∣\text{Error} = \lvert \bar{x} - \mu \rvertDecreases as nn increases.
Margin of Error (Mean)E=zα/2σnE = z_{\alpha/2} \frac{\sigma}{\sqrt{n}}Half-width of confidence interval.
Required Sample Sizen=zα/22(σ2E2)n = z_{\alpha/2}^2 \left( \frac{\sigma^2}{E^2} \right)Inversely proportional to E2E^2.
Confidence Interval (Mean, σ\sigma known)xˉ±zα/2σn\bar{x} \pm z_{\alpha/2} \frac{\sigma}{\sqrt{n}}Valid by CLT for n≥30n \ge 30.
Confidence Interval (Mean, σ\sigma unknown)xˉ±zα/2sn\bar{x} \pm z_{\alpha/2} \frac{s}{\sqrt{n}}ss substituted for σ\sigma when n≥30n \ge 30.
Confidence Interval (Proportion)p^±zα/2p^(1−p^)n\hat{p} \pm z_{\alpha/2} \sqrt{\frac{\hat{p}(1 - \hat{p})}{n}}Large sample normal approximation.
One-Sample Z-Test StatisticZcalc=xˉ−μ0σ/nZ_{\text{calc}} = \frac{\bar{x} - \mu_0}{\sigma / \sqrt{n}}Tested against ±zα\pm z_\alpha or ±zα/2\pm z_{\alpha/2}.
Two-Sample Z-Test StatisticZcalc=(xˉ1−xˉ2)−0s12n1+s22n2Z_{\text{calc}} = \frac{(\bar{x}_1 - \bar{x}_2) - 0}{\sqrt{\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}}}Compares equality of two population means.
Type I Error (α\alpha)α=P(Reject H0∣H0 is True)\alpha = P(\text{Reject } H_0 \mid H_0 \text{ is True})Significance level; false alarm rate.
Type II Error (β\beta)β=P(Fail to Reject H0∣H0 is False)\beta = P(\text{Fail to Reject } H_0 \mid H_0 \text{ is False})Missed detection rate.
Statistical PowerPower=1−β\text{Power} = 1 - \betaProbability of correctly rejecting false H0H_0.