Hi, I am working with Twang. I am running the specification suggested by RAND tutorials for binary treatment in STATA, and I do not know how to save the propensity score. In other words, the specification suggested on the tutorial returns a set of files and datasets. The STATA dataset includes weights but it does not include the propensity score (or at least I have not found it). Since I am estimating ATT effects, I can not infer the ps from weights for the group of treated. In this context, does anyone know how to save the propensity scores?
Suggested specification:
ps treat x1 x2 x3 x4, ///
ntrees(3000) intdepth(2) shrinkage(0.01) ///
permtestiters(0) stopmethod(es.mean) estimand(ATT) ///
rcmd("$Rlocation") ///
objpath("$folder") ///
plotname("$folder\ex1.pdf")
Thanks,
Related Posts with Twang - ps
Panel data regression weird ORDear statalist community, Thank you all in advance for taking the time to read this post and help m…
VSELECT command not workingHello! I am trying to use the following Vselect command and am getting the following error message. …
Copy variables (basic problems)Hi, I would love some help! I try to copy the personal tax in 2002 to all years. My initial data l…
Fixed Effect variablesHello Statalist I want to perform a logit regression using various variables (not fixed effects) bu…
Interpreting z-value output from ivregress 2sls and query about bar chartsHi all, This is my first post but i'll try to make my questions as clear as possible. To be clear t…
Subscribe to:
Post Comments (Atom)
0 Response to Twang - ps
Post a Comment