it is only one page about Statistics with short answers please

R Test for Chs 1-3 R_Test_Lastname.rtf

Email: Name______________________ Score ______

You have until Saturday 11:59:59pm to complete this assessment . Please submit as an .rtf file. Use the same format as the lab problem sets. The expectation is that you will complete this assessment on your own. You may use your own resources such as previous lab assignments, notes, and/or the book.

Directions – Please show R code and output for all questions. In addition, write your explanations where necessary in complete sentences using excellent English grammar. Present your work in a way that shows you are proficient in both the art and science of understanding data.

1. Load the beer data set provided into RStudio by showing the datapath. The data should load in the first and appear in the second quadrant. (This dataset is taken from your textbook in chapter 2). For example:

> ex02.27beer <- read.delim("C:/Users/Administrator/Desktop/MATH 2228_04/Rstudio Data/ex02-27beer.txt")

> View(ex02.27beer)


2. Give a numerical summary of Carbohydrates. A numerical summary includes: 5 number summary, measures of central tendency, measures of variation, and outliers.


3. Give a graphical summary of Carbohydrates. A graphical summary includes: stemplot, boxplot, and histogram. Which plot in this case best describes the data and why?


4. Describe the relationship between Carbohydrates and PercentAlcohol. Is there a linear association between the two variables? Show scatterplot; give predictive model with appropriate diagnostics.


5. Describe the relationship between Calories and PercentAlcohol. Is there a linear association between the two variables? Show scatterplot; give predictive model with appropriate diagnostics.


6. Which linear model, Carbohydrates and PercentAlcohol, or Calories and PercentAlcohol, is more useful for predicting PercentAlcohol? Explain your reasoning using statistics.

7. Is PercentAlcohol normally distributed? Give evidence.

8. Which Brand beers are in the 95th percentile or above for alcohol content? Show your work.

9. Create a bar graph of PercentAlcohol for the first 6 beer Brands in the data set.