Question: Homework: ANOVA and Regression using R The airquality data contains records on ozone, temperature, solar radiation, wind during May 1 to September 3 0 in

Homework: ANOVA and Regression using R
The airquality data contains records on ozone, temperature, solar radiation, wind during May 1 to September 30 in 1973. The following is a description of the variables.
Ozone: Mean ozone in parts per billion from 1300 to 1500 hours at Roosevelt Island
Solar.R: Solar radiation in Langleys in the frequency band 4000-7700 Angstroms from 0800 to 1200 hours at Central Park
Wind: Average wind speed in miles per hour at 0700 and 1000 hours at LaGuardia Airport
Temp: Maximum daily temperature in degrees Fahrenheit at La Guardia Airport.
You can check the details of the airquality data.
Section 1: write a R script to complete the following tasks on data cleaning and descriptive statistics:
Set your R working directory on your computer.
Import "airquality" data from any of the format: Rdata, csv, or txt and name it as raw.
Change variable name "Solar.R" to "SolarRidiation"
Get mean ozone level for the following sample or sub-samples.
a. the overall mean Ozone level for the entire sample
b. mean ozone level when Temp is no higher than 70 lang
c. mean ozone level when Temp is higher than 70 but below 80 lang
d. mean ozone level when Temp is above 80 lang but wind is no higher than 10 miles per hour
e. mean ozone level when Temp is above 80 lang but wind exceeds 10 miles per hour
Create a histogram for Ozone level.
Calculate the variance and the standard deviation of Ozone
Get a subsample of data with no missing value for Ozone variable using na.omit() function and
Homework: ANOVA and Regression using R The

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!