# Quiz 4 Summer 2020
# You are to use R for all calculations and plots.
# Upload a pdf file containing your results.
# Also upload a .R file that the TAs can run.
# Include comments in your R code.
# part (a)
# (1) Read the file EME_109_Summer_2020_Quiz_4_Data.csv into R.
# (2) Save the data from this file into a vector named x.
# Part (b)
# (1) Create a histogram and a boxplot for x.
# (2) Evaluate the 95% CIs for the mean and the standard deviation of the population using x. You can use the functions t.test() and sigma.test() for these calculations.
# Part (c)
# (1) Identify all outliers in x using Chauvenet’s criterion.
# (2) Reject all outliers and save the resulting data in a vector named y.
# (3) Create a histogram and a boxplot for y.
# (4) Evaluate the 95% CIs for the mean and the standard deviation of the population using y. You can use the functions t.test() and sigma.test() for these calculations.
# Part (d)
# (1) Identify all outliers in x using the Modified Thompson tau Approach (P = 95%). A while() loop may be useful here.
# (2) Reject all outliers and save the resulting data in a vector named w.
# (3) Create a histogram and a boxplot for w.
# (4) Evaluate the 95% CIs for the mean and the standard deviation of the population using w. You can use the functions t.test() and sigma.test() for these calculations.
# Part (e)
# Discuss differences between your results from parts (b), (c), and (d).