Question: Part 2: Missing Data Create a subset of data from Virgin Islands (VI) using the subset command sub

Part 2: Missing Data

  1. Create a subset of data from Virgin Islands (VI) using the subset command sub<-subset(survey,State=="VI").
  2. Determine the number of NA values in this subset for the HCAHPS Answer Percent variable.
  3. Replace "Not Available" with 0 using the which(is.NA() <- 0 command.
  4. Replace "Not Available" with the mean use <- mean(,na.rm = TRUE).
  5. 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!