MaizePrepSTATS 250

Exam 1 Mock: Part II

Exam 1 Mock: Part II
Answered0/5
1
Part II · Lec 06 · 6 pts

Study. A city transit agency posts an average wait of 8 minutes at Route 9 stops. Riders say waits are longer. The agency records the wait (in minutes) of 36 randomly selected Route 9 riders. It also surveys a separate random sample of 150 Route 9 riders about how they pay: nationally, 40% of transit riders pay by phone app.

Research Question A: On average, do Route 9 riders wait longer than the posted 8 minutes? (one-sample t-test) Research Question B: Does the share of Route 9 riders who pay by app differ from the national 40%? (one-proportion z-test)

For each test, explain why the sample is large enough for the test to be used. Show the numbers you check, and say why the z-test check uses 0.40 rather than the sample proportion.

# Research Question A: wait times (minutes), 36 randomly selected Route 9 riders
> t.test(wait, mu = 8, alternative = "greater")

	One Sample t-test

data:  wait
t = 2.2, df = 35, p-value = 0.01725
alternative hypothesis: true mean is greater than 8
95 percent confidence interval:
 8.255214      Inf
sample estimates:
mean of x 
      9.1 

# Research Question B: 150 randomly selected Route 9 riders, 54 pay by phone app
> phat <- 54 / 150
> phat
[1] 0.36
> z <- (phat - 0.4) / sqrt(0.4 * 0.6 / 150)
> z
[1] -1
> 2 * pnorm(-abs(z))
[1] 0.3173105
Math shortcuts are on for STATS 250. Type ^ then digits for powers, _ then digits for subscripts.
2
Part II · Lec 07 · 6 pts

Using the Research Question A output, give a complete definition of the test statistic, t = 2.2, in the context of this study.

# Research Question A: wait times (minutes), 36 randomly selected Route 9 riders
> t.test(wait, mu = 8, alternative = "greater")

	One Sample t-test

data:  wait
t = 2.2, df = 35, p-value = 0.01725
alternative hypothesis: true mean is greater than 8
95 percent confidence interval:
 8.255214      Inf
sample estimates:
mean of x 
      9.1 

# Research Question B: 150 randomly selected Route 9 riders, 54 pay by phone app
> phat <- 54 / 150
> phat
[1] 0.36
> z <- (phat - 0.4) / sqrt(0.4 * 0.6 / 150)
> z
[1] -1
> 2 * pnorm(-abs(z))
[1] 0.3173105
Math shortcuts are on for STATS 250. Type ^ then digits for powers, _ then digits for subscripts.
3
Part II · Lec 06 · 6 pts

Using the Research Question B output, give a complete definition of its p-value in the context of this study. Pay attention to the direction of the alternative.

# Research Question A: wait times (minutes), 36 randomly selected Route 9 riders
> t.test(wait, mu = 8, alternative = "greater")

	One Sample t-test

data:  wait
t = 2.2, df = 35, p-value = 0.01725
alternative hypothesis: true mean is greater than 8
95 percent confidence interval:
 8.255214      Inf
sample estimates:
mean of x 
      9.1 

# Research Question B: 150 randomly selected Route 9 riders, 54 pay by phone app
> phat <- 54 / 150
> phat
[1] 0.36
> z <- (phat - 0.4) / sqrt(0.4 * 0.6 / 150)
> z
[1] -1
> 2 * pnorm(-abs(z))
[1] 0.3173105
Math shortcuts are on for STATS 250. Type ^ then digits for powers, _ then digits for subscripts.
4
Part II · Lec 07 · 6 pts

Suppose the agency had instead tested Research Question A against the two-sided alternative Ha:μ≠8H_a: \mu \ne 8 with the same 36 waits. What would the p-value be, and would the strength of evidence change on the course scale? Explain why, without new software output.

# Research Question A: wait times (minutes), 36 randomly selected Route 9 riders
> t.test(wait, mu = 8, alternative = "greater")

	One Sample t-test

data:  wait
t = 2.2, df = 35, p-value = 0.01725
alternative hypothesis: true mean is greater than 8
95 percent confidence interval:
 8.255214      Inf
sample estimates:
mean of x 
      9.1 

# Research Question B: 150 randomly selected Route 9 riders, 54 pay by phone app
> phat <- 54 / 150
> phat
[1] 0.36
> z <- (phat - 0.4) / sqrt(0.4 * 0.6 / 150)
> z
[1] -1
> 2 * pnorm(-abs(z))
[1] 0.3173105
Math shortcuts are on for STATS 250. Type ^ then digits for powers, _ then digits for subscripts.
5
Part II · Lec 06 · 6 pts

An agency spokesperson summarizes both analyses: "Our data confirm what we post: riders wait 8 minutes on average, and 40% of them pay by app." Take a position on this statement and support it with at least two aspects of the results.

# Research Question A: wait times (minutes), 36 randomly selected Route 9 riders
> t.test(wait, mu = 8, alternative = "greater")

	One Sample t-test

data:  wait
t = 2.2, df = 35, p-value = 0.01725
alternative hypothesis: true mean is greater than 8
95 percent confidence interval:
 8.255214      Inf
sample estimates:
mean of x 
      9.1 

# Research Question B: 150 randomly selected Route 9 riders, 54 pay by phone app
> phat <- 54 / 150
> phat
[1] 0.36
> z <- (phat - 0.4) / sqrt(0.4 * 0.6 / 150)
> z
[1] -1
> 2 * pnorm(-abs(z))
[1] 0.3173105
Math shortcuts are on for STATS 250. Type ^ then digits for powers, _ then digits for subscripts.

One composed study with new R output for a one-sample t-test and a two-sided one-proportion z-test, and five written prompts graded by rubric elements, in the real Part II format (40 minutes: about 10 to read, 30 to write). Not an official exam. Original questions written in the style of this course. Not official exam content.

MaizePrep is an independent study resource. It is not affiliated with, sponsored by, or endorsed by the University of Michigan. Course names and numbers are used only to describe which class the material covers. Every practice question is original, written in the style of the course.