Question
Use R Q2 What is the highest value for the number of adult women in the household where someone has ever had a stroke? -
Use R
Q2 What is the highest value for the number of adult women in the household where someone has ever had a stroke? - Summarize the value in a variable called `max_num_women`. - The output should be a dataframe assigned to Q2 and look something like this: ```
max_num_women 1 [value] ```
Use R
Q3 Compute the mean and standard deviation for `MENTHLTH` comparing caregivers who managed personal care such as giving medications, feeding, dressing, or bathing and those who did not. - The summary variable names should be `mean_mental` and `sd_mental`. - Keep in mind that one of the possible answers to "how many days" in MENTHLTH is 0, not just 1-30. - Your output should match the value included in the dataframe below. This value is given to you as a check to make sure you are on the right track. - The output should be a dataframe assigned to Q3 and look something like this: ``` CRGVPERS mean_mental sd_mental
1 1 5.23 [value]
2 2 [value] [value] ```
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