RailTrail.hightemp and cloudcover is quite small. Would you be sure that the two variables are not related at all?The data set is from a case-control study of smoking and Alzheimer’s disease. The data set has two variables of main interest:
smoking a factor with four levels “None”, “<10”, “10-20”, and “>20” (cigarettes per day)disease a factor with three levels “Alzheimer”, “Other dementias”, and “Other diagnoses”.the largest group to have other dementias would be the group that is none smokers.
one group that has more casses than expected given independence would be people diagnosed with other dementias that smoke 20 cigarettes or more
there seem to be more cases of other dementias the more ciggaretts one smokes. however the largest group diagnosed are people that smoke no cigarettes. this would lead me to believe that there is not a very strong linear correlation amoung smoking and other dementias.
RailTrail.Hint: The RailTrail data set is from the mosaicData package.
Spring, fall, cloud cover, and precipitation all have a negative correlation with trail users/ volume.
it would seem that fall would be the least popular season. I would come to this conclution because it has a negative correlation of -.25. howevwe this is not a strong correlation.
Hint: Use message, echo and results in the chunk options. Refer to the RMarkdown Reference Guide.