Question: Draw a random sample of 20 observations from data object Boston and store the subsample as data object called boston_sel. Save then this subsample as
Draw a random sample of 20 observations from data object "Boston" and store the subsample as data object called boston_sel. Save then this subsample as csv file with semicolon separated values, comma decimal separators and suppressed row names on your computer (e.g. on your desktop).Lets estimate now above model again and validate our fitted model afterwards. To do this, please first load the R caret package. Then, split the data Boston into two parts, a training and a validation set by a proportion of 60:40. Please make sure that your two random subsamples are reproducible.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
