Does grade level matter regarding having a drink of coffee before going to school? To get some insight relating to this question, Professor Jay randomly selected nm 1142 New York City high school freshmen. Of these, xm 803 said they had at least one cup of coffee before going to school. Professor Jay also randomly selected nf-1012 New York City high school seniors. Of these, xf- 760 said they had at least one cup of coffee before going to school. Suppose Pm is the true proportion of New York City high school freshmen who have a drink of coffee before going to school. Suppose py is the true proportion of New York City high school seniors who have a drink of coffee. before going to school. Pm and py are unknown and we will examine relations between them based upon Professor Jay's samples. Let pmhat be the sample proportion of high school freshmen who said they had at least one cup of coffee before going to school. Let pfhat be the sample proportion of high school seniors who said they had at least one cup of coffee before going to school. a)Calculate pmhat. b) We wish to construct a 95 % classical confidence interval for Pm What is the critical value multiplier star? c) Create a 95% classical confidence interval for Pm? (I d) How long is the 95% classical confidence interval for Pm?[ e) In terms of Pmp and nmn, give the formula for the standard deviation of the distribution of the sample proportion pmhat.(R code) sqrt(p(1-p)/n) On*p*(1+p) Ⓒp*(1-0)/n Osqrt(np (1-p)) f) Calculate pfhat. 9) Calculate pmhat pfhat. h) Based on this data, calculate a 95% classical confidence interval for Pm P.( 1. How long is the 95% classical confidence interval for Pm py calculated above 3) Copy your R script for the above into the text box here. Enter a number

Glencoe Algebra 1, Student Edition, 9780079039897, 0079039898, 2018
18th Edition
ISBN:9780079039897
Author:Carter
Publisher:Carter
Chapter10: Statistics
Section10.6: Summarizing Categorical Data
Problem 10CYU
icon
Related questions
Question
100%
Does grade level matter regarding having a drink of coffee before going to school? To get some insight relating to this question, Professor Jay randomly selected nm = 1142 New York City high school freshmen. Of these, xm = 803 said they had at least one cup of coffee before going to school. Professor Jay also randomly selected nf = 1012
New York City high school seniors. Of these, xf = 760 said they had at least one cup of coffee before going to school. Suppose Pm is the true proportion of New York City high school freshmen who have a drink of coffee before going to school. Suppose pf is the true proportion of New York City high school seniors who have a drink of coffee
before going to school. Pm and pf are unknown and we will examine relations between them based upon Professor Jay's samples. Let pmhat be the sample proportion of high school freshmen who said they had at least one cup of coffee before going to school. Let pfhat be the sample proportion of high school seniors who said they had at
least one cup of coffee before going to school.
a)Calculate pmhat.
b) We wish to construct a 95 % classical confidence interval for Pm. What is the critical value multiplier zstar? [
c) Create a 95% classical confidence interval for pm?
d) How long is the 95% classical confidence interval for Pm?
e) In terms of Pm = p and nm = n, give the formula for the standard deviation of the distribution of the sample proportion pmhat.(R code)
sqrt(p*(1-p)/n)
O n*p*(1-P)
O p*(1-p)/n
O sqrt(n*p*(1-p))
f) Calculate pfhat.
g) Calculate pmhat - pfhat.
h) Based on this data, calculate a 95% classical confidence interval for Pm-Pf. (
i. How long is the 95% classical confidence interval for Pm - Pf calculated above?
j) Copy your R script for the above into the text box here.
Enter a number.
Transcribed Image Text:Does grade level matter regarding having a drink of coffee before going to school? To get some insight relating to this question, Professor Jay randomly selected nm = 1142 New York City high school freshmen. Of these, xm = 803 said they had at least one cup of coffee before going to school. Professor Jay also randomly selected nf = 1012 New York City high school seniors. Of these, xf = 760 said they had at least one cup of coffee before going to school. Suppose Pm is the true proportion of New York City high school freshmen who have a drink of coffee before going to school. Suppose pf is the true proportion of New York City high school seniors who have a drink of coffee before going to school. Pm and pf are unknown and we will examine relations between them based upon Professor Jay's samples. Let pmhat be the sample proportion of high school freshmen who said they had at least one cup of coffee before going to school. Let pfhat be the sample proportion of high school seniors who said they had at least one cup of coffee before going to school. a)Calculate pmhat. b) We wish to construct a 95 % classical confidence interval for Pm. What is the critical value multiplier zstar? [ c) Create a 95% classical confidence interval for pm? d) How long is the 95% classical confidence interval for Pm? e) In terms of Pm = p and nm = n, give the formula for the standard deviation of the distribution of the sample proportion pmhat.(R code) sqrt(p*(1-p)/n) O n*p*(1-P) O p*(1-p)/n O sqrt(n*p*(1-p)) f) Calculate pfhat. g) Calculate pmhat - pfhat. h) Based on this data, calculate a 95% classical confidence interval for Pm-Pf. ( i. How long is the 95% classical confidence interval for Pm - Pf calculated above? j) Copy your R script for the above into the text box here. Enter a number.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps

Blurred answer
Recommended textbooks for you
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
Holt Mcdougal Larson Pre-algebra: Student Edition…
Holt Mcdougal Larson Pre-algebra: Student Edition…
Algebra
ISBN:
9780547587776
Author:
HOLT MCDOUGAL
Publisher:
HOLT MCDOUGAL
College Algebra (MindTap Course List)
College Algebra (MindTap Course List)
Algebra
ISBN:
9781305652231
Author:
R. David Gustafson, Jeff Hughes
Publisher:
Cengage Learning
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage