The built-in data set, UKgas, is a time series recording the quarterly UK gas consumption from 1960 to 1986. Using R we

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

The built-in data set, UKgas, is a time series recording the quarterly UK gas consumption from 1960 to 1986. Using R we

Post by answerhappygod »

The built-in data set, UKgas, is a time series recording thequarterly UK gas consumption from 1960 to 1986. Using R we canconvert this data into the vector x by the assignment x<-as.vector(UKgas). Assume that the n measurements x=(
x1, x2,...,xn
) are a random sample from a population with true unknownmean πœ‡ and true unknown variance
𝜎2
. Remember, x<- as.vector(UKgas)a) Calculate, n, the number of elements in x. b) Calculate the sample standard deviation s, of x. c) Estimate true mean πœ‡, using this data by calculating thesample mean. d) Calculate an unbiased point estimate of the populationvariance,
𝜎2
of UKgas. e) Assuming normality of UKgas data, calculate the maximumlikelihood estimate of πœ‡? f) Calculate the 65th percentile of x using R. g) Calculate a
trimmed mean for x using R. h) Since the sample size is >30 we can create a confidenceinterval for πœ‡ using a normal critical value. If we wantthe confidence interval to be at the 96% level and we use a normalcritical value, then what critical value should we use? i) Calculate a 96% confidence interval(using a normal criticalvalue) for πœ‡.(
,
)j) How long is the 96% confidence interval just created in parti? k) Copy your R script for the above into the text box here.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply