Programming Tips

Strengthen your programming skills with tips and techniques from the experts

Analytics | Programming Tips
Rick Wicklin 0
Simulate data from a logistic regression model: How the intercept parameter affects the probability of the event

This article shows that you can use the intercept parameter to control the probability of the event in a simulation study that involves a binary logistic regression model. For simplicity, I will simulate data from a logistic regression model that involves only one explanatory variable, but the main idea applies

1 3 4 5 6 7 65

Back to Top