Question: Part 2: Missing Data Create a subset of data from Virgin Islands (VI) using the subset command sub
Part 2: Missing Data
- Create a subset of data from Virgin Islands (VI) using the subset command sub<-subset(survey,State=="VI").
- Determine the number of NA values in this subset for the HCAHPS Answer Percent variable.
- Replace "Not Available" with 0 using the which(is.NA(
) <- 0 command. - Replace "Not Available" with the mean use <- mean(
,na.rm = TRUE). - Visually and numerically determine the shape of all of the distributions for this variable.
https://drive.google.com/file/d/1UB13QcZIgej1PY1qUXslmf89fi15HYyW/view?usp=sharing
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
