Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

logistic regression python family binomial

import statsmodels.api as sm

glm_binom = sm.GLM(data.endog, data.exog, family=sm.families.Binomial())
Source by stats.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #logistic #regression #python #family #binomial
ADD COMMENT
Topic
Name
2+8 =