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
Create new variable based on other variablesI have a data set on gross income and I'm trying to display the percent of total gross income (in a …
When to use Hausman test to choose between Fixed Effects or Random Effects?I want to use fixed effects to estimate the impact that a fiscal council's presence has on country m…
numeric format & changed valueI am using ver.15 and created ID from PIDM (to convert ID to string). The PIDM column is %10.0g. How…
Question about the hypothesized mean in a t-testDear all in Statalist, I want to perform a t-test for a hypothesized mean of, for instance, +/-2. I…
memory usage errorHello, I am a habitual Stata/SE 15.1 user. Today when opening a large dataset I received an insuffi…
Subscribe to:
Post Comments (Atom)
0 Response to Twang - ps
Post a Comment