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
Placing a dot and a line segment on a graphHi, I'd love to get some help on drawling a dot (or a filled in circle) at (126, 0) and a line segme…
Most Common Medication Unweighted and WeightedHello, I'm currently working with NHANES data attempting to combine multiple survey years together …
Creating New Variable based on Values of Another Variable (by group)Hello Stata Friends: I would like to make the values of one variable, each into their own new varia…
Modelling Policy Measures in Fixed Effects Panel Regression?Dear all, I have a general question regarding the modeling of policy measures: I am investigating …
Duplicates in very large datasetHi all, I am trying to merge two huge datasets. To do so, I am generating a unique identifier as C…
Subscribe to:
Post Comments (Atom)
0 Response to boottest following gsem mediation model test non-linear hypothesis
Post a Comment