CS617-Monroe College: Assignment 2 exercises: Using R Question 1 Use the BRFSS data in the transgender_he_ch2.csv...
Fantastic news! We've Found the answer you've been seeking!
Question:
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/05/66478eb748e73_62366478eb71cbbc.jpg)
Transcribed Image Text:
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. 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.
Expert Answer:
Posted Date:
Students also viewed these mathematics questions
-
Suppose that you can invest with a continuously compounded rate of 5.25% per annum. (i) If you invest $50,000 today, how many years will it take for your investment to be worth $1 million? (ii) If...
-
Un supervisor escolar, desea probar que el promedio de calificaciones en las Escuelas de Administracin en la Ciudad es menor a 12 puntos. Selecciona una muestra aleatoria de 25 escuelas y obtiene una...
-
The number of degrees of freedom in a chi-square test for contingency table is
-
We saw in Section 25.6 that DCC can be used to form a peptide bond. We explored the mechanism, and we saw that DCC activates the COOH moiety so that it readily undergoes nucleophilic acyl...
-
How much would you have to invest today to receive: a. $15,000 in 8 years at 10 percent? b. $20,000 in 12 years at 13 percent? c. $6,000 each year for 10 years at 9 percent? d. $50,000 each year for...
-
Which of these is not a liquidity ratio? (a) Current ratio. (b) Asset turnover. (c) Inventory turnover. (d) Accounts receivable turnover.
-
A plant asset purchased by Krest Inc. for \(\$ 100,000\) late in 2018 is to be depreciated as follows. In 2020 , taxable income was \(\$ 450,000\) and the tax rate is \(25 \%\). Future enacted tax...
-
Sarah Warren currently holds 400 shares of Nutri-Foods. The firm has 40,000 shares outstanding. The firm most recently had earnings available for common stockholders of $80,000, and its stock has...
-
helppleasee Compute the size of the final payment for the following loan. The size of the final payment is \( \$ \) (Round the final answer to the nearest cent as needed. Round all intermediate...
-
Using scholarly material, explain how Enterprise Resource Planning (ERP) Systems mitigate risk and assist in organizational decision making. In addition, explain why mitigating risk and making better...
-
What are the implications of prepayment risk for mortgage lenders, and how do mortgage servicing rights (MSRs) influence the profitability and operational considerations within the mortgage industry ?
-
1. Suppose you invest $4,600 today in an account that earns a nominal annual rate (i nom) of 12 percent, with interest compounded monthly. How much money will you have after 12 years? 2.You want to...
-
A helical compression spring has ( 8 total coils ) is inserted in a hole of diameter ( 7 6 . 5 mm ) . The spring is made of ( 1 2 . 5 mm ) diameter hard drawn steel wire. The spring supports an axial...
-
Make a Steel Schedule Sheet to estimate quantity of Steel Reinforcement for given roof below. Also compute weight of steel per meter cube in the slab. Notes: - All the bar spaces and dimensions are...
-
A spring mass damper system is modeled by the following equation: Mx + Cx+ Kx = 0 Where: Determine: M - [66]. K = [765.5 0 7952 = 0 L765.5 1868.7] 1868.7].C = [795.2 1. M 2. M 2 3. 4. C 5. Natural...
-
Question 2 A consumer purchases two goods, food (x) and clothing (y).He has the utility function U(X,Y) = XY, where X and Y denote amounts of X and Y consumed. Marginal utilities of X and Y are MU x...
-
Chicago Company sold merchandise to a customer for $1,500 cash in a state with a 6% sales tax rate. The total amount of cash collected from the customer was $558. $600. $642. $636. Nevada Company...
-
Determine which of -38 and 27 is larger using a number line, and express that using both the greater than and the less than notations.
-
Graph the following numbers on the number line: 1. -10 2. 4 3. 0
-
Use your calculator to calculate 38 - 100. Explain how the answer agrees with what was expected.
![Mobile App Logo](https://dsd5zvtm8ll6.cloudfront.net/includes/images/mobile/finalLogo.png)
Study smarter with the SolutionInn App