Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standard errors for propensity score model coefficients #1

Open
kkranker opened this issue Mar 2, 2020 · 1 comment
Open

Standard errors for propensity score model coefficients #1

kkranker opened this issue Mar 2, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@kkranker
Copy link
Owner

kkranker commented Mar 2, 2020

[someone] asks,

... Unfortunately, I am unable to recover the standard errors, nor the test statistic to enable me tell the significance of the estimated Propensity score model coefficients. On with my web search again, I came across your GITHUB page (https://github.com/kkranker/psweight) where you indicated some potential improvements and extensions.

I am by this letter (email) writing to ask if this has been made possible and if so, is there a way I can at least retrieve the standard errors to match the displayed coefficients of the covariates estimated from the propensity score model?....

@kkranker kkranker added the enhancement New feature or request label Mar 2, 2020
@kkranker
Copy link
Owner Author

kkranker commented Mar 2, 2020

Quite honestly I haven't spent a ton of time on the statistical properties of the estimator, but imagine the normal methods apply. You will find it easier to work with the Mata code (not the .ado wrap around).*

Inside the solve() function, you should be able to add a few lines of code to produce standard errors. Specifically, you will want to look for the name that says moptimize(S). Between that line and the end of the function, you can add a line with moptimize_result_V_robust().* This will produce a variance-covariance matrix, which you can use to calculate standard errors in the usual manner. Once you have the matrix, you just need to find a way to return these results (or just display it them to the screen).

You can find documentation for moptimize_result_V_robust() in the Stata manual; Also see Drukker's example.

Please let me know if it works! I'm especially curious how long it will take to compute the variance-covariance matrix.

@kkranker kkranker mentioned this issue Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant