lsmeans, emmeans, ..., exog grid for pandas dataframe

Skip to first unread message

Oct 13, 2022, 2:03:25 PM10/13/22
to pystatsmodels
We recently had several questions on stackoverflow and stats.stackexchange requesting margins, lsmeans, emmeans or similar.

One part that those function in other packages provide are premade grids of values of the explanatory variables, like quantiles of continuous variables, levels of categoricals

open issue and a quick attempt for this
The usage is for predict/get_prediction and for margins/margeff.

I would appreciate it if someone can help with this or knows of code that can be used as reference.

I'm working on the stats part as in
but I'm not really an expert in the pandas part of data handling.


Reply all
Reply to author
0 new messages