Hi,
I am working a logit model with a binary dependent variable. Some of the independent variables I am using are continuous, and from some preliminary graphical analysis (and theory) I have reasons to believe that they have a non-linear relationship with my dependent variable. However, when I try to add squared terms for one of these variables, my model does not achieve convergence. I have found that one way around this is to drop extreme values of the problematic independent variable. While the model achieves convergence with the squared term after this, I am not sure this is the appropriate way of dealing with the problem (I have no way of knowing if these extreme values are errors in the data or not, and therefore no valid reason to drop them). Does anyone have some advice? Should I abandon taking non-linearities into account because my model does not converge when they are added? Are there other ways around this?
Thanks
Related Posts with Logit model convergence not achieved when adding non-linearities
Help with interpreting regression resultsI run this code in Stata 17 Code: reg sbpd ib6.group i.black_or_not ib6.group#i.black_or_not i.sex …
Cannot install estout packageHello everyone, I have been experiencing some issues while trying to install the estout package on m…
Case control matching with age, gender and BMIHi I am trying to match data by gender, age range +/- 5 years and BMI +/- 3. With the code below it …
Dealing with Highly Collinear Independent VariablesDear Stata Members I have a panel data where my independent variables are highly COLLINEAR(Index1 t…
A squared term is negative and significant but the graph is not.A squared term is negative and statistically significant, suggesting an inverted-U relationship as h…
Subscribe to:
Post Comments (Atom)
0 Response to Logit model convergence not achieved when adding non-linearities
Post a Comment