RailTrail.hightemp and cloudcover is quite small. Would you be sure that the two variables are not related at all? Create scatter plot. After examing the scatter plot, would you conclude 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 none smoking group is the largest group that has Alzheimers.
Becaise dementias smoke more than 20 cigarettes a day they have more cases than expected given independence.
No because people who have alzheimers are shown to smoke the least.
RailTrail.Hint: The RailTrail data set is from the mosaicData package.
Hightemp has the most positive correlation with number of trail users.
Hightemp and average seem to be the most popular trail at .92.
Hint: Use message, echo and results in the chunk options. Refer to the RMarkdown Reference Guide.