Hello! I am trying to run SEM on the model I have attached. I can't seem to figure out why it runs perfectly fine on everything except when I try to link the latent variable Behavioral to Intensity. Once I try to estimate to get this last relationship, it iterates nonstop. It is a constant loop. I am new to SEM, and I have tried using the dif option, tried different algorithms, and have used the matrix command to use the data from the latest model to converge with the addition of this variable. I could be using it incorrectly, but when I get the output from the model attached, I run "matrix b = e(b)". This is the following code I enter:
sem (Cognitive -> poc_consciousness_raising, ) (Cognitive -> poc_dramatic_relief, ) (Cognitive -> poc_environmental_reevaluation, ) (Cognitive -> poc_self_reevaluation, ) (Cognitive -> poc_self_liberation, ) (Cognitive -> mean_hrpct, ) (Behavioral -> poc_social_liberation, ) (Behavioral -> poc_counterconditioning, ) (Behavioral -> poc_helping_relationships, ) (Behavioral -> poc_reinforcement_management, ) (Behavioral -> poc_stimulus_control, ) (Behavioral -> mean_hrpct, ) (age -> mean_hrpct, ) (gender -> mean_hrpct, ) (race_code -> mean_hrpct, ) (bmi -> mean_hrpct, ) (jp_fat -> mean_hrpct, ) if measurement==1 & removemean_hrpctz==0, covstruct(_lexogenous, diagonal) cov(_lexogenous*_oexogenous@0) method(mlmv) standardized latent(Cognitive Behavioral ) cov( Cognitive*Behavioral) nocapslatent from(b)
I'm not sure why my other latent variable has no issue at all but this one does. I would appreciate any help I can get with this. When I run the command above, iterations 0-7 all have (not concave) beside the values, so I'm believing that this could be the issue.
Thank you in advance for any input as I'm a beginner to SEM.
(As a side note, is there a way in which I can remove the coefficients inside the variable shapes?)
Related Posts with Help with SEM in Stata
How to Estimate Unobservable Time-Specific Shocks on Dependent Variables?I have a problem that deals with human capital. Given Wit=KitRt where human capital Kit is unobserva…
How do you write a file path to use a file on Google Drive?I have a .dta file stored in a folder on Google Drive. The URL is https://drive.google.com/drive/fol…
Omitted Variables Interaction ReghdfeHello, If this has been answered somewhere else, please direct me to the correct thread. I tried loo…
Why do results of teffects versus psmatch2 differ so much?I use teffects and psmatch2 to check if they produce same results. They do not. Below is the code. W…
Citing stataHello, can anyone advise what these citations would be classed as: https://www.stata.com/support/faq…
Subscribe to:
Post Comments (Atom)
0 Response to Help with SEM in Stata
Post a Comment