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
Long table and wide tableHi , all! If I have two sheets ,sheet1 shows every students‘ score got in the exam and sheet2 contai…
date and timeHi! i want to make a dummy variable that takes the value 1 if we observe a sale after a certain date…
Overall CI for a multileveled independent variable in a binomial logistic regressionHello, I'm trying to get an overall CI for an independent variable in a binomial logistic regression…
Can rangestat or asrol solve this problem? creating statistics within industry in a rolling fashionDear All I have panel data that includes year, quarter, month and week, firm, industry, and (firm) …
Replacing valuesHi, I have a column containing different number and weights for grocery products (weights). Some pr…
Subscribe to:
Post Comments (Atom)
0 Response to Twang - ps
Post a Comment