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”. ## 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 smoked no cigarettes a day. The bar depicting the none smokers is longer and wider than all the other bars in the alzheimers category.
The group of people who have dementia, who smoke 20 or more had more cases than expecte. They had the strongest corloation with a dark blue shading.
No it doesnt. Sense there is just a larger population of people that dont smoke, as oposed to those that do, so there are more people who didnt smoke that got alzeihers, making it hard to see a colrolation between smoking and alzeihmers.
RailTrail.Hint: The RailTrail data set is from the mosaicData package.
High tempature, average tempature, low tempature and summer all have a possitive corelation with volume. they have a positive number associated aswell as a redish or dark red shading in the plot.
The most popular season for trail users would be summer.
Hint: Use message, echo and results in the chunk options. Refer to the RMarkdown Reference Guide.