Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The built-in data set \"mtcars\" compares 11 aspects of automobile design for 32

ID: 3321905 • Letter: T

Question

The built-in data set "mtcars" compares 11 aspects of automobile design for 32 different 1974 model automobiles. We will be looking at the wt column of mtcars. Assume that the 32 cars are a random sample of all 1974 automobiles. We would like to estimate the true mean value, , of the wt (weight in 1000's of pounds) of cars in 1974. The unknown variance of wt is 2. Using R define the vector x by x<-mtcars$wt. A screen print of the data follows.


[1] 2.620 2.875 2.320 3.215 3.440 3.460 3.570 3.190 3.150 3.440 3.440 4.070 3.730
[14] 3.780 5.250 5.424 5.345 2.200 1.615 1.835 2.465 3.520 3.435 3.840 3.845 1.935
[27] 2.140 1.513 3.170 2.770 3.570 2.780

a) Calculate the sample variance s2 of x.


b) Estimate true mean , using this data.  

c) Assuming normality of car weights, calculate is the maximum likelihood estimate of 2.


d) Calculate an unbiased point estimate of the population variance, 2 of cars in 1974.


e) Assuming normality of car weights, calculate the maximum likelihood estimate of  ?  

f) Calculate the 65th percentile of x using R.  

g) Calculate a 10% trimmed mean for x using R.  

h) Since the sample size is >30 we can create a confidence interval for using a normal critical value. If we want the confidence interval to be at the 96% level and we use a normal critical value, then what critical value should we use?  

i) Calculate a 96% confidence interval(using a normal critical value) for .


j) How long is the 96% confidence interval just created in part i?  

k) Copy your R script for the above into the text box here.

Explanation / Answer

x=mtcars$wt
#a
var(x)
#Ans: 0.957379
#b
mean(x)
#Ans 3.21725
#C
#MLE
m1=sum((x-mean(x))^2)/length(x)
#Mle is 0.9274609
#d
#Unbiased Point estimate
mun=sum((x-mean(x))^2)/(length(x)-1)
#Unbiased estimate of the variance is .957379

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote