Repository navigation
Conversation
bug fixes in StrataMatching
use different alpha to match stata's pscore results
… return a confidence interval
|
Thanks @jburroni that's very helpful. |
There was a problem hiding this comment.
circular reference of instances, slows down garbage collection
|
It's a good start, I'm happy to see this. I think a high priority would be to get a test script going with at least a few basic tests is it. |
|
@kshedden Thanks for reviewing. |
|
I've used Dehejia and Wahba 2002 (*) to understand the method and their () Dehejia, Rajeev H, and Sadek Wahba. “Propensity Score-Matching Methods On Sun, Feb 22, 2015 at 12:29 PM, Josef Perktold [email protected]
" To be is to do " ( Socrates ) |
|
I found two extra notebooks where I've replicated Gagliani et al. 2009 (*) http://nbviewer.ipython.org/gist/jburroni/56ee3af1faf216a88bf9 Galiani, Sebastian, MARTIN GONZALEZ-ROZADA, and Ernesto Schargrodsky. On Sun, Feb 22, 2015 at 12:47 PM, Javier Burroni [email protected]
" To be is to do " ( Socrates ) |
|
I would like to use this. What is missing until this can be merged? |
|
@kshedden added some review comments that need to be addressed. (In the long run we have to think about the structure so we can mix and match different matching algorithms with different statistical analysis based on the matched data. That's more for the wishlist than a requirement for this PR.) |
|
@josef-pkt Unittests = get some data, run it in R, translate the results to unittests which compare the output from R to the output from statsmodels? |
|
BTW: a help which is models along this blog post would be nice: |
|
about unit tests: Yes, that's how we verify our numbers, either get the results out of R or Stata, (In some cases we compare against published numbers, when we don't find corresponding R or Stata commands.) I haven't really looked at the details yet. From the general description, My usual offer: If someone is working on this, then I try to catch up or keep up with some of the readings (especially details of Stata implementation) to help out. |
|
http://econometricsense.blogspot.de/2015/03/using-r-matchit-package-for-propensity.html AFAIR @jburroni used initially a Stata user package |
|
Has there been any progress on implementing PSM in |
|
@VincentLa14 No, nothing new on matching in statsmodels (except for the similar approach in imputation, MICE) My own target was more IPW and similar approaches #2455 (which is closer to the theory that I'm familiar with because of the smoothness) |
|
To help those working on this: a very rigorous implementation of propensity score matching in python is It follows closely the main reference in this area:
|
This is a Work In Progress of the Propensity Score matching algorithm: #858