Contents

Exam 2 — Practice & Review

Chapters 6–10

  • Total Questions: 6
  • Historical Estimated Time: 38m 59s
Important:
  • Do not wait until the last minute.
  • Start early and simulate real testing conditions.

Deadline

  • Friday, 11:59 PM
  • Grace period: Saturday & Sunday
    (No instructor or Honorlock support during grace period)
  • No responses from instructor after Friday 3 PM

How to Prepare Effectively

Required Tools

  • RStudio (Quarto)
  • Practice Test on MyLabMath

Expectations

  • It is highly recommended to do all calculations in R instead of manual calculations.
  • Interpret your results clearly in context.
  • Follow the full workflow for every problem:
SetupComputeDecisionInterpretation

Let's Practice (Simulation Mode)

For each problem:
  • Read carefully and extract all required information.
  • Simulate yourself taking the actual test.
  • Use the R Command Dashboard provided.
  • Execute everything inside your RStudio Quarto document.

You must show:

  1. Code
  2. Output
  3. Final interpretation (in complete sentences)

Problem 1 — One-Mean z-Test

Time Limit: 10 Minutes

Full Workflow + Assumptions

A labor economist is studying quarterly net job gain percentages in a specific sector. Over the past 20 quarters, the following sample statistics were computed from the collected data:

  • Sample size: $n = 20$
  • Sample mean net job gain: $\bar{x} = 0.34\%$
  • Population standard deviation (historically established): $\sigma = 0.5\%$

A commonly cited benchmark suggests that a “healthy” labor market should have an average quarterly job gain of $0.2\%$.

The economist wants to determine whether the current data provide sufficient evidence that the true mean job gain is greater than $0.2\%$.

Your Tasks:
  1. Clearly state the null and alternative hypotheses.
  2. Verify whether conditions for using a z-test are met.
  3. Compute the test statistic using R.
  4. Compute the p-value.
  5. Make a decision at significance level $\alpha = 0.05$.
  6. Interpret your result in context of job growth.

Problem 1 — Answer Key

Time Limit: 10 Minutes
  • $H_0: \mu = 0.2\%$
  • $H_a: \mu > 0.2\%$ (Right-Tailed)
R Code
sigma <- 0.5
mu_0 <- 0.2
x_bar <- 0.34
n <- 20

z <- (x_bar - mu_0) / (sigma / sqrt(n))
p_right <- 1 - pnorm(z)

z
p_right
Output & Decision
> z
[1] 1.252198
> p_right
[1] 0.1052507
  • Decision: Since $p\text{-value} = 0.1053 > (\alpha = 0.05)$, we Do not reject $H_0$.
  • Interpretation: There is not sufficient evidence at the 5% significance level to conclude that the true mean job gain strictly exceeds $0.2\%$.

Problem 2 — One-Mean z-Test

Time Limit: 10 Minutes

Two-Tailed, Structured

A manufacturing company claims that the average lifetime of its batteries is $29$ hours.

A consumer group tests a random sample of batteries and records:

  • Sample size: $n = 29$
  • Sample mean lifetime: $\bar{x} = 31$ hours
  • Known population standard deviation: $\sigma = 8$ hours

The group wants to determine whether the true mean lifetime differs from the company’s claim.

Your Tasks:
  1. State the null and alternative hypotheses.
  2. Compute the test statistic using R.
  3. Compute the p-value (two-tailed).
  4. Make a decision at $\alpha = 0.05$.
  5. Interpret the result in context of battery performance.

Problem 2 — Answer Key

Time Limit: 10 Minutes
R Code
sigma <- 8
mu_0 <- 29
x_bar <- 31
n <- 29

z <- (x_bar - mu_0) / (sigma / sqrt(n))
p_two <- 2 * (1 - pnorm(abs(z)))

z
p_two
Output & Decision
> z
[1] 1.346291
> p_two
[1] 0.1782089
  • Decision: Since $p\text{-value} = 0.1782 > (\alpha = 0.05)$, we Do not reject $H_0$.
  • Interpretation: There is not sufficient evidence to conclude that the true mean battery lifetime differs significantly from the company's claim of 29 hours.

Problem 3 — z-Test Using Critical Values

Time Limit: 10 Minutes

A quality control engineer is monitoring a production process where the target mean measurement is $38$ units.

A sample from the process yields:

  • Sample size: $n = 23$
  • Sample mean: $\bar{x} = 36$
  • Population standard deviation: $\sigma = 8$

The engineer wants to determine whether the process mean is different from the target.

Your Tasks:
  1. State hypotheses.
  2. Compute the test statistic.
  3. Determine the critical values for a two-tailed test at $\alpha = 0.05$.
  4. Use the rejection region approach to make a decision.
  5. Interpret the result in context of process control.

Problem 3 — Answer Key

Time Limit: 10 Minutes
R Code (Critical Values)
sigma <- 8
mu_0 <- 38
x_bar <- 36
n <- 23
alpha <- 0.05

z <- (x_bar - mu_0) / (sigma / sqrt(n))
cv_lower <- qnorm(alpha/2)
cv_upper <- qnorm(1 - alpha/2)

z
cv_lower
cv_upper
Output & Decision
> z
[1] -1.198958
> cv_lower
[1] -1.959964
> cv_upper
[1] 1.959964
  • Rejection Region: $z < -1.96$ or $z > 1.96$.
  • Decision: Our $z = -1.199$ is inside the non-rejection region. Do not reject $H_0$.
  • Interpretation: There is not sufficient evidence to conclude the process mean significantly differs from the 38 unit target.

Problem 4 — Sampling Distribution

Time Limit: 10 Minutes

Interpretation and Variability

A national survey reports that the average annual salary in a certain profession is:

  • Population mean: $\mu = 51.2$ (in thousands)
  • Population standard deviation: $\sigma = 8.8$ (in thousands)

Researchers are interested in understanding how sample size affects the variability of the sample mean.

Your Tasks:
  1. For a sample size of $n = 64$: Find the mean of the sampling distribution and the standard deviation (standard error).
  2. For a sample size of $n = 256$: Find the mean of the sampling distribution and the standard deviation.
  3. Compare the variability of the two sampling distributions.
  4. Explain in plain English: What happens to variability as sample size increases? Why this matters in statistical inference?

Problem 4 — Answer Key

Time Limit: 10 Minutes
R Code (Standard Errors)
sigma <- 8.8

# Standard Error for n = 64
SE_64 <- sigma / sqrt(64)
SE_64

# Standard Error for n = 256
SE_256 <- sigma / sqrt(256)
SE_256
Outputs
> SE_64
[1] 1.1

> SE_256
[1] 0.55
Interpretation:
  • Larger sample $\rightarrow$ smaller variability.
  • Estimates become more stable and precise representations of the true population.

Problem 5 — Pooled Two-Mean

Time Limit: 10 Minutes

Provided below are summary statistics for independent simple random samples from two populations. Use the pooled t-test and the pooled t-interval procedure to conduct the required hypothesis test and obtain the specified confidence interval.

$$ \bar{x}_1=10,\; s_1=2.4,\; n_1=12 \qquad \bar{x}_2=13,\; s_2=2.3,\; n_2=12 $$
Your Tasks:
  1. Identify hypotheses for a two-tailed test, $\alpha=0.05$.
  2. Compute the test statistic $t$.
  3. Determine the critical values.
  4. What is the conclusion of the hypothesis test?
  5. Find the 95% confidence interval.

Problem 5 — Answer Key

Calculations
  • Hypotheses: $H_0: \mu_1 = \mu_2, \; H_a: \mu_1 \ne \mu_2$
  • Test Statistic: $t = -3.126$
  • Critical Values: $\pm 2.074$
Decisions & CI
  • Decision: Since the test statistic (-3.126) is in the rejection region ($< -2.074$), Reject $H_0$.
  • 95% Confidence Interval: From $-4.990$ to $-1.010$.

Problem 6 — Nonpooled Two-Mean

Time Limit: 10 Minutes

Provided below are summary statistics for independent simple random samples. Use the nonpooled t-test and the nonpooled t-interval procedure.

$$ \bar{x}_1=9,\; s_1=3,\; n_1=15 \qquad \bar{x}_2=11,\; s_2=2,\; n_2=15 $$
Your Tasks:
  1. Identify hypotheses for a two-tailed test, $\alpha=0.01$.
  2. Find the test statistic $t$.
  3. Find the critical values.
  4. What is the conclusion of the hypothesis test?
  5. Find the 99% confidence interval.

Problem 6 — Answer Key

Calculations
  • Hypotheses: $H_0: \mu_1 = \mu_2, \; H_a: \mu_1 \ne \mu_2$
  • Test Statistic: $t = -2.148$
  • Critical Values: $\pm 2.793$ (with $df \approx 24.39$)
Decisions & CI
  • Decision: Do not reject $H_0$. There is insufficient evidence that the two means are different.
  • 99% Confidence Interval: From $-4.600$ to $0.600$.

Best of Luck!

  • Complete MyLabMath Practice Test
  • Re-run these problems in R
  • Focus on interpretation, not memorization
Final Reminder:
  • Start early.
  • Verify Honorlock setup.
  • Do not rely on the grace period.
10:00