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 largest group that has alzheimers is the group that does not smoke. They smoke 0 cigarettes a day.

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

The group that has more cases is the dementias group from looking at the data. They smoke 20 or more cigarettes a day.

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

It does not look like smoking determines alzheimers because looking at the chart, people that do not smoke have the most people getting alzheimers and the people that smoke any cigarettes from any amount look like they do not get alzhimers in as big of a margin as the none smoking.

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 the number of trail users is the hightemp which has the highest correlation, also, avgtemp, lowtemp, and summer have positive correlations with volume.

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.