1) Use descriptive statistics to investigate if there is an association between having had cholesterol and having had diabetes for the subjects in the sample. Then use an inference method to make a conclusion about the association between having had high cholesterol and having had diabetes in the population of all U.S. adults.

2) Use descriptive analysis to compare the distributions of age between subjects having high cholesterol and those who have never had it. Then use an inference method to compare the mean age of U.S. adults having had high cholesterol to the mean age of U.S. adults who have never had high cholesterol. 

In Rstudio with the file provided.

Thanks in advance.

For unlimited access to Homework Help, a Homework+ subscription is required.

Unlock all answers

Get 1 free homework help answer.
Already have an account? Log in

Weekly leaderboard

Start filling in the gaps now
Log in