Show transcribed image text t-10 points My Notes Ask Your Teache The built-in dataset rock data frame has 48 rows and 4 numeric columns of data. The data is from measurements on core samples from petroleum reservoirs. Each core sample/cross section was measured for permeability, total area of pores, total perimeter of pores, and shape. The data in the area column of rock is the data is the data we shall consider. Let the random variable X represent a random observation from rock$area. Assume the area column of rock is the outcome of a random sample of size 48 from a population with distribution X. Assume X has mean μ and standard deviation σ. Answer the following using R code: a) Give the R code to assign the data of the rock$area column to the vector x. b) Calculate the range of x. (Single number) c) Using the R quantile function calculate the 25th percentile of x. d) Calculate the sample mean of x. Cal this mean xbar e) Calculate the sample median of x. f) Calculate the sample standard deviation, s, of x. g) Calculate the critical value to be used to produce an 97% confidence interval for μ. h) Find the lower boundary for a 97% confidence interval for μ. i) Find the upper boundary for a 97% confidence interval for μ. j) How long is the 97% confidence interval for μ? k) Copy your R script for the above into the text box here
t-10 points My Notes Ask Your Teache The built-in dataset rock data frame has 48 rows and 4 numeric columns of data. The data is from measurements on core samples from petroleum reservoirs. Each core sample/cross section was measured for permeability, total area of pores, total perimeter of pores, and shape. The data in the area column of rock is the data is the data we shall consider. Let the random variable X represent a random observation from rock$area. Assume the area column of rock is the outcome of a random sample of size 48 from a population with distribution X. Assume X has mean μ and standard deviation σ. Answer the following using R code: a) Give the R code to assign the data of the rock$area column to the vector x. b) Calculate the range of x. (Single number) c) Using the R quantile function calculate the 25th percentile of x. d) Calculate the sample mean of x. Cal this mean xbar e) Calculate the sample median of x. f) Calculate the sample standard deviation, s, of x. g) Calculate the critical value to be used to produce an 97% confidence interval for μ. h) Find the lower boundary for a 97% confidence interval for μ. i) Find the upper boundary for a 97% confidence interval for μ. j) How long is the 97% confidence interval for μ? k) Copy your R script for the above into the text box here