Question: 1. Create a data set that consists of two predictors (X1, X2) and a binary response variable Y . Let n = 16 and Y
1. Create a data set that consists of two predictors (X1, X2) and a binary response variable Y . Let n = 16 and Y = 0 for 8 observations and Y = 1 for the remaining 8 observations. Create this data set in such a way that logistic regression cannot converge when applied to this data set. Explain why logistic regression cannot converge on this data set. Using logistic regression, obtain the predicted probabilities for data set and report them here. You may copy/paste your output.
2. Apply LDA/QDA to the dataset you created in part (1). Are you able to get meaningful results? Report the misclassification rate for LDA and QDA.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
