python - How to get the coefficients from an MLE logit regression? -


i have statsmodels.discrete.discrete_model.binaryresultswrapper output of running statsmodels.api.logit(...).fit(). can call .summary() method prints table of results coefficients embedded in text, need store coefficients variable later use. how can this? documentation not clear on how basic operation (probably basic thing want results, besides print them)

when try fittedvalues() method, looked return coefficients, error:

'series' object not callable

since documentation poor, found solution through random experimentation.

the correct syntax is:

logit(...).fit().params.values 

Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -