Answered step by step
Verified Expert Solution
Question
1 Approved Answer
How to solve this problem in language R ? Please note the answers (a),(b),(c),(d),(e)&(f) In the data set fractures tart, Myers (1990) presents data on
How to solve this problem in language"R"? Please note the answers (a),(b),(c),(d),(e)&(f)
In the data set fractures tart, Myers (1990) presents data on the number of frac- tures (y) that occur in the upper seams of coal mines in the Appalachian region of western Virginia. Four regressors were reported. x1 inner burden thickness (feet), the shortest distance between seam floor and the lower seam x2 percent extraction of the lower previously mined seam; x3 lower seam height (fleet); and X4 time (years) that the mine has been in operation a) Read in the data as a data frame. Add a new column called indicator to the ne V Of a Observation is above the median, indicator E 1: If not, indicator 0 (b) Explore the data graphically in order to investigate the association between indicator and the other features (x1, x2, x3, x4). Which of the other features seem most likely to be useful in predicting indicator? Scatter-plots and box- plots may be useful tools to answer this question. Describe your findings (c) Split your data set into a training set and a test set. The training set consists of the first 34 observationsStep 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