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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started