Question: In this question I want you to run a simulation study to compare the performance of LDA and QDA. A simulation study requires you to

In this question I want you to run a simulation study to compare the performance of LDA and QDA. A simulation study requires you to generate a large number of data sets, then apply both LDA and QDA to each data set, and compare the performance across all data sets to evaluate which method outperforms the other. I want you to run a simulation study that highlights a situation in which QDA would outperform LDA in terms of prediction performance. For each data set, generate two covariates Xi and X, from a standard normal distribution. Generate a binary outcome Y any way you like, but it should be done in a way that QDA will be expected to outperform LDA on average. (1) Explain exactly how you generated data in your simulation study. It should be explained in sufficient detail so that I could replicate your results. (ii) Explain why you think QDA will outperform LDA in this situation. (iii) Either through a plot or a table, visualize your results comparing LDA and QDA in your simulation study. In this question I want you to run a simulation study to compare the performance of LDA and QDA. A simulation study requires you to generate a large number of data sets, then apply both LDA and QDA to each data set, and compare the performance across all data sets to evaluate which method outperforms the other. I want you to run a simulation study that highlights a situation in which QDA would outperform LDA in terms of prediction performance. For each data set, generate two covariates Xi and X, from a standard normal distribution. Generate a binary outcome Y any way you like, but it should be done in a way that QDA will be expected to outperform LDA on average. (1) Explain exactly how you generated data in your simulation study. It should be explained in sufficient detail so that I could replicate your results. (ii) Explain why you think QDA will outperform LDA in this situation. (iii) Either through a plot or a table, visualize your results comparing LDA and QDA in your simulation study
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
