A First Course in Probability (10th Edition)
A First Course in Probability (10th Edition)
10th Edition
ISBN: 9780134753119
Author: Sheldon Ross
Publisher: PEARSON
Bartleby Related Questions 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.
expand button
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
Check Mark
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
A First Course in Probability (10th Edition)
Probability
ISBN:9780134753119
Author:Sheldon Ross
Publisher:PEARSON
Text book image
A First Course in Probability
Probability
ISBN:9780321794772
Author:Sheldon Ross
Publisher:PEARSON