Question: How do I compute error rates using cross-validation to decide which is better between linear discriminant analysis and quadratic discriminant analysis. Please show this using

How do I compute error rates using cross-validation to decide which is better between linear discriminant analysis and quadratic discriminant analysis. Please show this using the Default data on R where default is the output variable and the rest are the inputs?

I tried using poly() function but don't understand how to apply this to a multiple linear regression.

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 Mathematics Questions!