Hi everyone, after some thorough searching on my own, I think I need a little nudging in a helpful direction:
GOAL:
Derive boostrapped Confidence Intervals for my specified indirect effects while using GSEM for model building.
CURRENT APPROACH:
I am using GSEM for model building (factor variables specified as IV's), and using NLCOM to derive the indirect effects. I would like build a bootstrap program to do this.
So far, the GSEM works without issue.
My NLCOM works without issue.
My attempts thus far to building a functioning bootstrap program for this has been a total failure. The program(s) I have built thus far are more than happy to run GSEM and NLCOM, but my attempts to store the relevant parameter from the NLCOM has been a bust.
My current understanding of what I should be doing is I would like to save the parameter from the NLCOM into a defined scalar, and this defined scalar is then referenced in the boostrap program. However, I fail here, as I always get the error "non r-class program may not set r() ". I presume this means I'm missing something obvious because of my limited Stata knowledge.
I am *not* committed to using NLCOM if there is another way to derive the indirect effect that plays nicely with bootstrap. I *am* committed to sticking with GSEM if at all possible.
Thank you in advance for any tips!
Related Posts with GSEM NLCOM and Bootstrapping
Help with ML ProgramHello, I am trying to define and estimate the parameters from a log likelihood function using minimu…
Flipping models, coefficients, number of observations and number of clusters with esttabHello everyone, Firstly, I am a Stata 14 user. I have a question regarding esttab command and flipp…
Reformatting a monthly date variableI have a date variable in month-year format that looks like "2012m8". I got to that format using the…
3 Dummy variables in panel dataHello everyone, I have a question since i need 3 dummy variables there must be always one dummy var…
How to rank value in each specific date of each firmsHi all, I have data as follow (from 04Jan2012 to 31Dec2021) Code: * Example generated by -dataex-. …
Subscribe to:
Post Comments (Atom)
0 Response to GSEM NLCOM and Bootstrapping
Post a Comment