Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 5. The airquality dataset in the R package datasets contains daily air quality measurements in New York, May to September 1973. It has 153

image text in transcribed
image text in transcribed
Problem 5. The airquality dataset in the R package datasets contains daily air quality measurements in New York, May to September 1973. It has 153 observations on 6 variables. Use the four variables for this problem: Ozone, Solar.R, Wind, and Temp. Finish this exercise using R. (a) make a histogram for each of the 4 variables. Which variables show a skew pattern? (b) use necessary transformations to make each variable normally distributed. Show the histogram for each transformed variable. (c) compute 1. sample means 2 sample covariance 3. sample correlation 4. sample total variance 5. sample generalized total variance (d) create a scatterplot matrix of the 4 variables and comment on the relationship(correlation) between each pair of variables in this plot. Problem 5 Hints . Problem 5. The airquality dataset in the R package datasets contains daily air quality measurements in New York, May to September 1973. It has 153 observations on 6 variables. Use the four variables for this problem: Ozone, Solar.R, Wind, and Temp. The following code is used to import the dataset. data(airquality) The following code is used to remove rows with NA's. airquality na.omit(airquality) The following code is used to select the four variables. df = subset(airquality, select = c(Ozone, Solar.R, Wind, Temp)) Problem 5. The airquality dataset in the R package datasets contains daily air quality measurements in New York, May to September 1973. It has 153 observations on 6 variables. Use the four variables for this problem: Ozone, Solar.R, Wind, and Temp. Finish this exercise using R. (a) make a histogram for each of the 4 variables. Which variables show a skew pattern? (b) use necessary transformations to make each variable normally distributed. Show the histogram for each transformed variable. (c) compute 1. sample means 2 sample covariance 3. sample correlation 4. sample total variance 5. sample generalized total variance (d) create a scatterplot matrix of the 4 variables and comment on the relationship(correlation) between each pair of variables in this plot. Problem 5 Hints . Problem 5. The airquality dataset in the R package datasets contains daily air quality measurements in New York, May to September 1973. It has 153 observations on 6 variables. Use the four variables for this problem: Ozone, Solar.R, Wind, and Temp. The following code is used to import the dataset. data(airquality) The following code is used to remove rows with NA's. airquality na.omit(airquality) The following code is used to select the four variables. df = subset(airquality, select = c(Ozone, Solar.R, Wind, Temp))

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions

Question

=+Trainers from headquarters? Local trainers? Independent trainers?

Answered: 1 week ago