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
power analysis after ttestI'm trying to import the means and stds from a two sample ttest into power twosample, but the power …
Problems with -collapse- commandHi all, I have a problem when I use the -collapse- command. In the following code every time I use …
appending a string and time variablesTwo of the variables in my dataset needs to be appended into a new variable. The first of represents…
xtqreg and reghdfeHello, My question can be summarized as... why does xtqreg and reghdfe produce similar results when…
Error Code r 601Hello, I am trying to import an excel file into STATA but I receive the error code r 601. I am usin…
Subscribe to:
Post Comments (Atom)
0 Response to boottest following gsem mediation model test non-linear hypothesis
Post a Comment