Statsmodels
Sample
import statsmodels.api as sm import statsmodels.formula.api as smf sm.show_versions() data = pd.read_csv('sample.csv') formula = 'OBJ ~ EXP1 + EXP2 + EXP3' model = smf.glm(formula=formula, data=data, family=sm.families.Binomial()).fit() print(model.summary()) print(model.conf_int(alpha=0.05))
Acknowledgments
Daiphys is a professional-service company for research and development of leading-edge technologies in science and engineering.
Get started accelerating your business through our deep expertise in R&D with AI, quantum computing, and space development; please get in touch with Daiphys today!
Daiphys Technologies LLC - https://www.daiphys.com/