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
keeping observation with lowest value and get the median of thatHello, I have a panel data and I want to keep the observation with the minimum value of Days for eac…
Difference in months between dates in year-month formatHi, I am a beginner in learning stata. I have data where I have a column for month in numbers 1 to …
Wide to Long Reshaping Hi all, I have data in the following format: Code: * Example generated by -dataex-. For mo…
Struggling with hbarI've been working to finalize my code for a figure, and I'm struggling to be able to see the entiret…
Transpose between row and columnHi all, I know there are lots of posts about transpose, but I still find troubles with my table. I h…
Subscribe to:
Post Comments (Atom)
0 Response to Help with SEM in Stata
Post a Comment