Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

5. Question 2 72. The Behavioral Risk Factor Surveillance system (BRESS) is an annual teleph survey run by the Centers of Disease Control](http://www.cdc.gov/brfss) in th

image text in transcribed
image text in transcribed
image text in transcribed
5. Question 2 72. The Behavioral Risk Factor Surveillance system (BRESS) is an annual teleph survey run by the Centers of Disease Control](http://www.cdc.gov/brfss) in th United States. The BRESS is designed to identify risk factors in the adult population and report emerging health trends. For example, respondents are ask about their diet and weekly physical activity, their HIV/AIDS status, possible tobacco use, and even their level of healthcare coverage. 38 09 We only consider a subset of the original survey that contains 20,000 observations 11 - ### Do not delete this code chunk 112 - 113 cdc % operator to string multiple functions. 22 -23 > Do not print the data frame (too long, 20k rows), just print the average weights. L24 125 iv) Repeat part (iii) but now use the grouping variables smoke100 and gender'. Comment on what you observe in the average weights between groups. Use the pipe '%% operator to string multiple functions. 126 127 v) obtain a random sample of 2000 rows and save this into cdc. samp1'. 129 vi) Repeat parts (it) to (v) but only using the subset data cdc. samp1 use the pipe '%% operator to string murinle function 128 F 127 v) obtain a random sample of 2000 rows and save this into cdc, sampi 128 129 vi) Repeat parts (11) to (1) but only using the subset data .cdc. sampi. use the pipe %% operator to string multiple functions. 130 131 vii) comment on what differences you observed (if any) between the results in the original sample and the smaller sample? 132 133 134 - Code chunk 135 136 start your code 137 138 #last R code line 139 - Files

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions