Usetutoringspotscode to get 8% OFF on your first order!

  • time icon24/7 online - support@tutoringspots.com
  • phone icon1-316-444-1378 or 44-141-628-6690
  • login iconLogin

R Homework

The vector `problem.1.data` contains numeric data.

Construct a stipchart of the values in `problem.1.data`. Do you see any evidence of any outliers?

**Solution**

Repair this outlier.

* First, report the location of the outlier.

* Next, convert the value to `NA`.

* Finally, display the value of the vector at this location, and show that it has the value `NA`.

**Solution**

Construct a stripchart of the repaired version of `problem.1.data`. Do you see any indication of a -9 being used to represent a missing value?

**Solution**

It’s not best practice to represent a missing value using the value -9, so we need to repair this.

* First, report the location of the element with -9.

* Next, convert the value to `NA`.

* Finally, display the value of the vector at this location, and show that it has the value `NA`.

**Solution**

Construct a stripchart of the repaired version of `problem.1.data`. Do you see any indication of an extreme outlier (i.e. 99999) or a -9 being used to represent a missing value?

**Solution**

You can leave a response, or trackback from your own site.

Leave a Reply

Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes