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 other dementias. Discuss it by number of cigarettes per day.

People that are not smoking cigarettes have the largest group which would be 0 cigarettes per day.

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

Smoking 20 plus cigarretes other than dementia a day are greater.

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

Smoking does not seem to have a correliation to smoking and non smoking situations which is shown from the chart in the blue square that shows nin smokers with dementia.

Q4 Create correlation plot for RailTrail.

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

Q5 List all four variables that have negative correlation with the number of trail users (volume).

The negative correlation are Fall is -.25, Spring is -.04, Cloudcover is -.37, Precipation is -.23

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.