In: Statistics and Probability
CAN YOU PLEASE POST R-SCRIPT ONLY!!
Eagle flu can be devastating for those who are hospitalized. Researchers at JJ Health Services took a random sample of n=2561 hospitalized Eagle flu patients out of a very large population of hospitalized Eagle flu patients. Of these x = 1497 patients showed a symptom of very high fever (VHF). Let p be the (unknown) true proportion of hospitalized Eagle flu patients who show a symptom of VHF. We want to estimate p. X is the random variable representing the number of sampled Eagle flu patients with VHF
CAN YOU PLEASE POST R-SCRIPT ONLY!!
b) What was the sample proportion, p̂, of sampled patients with a symptom of VHF?
d)What is the z critical value that we would use to construct a
classical 92% confidence interval for p?
e) Construct a 92% classical confidence interval for p?
( ,
)
f) How long is the 92% classical confidence interval for p?
g) If we are creating a 92% classical confidence interval for p
based upon the sample size of 2561, then what is the longest
possible length of this interval?
Here is the R-CODE :
And here is the ouput :
f) the length of confidence interval is 0.034
g) the longest possible length of the 92% cinfidence interval is 0.034 based on sample size of 2561.