Hi,
I'm trying to calculate economic significance from a censored (Tobit) regression with multiple imputation according to this definition:
"Economic significance is indicated by the predicted change in the dependent variable from a movement from the tenth to the ninetieth percentile in the independent variable as a percentage of the mean of the dependent variable".
So far I have the following code (with y being my dependent variable, and x being my independent variable(s)):
mi register y x
mi impute mvn y x, add(10)
mi estimate, cmdok post: tobit y x, ll(0) ul(1) vce(robust)
I have tried using the following code (which works without mi estimate) immediately after the above:
sum y, meanonly
local y=r(mean)
margins, expression(predict(ystar(0,1))/`y_m') at((p10) x) at((p90) x) contrast(atcontrast(ar._at) marginswithin) atmeans
But I get the error:
e(sample) does not identify the estimation sample
Any help would be very much appreciated! :-)
Best regards,
Valdemar
Related Posts with Calculate economic significance for censored (Tobit) regression with multiple imputation
Conceptual/statistical question about supop().Hi Everyone, I am using several datasets that can be svyset. In each of these, I am interested in o…
Economic student that needs some help with date and year with panel dataHi everyone and happy thanksgiving! Its probably simple stuff but I'm having some difficulties so s…
Creating dummy variableDear, I have a question regarding creating dummy variables. With the data below as an example, I wa…
Survival Analysis at specific time point, ltable vs. sts test logrankI am examining the association between chemotherapy and survival among octogenarians with pancreatic…
The overall age-standardised rate (ASR) with 95% CIHello, I used the STATA code to calculate age-standardised rate (ASR), but it did not give me the o…
Subscribe to:
Post Comments (Atom)
0 Response to Calculate economic significance for censored (Tobit) regression with multiple imputation
Post a Comment