Answered step by step
Verified Expert Solution
Question
1 Approved Answer
CS617-Monroe College: Assignment 2 exercises: Using R Question 1 Use the BRFSS data in the transgender_he_ch2.csv file (file is attached is the folder) to
CS617-Monroe College: Assignment 2 exercises: Using R Question 1 Use the BRFSS data in the transgender_he_ch2.csv file (file is attached is the folder) to create a table of appropriate descriptive statistics for all transgender participants in the 2014 BRFSS. Spend a few minutes looking through the BRFSS website before beginning. Include variables representing transition status, days of poor physical health (PHYSHLTH), race/ethnicity, income, education, age, and age category. Write a paragraph using the numbers in the table to describe the characteristics of the transgender participants of the 2014 BRFSS. 1) Open the transgender_he_ch2.csv 2014 BRFSS data file. 2) Select the data including only transgender participants. 3) Select the data including only the variables of interest. 4) Check the data types of all the variables and fix any that seem incorrect (Achievement 1). 5) Based on the BRFSS codebook, code missing values and add category labels appropriately. 6) Choose and conduct appropriate descriptive statistics for all variables in the small data set (Achievements 2 and 3). 7) Develop a well-formatted table of results including all variables in the small data set. 8) Add a prolog and comments to your code (Achievement 4). 9) Summarize the characteristics of transgender survey participants in the 2014 BRFSS. Question 2: Hacker edition Complete #1-#5 from the coder edition, then do the following: Find the mean or median value of PHYSHLTH (whichever is most appropriate) and recode to create a new factor variable with values above the mean or median labeled as "poor physical health" and values below the mean labeled as "good physical health"; check your coding (Achievement 3). 1) Choose and conduct appropriate descriptive statistics for all variables in the small data set (Achievements 2 and 3). 2) Develop a well-formatted table of results including all variables in the small data set. 3) Add a prolog and comments to your code (Achievement 4). 4) Summarize the characteristics of transgender survey participants in the 2014 BRFSS.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started