I NEED ANSWERS FOR PART A,B,C,D,E,F, and G PLEASE USE R SCRIPTS FOR PART G 3. Qu
ID: 3322248 • Letter: I
Question
I NEED ANSWERS FOR PART A,B,C,D,E,F, and GPLEASE USE R SCRIPTS FOR PART G 3. Question Details My Notes Ask Your Teach The fat content of 7 randomly selected hot dogs was measured as follows: 16.3, 17.1, 13.3, 12.0, 8.5, 17.9, 18.:1 It is reasonable to treat these measurements as coming from a normal distribution with unknown mean and unknown variance 2 a)Use the data to calculate an unbiased point estimate of the true mean, , of hot dog fat content. b)Use the data to find an unbiased point estimate of the population variance, o2 of hot dog fat content c) Find the sample standard deviation of the above data d)Create a 98% confidence interval forp. ( ) e) what critical value did you use to calculate the 98% confidence interval in d? f)Create a 98% prediction interval for . ([-. ) g) Copy your R script for the above into the text box here.
Explanation / Answer
answer : Paste this code and run in R
rm(list=ls(all=TRUE))
x=c(16.3,17.1,13.3,12.0,8.5,17.9,18.1)
##part (a)
a=mean(x)
a ## Point estimate of true mean
##part(b)##
b=var(x)
b ###unbiased estimate of variance
##part (c)
c=sqrt((length(x)-1)*(1/(length(x)))*var(x))
c ### standard deviation of data
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.