Logit regression statsmodels
How many variable I can use in stats models logit regression?
it shows error if I add more than certain numbers of variables
Thank you for reaching out!
Could you please share the error you are getting?
Thanks for prompt response Hristina. I made a mistake when I was assigning the the variable. The input had same variables twice led to the error.
below is the error I got.
File ~/opt/anaconda3/lib/python3.9/site-packages/numpy/linalg/linalg.py:88, in _raise_linalgerror_singular(err, flag) 87 def _raise_linalgerror_singular(err, flag): ---> 88 raise LinAlgError("Singular matrix") LinAlgError: Singular matrix