Hello,
I have 2 exogenous continuous variables and 2 endogenous variables (one continuous and one dummy variable).
(DV1<- X1, X2) (DV2<-DV1 X1 X2) (DV3<-DV1 DV2 X1 X2)
DV1-continuous (endogenous)
DV2-categorical (endogenous)
X1-continuous (exogenous)
X2-continuous (exogenous)
DV3-continous (exogenous)
Question: I'm fairly new to SEM and I want to run a model with these vars, but my understanding is that sem works with linear models and gsem works with categorical exogenous variables, but what if you have both? Is it appropriate to run a gsem model?
Question: I am very familiar with seeing the R2 as variance explained by the model, but what syntax do you use to get the proportion of total variance explained by each variable?
Thanks for the assistance. Like I said, I'm somewhat new to these models.
Cam
I have 2 exogenous continuous variables and 2 endogenous variables (one continuous and one dummy variable).
(DV1<- X1, X2) (DV2<-DV1 X1 X2) (DV3<-DV1 DV2 X1 X2)
DV1-continuous (endogenous)
DV2-categorical (endogenous)
X1-continuous (exogenous)
X2-continuous (exogenous)
DV3-continous (exogenous)
Question: I'm fairly new to SEM and I want to run a model with these vars, but my understanding is that sem works with linear models and gsem works with categorical exogenous variables, but what if you have both? Is it appropriate to run a gsem model?
Question: I am very familiar with seeing the R2 as variance explained by the model, but what syntax do you use to get the proportion of total variance explained by each variable?
Thanks for the assistance. Like I said, I'm somewhat new to these models.
Cam
Comment