Repository navigation
Conversation
|
(TravisCI won't have anything to check, but I need to go back to other things for a while, so opening PR so I don't forget) |
|
TravisCI shows test failures because my change for GMM cov_params (first commit) in not fully correct. |
548350a to
5221e83
Compare
|
rebased (first commit fix GMM t_test was automatically removed in rebase, no merge conflicts) AFAIR: has the main functionality but needs lot of API work |
|
This creates the treatment folder, which is also created in the newer PR #3647 |
|
no unittests at all, module doesn't count in coverage (i.e. 0 coverage) |
5221e83 to
2fe996a
Compare
|
rebased, no merge conflicts |
Codecov Report
@@ Coverage Diff @@
## master #2455 +/- ##
==========================================
- Coverage 79.32% 79.17% -0.15%
==========================================
Files 544 545 +1
Lines 81718 81872 +154
Branches 9255 9264 +9
==========================================
+ Hits 64822 64824 +2
- Misses 14802 14955 +153
+ Partials 2094 2093 -1
Continue to review full report at Codecov.
|
|
no test coverage is counted with pytest |
|
merged in #8034 |
This adds treatment effects under ignorability similar to Stata 13
teffectsthis also starts a new subdirectory
treatment, although I'm not happy about the name yet if it will include missing obervation models and imputation.(see mailing list)
The first commit is fixing GMM for the t_test to work. I have a separate branch just for that
master...josef-pkt:fix_gmm
which should go into master before this and first commit can be skipped.
update GMM cov_params t_test fix and refactoring was merged into master with PR #2497
see #2443 (and comments) for the main issue
work in progress
Status
currently no unit tests, and example uses uncommitted data file (I don't have Stata >= 13)
unfinished and currently messy structure in parts
glossary
ATE: average treatment effect, average causal effect
ATT: average treatment effect on the treated
POM: potential outcome mean
IPW: inverse probability weighting, inverse propensity score weighting (or weights)
ignorability: no unobserved variables that are correlated with outcome and treatment. conditional independence of outcome and treatment, treatment in outcome regression is exogenous
Extensions
To make some things here more generic, we would need to refactor or enhance other models.
going beyond Stata's
teffectsReferences
update 2016-03-23
Linden, Ariel, S. Derya Uysal, Andrew Ryan, and John L. Adams. 2016. “Estimating Causal Effects for Multivalued Treatments: A Comparison of Approaches.” Statistics in Medicine 35 (4): 534–52. doi:10.1002/sim.6768.
similar to Cattaneo et al articles, with overview, has only partially formulas, uses Stata 13 plus one extra method, (MMWS marginal mean weighting through stratification) in user package
(I'm planning to add related references at https://github.com/josef-pkt/misc/wiki/Imputation-IPW-Introduction second round of readings was more general for missing values)