I'm estimating a mediation model using gsem: I post a toy version below. I want to use boottest to give me clustered standard errors (that will involve the bootcluster(x) option, but we don't need that to illustrate the problem). Following estimation, boottest allows me to test hypotheses about individual coefficients, or additive combinations of coefficients (the first three boottest commands, below), but it won't let me multiply them, which is what I need to do to get a mediated (indirect) effect. Will boottest not do non-linear combinations, or am I missing something?
sysuse panel, clear
gsem (gdp_cap_l <- train rr i.year i.id) (train <- rr ep i.id i.year)
boottest _b[gdp_cap_l:train]=0
boottest _b[train:rr]=0
boottest _b[train:rr] + _b[gdp_cap_l:train]=0
boottest _b[train:rr]*_b[gdp_cap_l:train]=0
Related Posts with boottest following gsem mediation model test non-linear hypothesis
Missing SE in cox regression.Dear All, I am new to survival analysis using Stata and am trying to estimate a standard cox proport…
command _qregtrace is unrecognizedWhen I used command "grqreg" to graph quantile regressions, I got error saying "command _qregtrace i…
Hansen test for xtdpdsysHi. I am fairly new to stata but can anyone tell me how I can get the Hansen j statistics after usin…
Eventdd errorHi, I am trying to estimate the eventdd technique on panel data using the code created by @Damian C…
placebo analysis: time falsification and location falsificationHi , My variable of interest is an indicator variable (LAW) that equals 1 if a firm is in a state h…
Subscribe to:
Post Comments (Atom)
0 Response to boottest following gsem mediation model test non-linear hypothesis
Post a Comment