The first thing you need to do in this file is to add your name and date in the lines underneath this document’s title (see the code in lines 9 and 10).
You need to identify and set your working directory in this section.
You need to install and load the packages and data set you’ll use for the lab assignment in this section.
You need to calculate and describe the results of the descriptive or summary statistics identified in the lab assignment in this section.
You need to calculate and describe the means of the variables that identify the price respondents would pay for a plate of ribs and how far they would drive for BBQ in this subsection
The mean price respondents would pay for a plate of ribs is $22.87. The mean number of minutes they would drive for BBQ is 40.04 minutes.
You need to calculate and describe the medians of the variables that identify respondents’ ages and their preferred level of sweetness in a BBQ sauce in this subsection.
The median age is 21 years old, and the media preferred level of sweetness in a BBQ sauce is a 3 on the 1 to 5 vinegar to honey scale.
You need to calculate and describe the modes of the variables that identify a respondent’s origin, preferred meat, and preferred sauce in this subsection. When describing these results, you need to convert the numerical modes of the different variables into words according to the survey codebook (available on AsU Learn or in the “Week6Materials” folder).
The mode respondent origin is Eastern or Central NC. The mode preferred meat is pulled pork. The mode preferred sauce is eastern style (with no tomato)
You need to calculate and describe the ranges, maximums, and minimums of the variables that identify respondents’ ages and how many minutes they would drive for BBQ in this subsection.
The range for respondents’ ages is 89, with a minimum of 10 and a maximum of 99. The range for how many minutes they would drive for BBQ is 500 minutes, with a minimum of 0 minutes and a maximum of 500 minutes.
You need to calculate and describe the standard deviation of the variables that identify the number of minutes a respondent would drive for BBQ and the price they would pay for a plate of ribs in this subsection.
The standard deviation for the number of minutes a respondent would drive for BBQ is 47.65. This indicates the data is very spread out and not clustered around the mean. The standard deviation for the price respondents would pay for a plate of ribs is 10.51. This indicates the data may vary by about $10 from the mean, plus or minus.
Click the “Knit” button to publish your work as an html document. This document or file will appear in the folder specified by your working directory. You will need to upload both this RMarkdown file and the html file it produces to AsU Learn to get all of the lab points for this week.