pzivich / zEpid

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

IPTW Balance Diagnostic #47

Closed pzivich closed 5 years ago

pzivich commented 5 years ago

There is one diagnostic I still don't have fully addressed and that is balance. Figure 2 in Austin Stuart 2015 show the standardized differences for all variables. I have a calculator for standardized differences but it isn't set up fully.

New function would have to (0) pull variables from patsy, (1) determine variable type (binary, continuous), (2) calculated standardized differences, (3) generate plot

Also should store everything in a DataFrame object to sort and plot by standardized differences (as in Austin Stuart 2015)

pzivich commented 5 years ago

Will be released as part of v0.4.1