Question: Exercise 1. (5 points) For this exercise, the only extra packages allowed are Ecdat and MASS. Consider the dataset Mode (in the package Ecdat) that

Exercise 1. (5 points) For this exercise, the only extra packages allowed are Ecdat and MASS. Consider the dataset Mode (in the package Ecdat) that contains data on individuals' mode of transportation (either car, carpool, bus or rail), in addition to those transportation modes' costs and times. Using linear and quadratic discriminant analysis, predict the output variable choice given the input variables cost.z and time.z.

RSTUDIO

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 General Management Questions!