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

A First Course in Probability (10th Edition)
10th Edition
ISBN:9780134753119
Author:Sheldon Ross
Publisher:Sheldon Ross
Chapter1: Combinatorial Analysis
Section: Chapter Questions
Problem 1.1P: a. How many different 7-place license plates are possible if the first 2 places are for letters and...
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
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
A First Course in Probability (10th Edition)
A First Course in Probability (10th Edition)
Probability
ISBN:
9780134753119
Author:
Sheldon Ross
Publisher:
PEARSON
A First Course in Probability
A First Course in Probability
Probability
ISBN:
9780321794772
Author:
Sheldon Ross
Publisher:
PEARSON