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

My Notes Ask Your Teacher 1.The built-in R dataset \"PlantGrowth\" We can get th

ID: 3318189 • Letter: M

Question

My Notes Ask Your Teacher 1.The built-in R dataset "PlantGrowth" We can get the data in this column by assigning a variable to values, x.The following is a screen print of the data values on yields of plants, measured by dry weight, under various treatments. We shall be interested in the weight column of the PlantGrowth dataframe. the column PlantGrowthsweight or enter ing the values 1 by 1. (You would be wise to not do the 1 by 1 entry.) Call the vector of [11 4.17 5.58 5.18 6.11 4.50 4.61 5.17 4.53 5.33 5.14 4.81 4.17 4.41 3.59 5.87 [16) 3.83 6.03 4.89 4.32 4.69 6.31 5.12 5.s4 5.50 5.37 5.29 4.92 6.15 5.80 5.26 Assume these values are a random sa is xc-PlantGrowthSweight. Answer the following using R code: mple from a normal population with distribution x. Assume X has mean and standard deviation . The code for assigring the- olumn to a vector x in sa) Calculate the 37 th percentile of x using the R quantile function. b) Calculate the sample variance of x c) Calculate the sample varlance of (3/2)x. 6) Caloulate the masimum likelhood estimate of o using this data.

Explanation / Answer

a)

> quantile(x,0.37)
   37%
4.8684

b)

> var(x)
[1] 0.49167

c)
> var(3/2*x)
[1] 1.106258

d)

sample variance is MLE of poplation variance

= 0.49167

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