The accompanying data file shows the average price of gas (Price in $ per gallon) for the

Question:

The accompanying data file shows the average price of gas (Price in $ per gallon) for the 50 states during January 2019. 

a. Construct a boxplot for the Price variable. Does the boxplot suggest that outliers exist? 

b. Use z-scores to determine if there are any outliers for the Price variable. Are your results consistent with part a? Explain why or why not. 

c. Use the information from the boxplot to replace outliers with NAs. What is the mean of the average price of gas without the outliers?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Business Analytics Communicating With Numbers

ISBN: 9781260785005

1st Edition

Authors: Sanjiv Jaggia, Alison Kelly, Kevin Lertwachara, Leida Chen

Question Posted: