Show transcribed image text 3. -9 points My Notes Ask Your Teacher We wish to determine the unknown probability p, that a voter su voters. X-1331 of these voters support the tulip proposal. Let p be the sample proportion of voters supporting the tulip proposal. Answer the following using R code a)As a function of p, what is the variance of p? (use R code) b) As a function of p, what is the standard deviation of p? (use R code) c) Calculate p d) Let ptot be the random variable representing the total number of voters in the sample who support the tulip proposal. As a function of p, what is the standard deviation of ptot? e) What is the critical value for an approximate classical 93% confidence interval for p? f) Calculate a classical 93% confidence interval for p. g) what is the length of the above classical 93% confidence interval for p? h) Assuming the same p value, what sample size would have made the 93% confidence interval for p have a length of .08 or less? Copy your R script for the above into the text box here.
3. -9 points My Notes Ask Your Teacher We wish to determine the unknown probability p, that a voter su voters. X-1331 of these voters support the tulip proposal. Let p be the sample proportion of voters supporting the tulip proposal. Answer the following using R code a)As a function of p, what is the variance of p? (use R code) b) As a function of p, what is the standard deviation of p? (use R code) c) Calculate p d) Let ptot be the random variable representing the total number of voters in the sample who support the tulip proposal. As a function of p, what is the standard deviation of ptot? e) What is the critical value for an approximate classical 93% confidence interval for p? f) Calculate a classical 93% confidence interval for p. g) what is the length of the above classical 93% confidence interval for p? h) Assuming the same p value, what sample size would have made the 93% confidence interval for p have a length of .08 or less? Copy your R script for the above into the text box here.