Question
irquality is a built-in R data frame. The airquality data frame is a time series giving the daily air quality measurements in New York, May
irquality is a built-in R data frame. The airquality data frame is a time series giving the daily air quality measurements in New York, May to September 1973. We are interested in some descriptive statistics related to the Wind column of the airquality data framet. We can access the data directly by using the assignment x <- airquality$Wind (In R use ?airquality for info on this dataset.) Remember: x <- airquality$Wind
a.Calculate the sample mean of x.
b. Using the R quantile function, find the .25 (25th) quantile of x.
c. Calculate the interquartile range of x using R.
d. Calculate the sample median of x.
e. Calculate a 4/153 trimmed mean for x.
f. Calculate the sample variance of x.
g. Calculate the sample standard deviation of x.
h. What proportion of the x values are within 1.0 sample standard deviations from the sample mean
i. Calculate the maximum of x.
j. What number do you get if you add up the square roots of the values in x?
Add any comments below.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started