The data set is from a case-control study of smoking and Alzheimer’s disease. The data set has two variables of main interest:

Q1 Describe the largest group that has Alzheimer. Discuss it by number of cigarettes per day.

The group that has the largest amount of Alzheimers is the group who does not smoke. We can tell this because the none box is the largest in the Alzheimers box.

Q2 Describe one group that has more cases than expected given independence (by chance). Discuss it by number of cigarettes per day.

The only group who has more cases than expected given independence is the other dementias group who smokes more than 20 cigarettes a day. We can see this because this is the only box that is blue.

Q3 Does smoking seem to matter in determining Alzheimer? Discuss your reason using the masaic chart above.

Smoking does not seem to matter more in determining Alzheimers because the group in Alzheimers that has the largest amount is the group who does not smoke. We can tell this because people who do smoke still have Alzheimers but not as large as someone who doesn’t.

Q4 Create correlation plot for RailTrail.

Hint: The RailTrail data set is from the mosaicData package.

Q5 What variables have positve correlation with the number of trail users (volume)?

The variables that have a positive correlation with volume are hightemp, avgtemp, lowtemp, and summer.

Q8 Hide the messages, the code and its results on the webpage.

Hint: Use message, echo and results in the chunk options. Refer to the RMarkdown Reference Guide.

Q9 Display the title and your name correctly at the top of the webpage.

Q10 Use the correct slug.