fit

Functions

fit_mixedlm(X, y, groups)

Wrapper to fit a statsmodels Mixed LM model.

fit_ols(X, y)

Wrapper to fit a statsmodels OLS model.

r2adj(fit)

Computes the adjust r-square from a model fit.