pzivich / zEpid

Epidemiology analysis package
http://zepid.readthedocs.org
MIT License
141 stars 33 forks source link

Refactor InterativeCondGFormula #87

Closed pzivich closed 5 years ago

pzivich commented 5 years ago

Complex treatment specification cannot be done in the factorization I currently have implemented.

To do this, I need to change to a wide-format input. This will change the docs / test / and everything else. I am going to put this as a part of v0.6.0

This will require substantially different function inputs. (vector of treatments, vector of outcomes, vector of models, vector of treatments). It will be somewhat nice, since this will distinguish it from other g-formula formulations. Afterwards, I will finally be happy enough with this to start my LTMLE implementation