The built-in LakeHuron data set is a time series giving the annual measurements of the level, in feet, of Lake Huron 18751972. We can easily access this data with the assignment x<-as.vector(LakeHuron). Assume these values are a random sample from a normal population with unknown mean a and unknown standard deviation e. Call the vector of observations x,using the assignment x<-as.vector(LakeHuron) a) Calculate the sum of the first 15 elements of x.? b) Calculate the minimum value of x. c) Calculate the sample mean of x. d) Calculate the sample variance of x e) Calculate the sample standard deviation s of x. f) Calculate the sample median of x using R 9) Calculate the interquartile range of x, using R. h) Calculate the sample variance of 3x. i) Calculate an unbiased estimate of the population variance, o using this data. j) If we assume that the population has a normal distribution, then calculate the maximum likelihood estimate of using this data. k) Using this data, create an 96% confidence interval for H, noting that the sample size is large enough so we can use a normal distribution critical value zstar.( I) Using this data, create a 96% prediction interval for H, noting that the sample size is large enough so we can use a normal distribution critical value zstar. ( X - 578.8 m) Using this data, create a 4% level test of Ho: u=578.8 versus the alternative Ha: > 578.8. We will reject Ho ifz = > zstar where s is the sample standard deviation. What is the value of zstar? (Calculate from normal distribution) n) Continuing from part m, what is the value of z? o) Continuing from parts m and n, what is the p value of the test.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

G-I

The built-in LakeHuron data set is a time series giving the annual measurements of the level, in feet, of Lake Huron 18751972. We can easily access this data with the assignment x<-as.vector(LakeHuron).
Assume these values are a random sample from a normal population with unknown mean u and unknown standard deviation o.
Call the vector of observations x,using the assignment x<-as.vector(LakeHuron)
a) Calculate the sum of the first 15 elements of x.?
b) Calculate the minimum value of x.
c) Calculate the sample mean of x.
d) Calculate the sample variance of x.
e) Calculate the sample standard deviation s of x.
f) Calculate the sample median of x using R.
g) Calculate the interquartile range of x, using R.
h) Calculate the sample variance of 3x.
i) Calculate an unbiased estimate of the population variance, o using this data.
j) If we assume that the population has a normal distribution, then calculate the maximum likelihood estimate of o using this data.
k) Using this data, create an 96% confidence interval for u, noting that the sample size is large enough so we can use a normal distribution critical value zstar.(
I) Using this data, create a 96% prediction interval for u, noting that the sample size is large enough so we can use a normal distribution critical value zstar. (
)
X - 578.8
m) Using this data, we create a 4% level test of Ho: µ=578.8 versus the alternative Ha: µ > 578.8. We will reject Ho if z =
> zstar where s is the sample standard deviation. What is the value of zstar? (Calculate from normal distribution)
98,
n) Continuing from part m, what is the value of z?
o) Continuing from parts m and n, what is thep value of the test.
Transcribed Image Text:The built-in LakeHuron data set is a time series giving the annual measurements of the level, in feet, of Lake Huron 18751972. We can easily access this data with the assignment x<-as.vector(LakeHuron). Assume these values are a random sample from a normal population with unknown mean u and unknown standard deviation o. Call the vector of observations x,using the assignment x<-as.vector(LakeHuron) a) Calculate the sum of the first 15 elements of x.? b) Calculate the minimum value of x. c) Calculate the sample mean of x. d) Calculate the sample variance of x. e) Calculate the sample standard deviation s of x. f) Calculate the sample median of x using R. g) Calculate the interquartile range of x, using R. h) Calculate the sample variance of 3x. i) Calculate an unbiased estimate of the population variance, o using this data. j) If we assume that the population has a normal distribution, then calculate the maximum likelihood estimate of o using this data. k) Using this data, create an 96% confidence interval for u, noting that the sample size is large enough so we can use a normal distribution critical value zstar.( I) Using this data, create a 96% prediction interval for u, noting that the sample size is large enough so we can use a normal distribution critical value zstar. ( ) X - 578.8 m) Using this data, we create a 4% level test of Ho: µ=578.8 versus the alternative Ha: µ > 578.8. We will reject Ho if z = > zstar where s is the sample standard deviation. What is the value of zstar? (Calculate from normal distribution) 98, n) Continuing from part m, what is the value of z? o) Continuing from parts m and n, what is thep value of the test.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman