3. In the vehicles dataset, discretize the co2emissions variable using the High value for emission levels at

Question:

3. In the vehicles dataset, discretize the co2emissions variable using the High value for emission levels at or above 500 grams per mile and Low for emission levels below this mark. Using the discretized variable for the strata, generate a stratified random sample of 2 percent of the dataset. Show the proportional distribution of values for the discretized variable for the original population and for the sample.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Practical Machine Learning In R

ISBN: 9781119591535

1st Edition

Authors: Fred Nwanganga, Mike Chapple

Question Posted: