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
Margins expressionFor a panel fe regression where the IV and DV have both been log-transformed, I would like to know h…
Fill in an unbalanced datasetHi all, my dataset looks as follows Code: * Example generated by -dataex-. To install: ssc instal…
Stata merging help - date horizontalHi there, I am currently struggling to merge two data files in the way that I want on Stata, so if …
How to handle endogeneity issues when doing probit?Dear all, I have difficulty in adjusting endogeneity after using -probit-. According to the results…
Testing difference between regression coefficients in panel dataHi Statalist I use panel data of couples, each observation (is one household defined by the variab…
Subscribe to:
Post Comments (Atom)
0 Response to Help with SEM in Stata
Post a Comment