Questions tagged [structural-equation-model]

Structural equation modeling includes a diverse set of mathematical models, computer algorithms, and statistical methods that fit networks of constructs to data. Structural equation modeling includes confirmatory factor analysis, confirmatory composite analysis, path analysis, partial least squares path modeling, and latent growth modeling.

Structural equation modeling includes a diverse set of mathematical models, computer algorithms, and statistical methods that fit networks of constructs to data. Structural equation modeling includes confirmatory factor analysis, confirmatory composite analysis, path analysis, partial least squares path modeling, and latent growth modeling.

157 questions
1
vote
1 answer

How to interpret output "Percent_Sig" in ParcelAllocaiton Function (Sem Tools)?

In the parcel allocation function, there is an output called "Percent_Sig". I interpreted this value as an averaged p-value acros allocations. (e.g. 1rst allocation p-value 0.56, 2nd allocation p-value 0.34, 3rd allocation p-value 0.54 -> averaged…
HHKK
  • 21
  • 3
1
vote
1 answer

Changing seasonality over time in structural model using KFAS package in R

I have a time series for which I want to adjust a structural model (trend, seasonal and cycle) using KFAS. However, seasonality starts at a certain point in time. Say, the time series ranges monthly from january 2000 through august 2022, but…
1
vote
1 answer

R / Lavaan / rmsea=0, srmr=0, cfi=1, tli=1 what is issue

I want to ask you guys about some CFA question in R. When I do cfa for A1, A2, A3 factors using CFA in R, I've got model goodness of fit as like the image below. A <- 'A1 =~ A_1_1 + A_1_2 + A_1_3 A2 =~ A_2_1 + A_2_2 A3 =~ A_3_1 + A_3_2 +…
1
vote
1 answer

How to extract measurement error in Lavaan (cfa) as a score?

I want to extract the variance that is common in 3 variables from my items. I believe I could perform a CFA and fix the loadings to be equal and then extract the "measurement error," which I expect would be scores per item for every datapoint, such…
1
vote
1 answer

Is it necessary to fix covariance to zero when the variance of a factor is fixed at zero?

When I conducted sem using lavaan, I found the variance of a factor was negative. So I fixed the variance of this factor to be zero. Should I fix the covariance with this factor also to be zero? I knew that in Mplus, when one constrained the…
1
vote
1 answer

lmer longitudinal analyses in R for variance within subjects and between timepoints

I have the following longitudinal (3 Timepoints) data set: # A tibble: 504 x 6 ID Age Age_group Sex Timepoint outcome 1 33714 15 Young Male bl 0.00103 2 35377 15…
CanyonView
  • 401
  • 3
  • 15
1
vote
0 answers

"Could not compute standard errors" and "The variance-covariance matrix of the estimated parameters does not appear to be positive definite!"

I've been stuck on this assignment for days. Can someone please help me understand what I'm doing wrong? I've included a picture of the path diagram and labels for each step to make my thought process clear. I'm new to SEM and the model would be the…
NCM
  • 11
  • 1
1
vote
1 answer

Fixed effect and random intercept models using "lavaan" in R: advice on coding

I´m trying to fit some path models (i.e. all variables are observed; no latent variables) using “lavaan” in R. I´ve been able to do this successfully for a model where the data are completely pooled (Model 1, below). But, the data are grouped and…
1
vote
0 answers

Problem with function/ replacement has length zero

I'm trying to run the following function proposed by Lai et al., 2021, that aims to compare fit differences in non-nested models with categorical AVs. The Models look like this: Mod1 <- ' # Measurement models # Predictor Variables …
Jan
  • 61
  • 1
  • 8
1
vote
0 answers

Discrete Choice modelling in Lavaan package - R

I am trying to use structural equation modelling (SEM) where I would have the final dependent variable which is nominal, thus requiring Choice modelling. Is there a way I can do this choice modelling in lavaan package in R or any other R package for…
snow
  • 31
  • 2
1
vote
0 answers

Implementing a structural equation model in a hybrid regression model with longitudinal data

I am working on longitudinal data with three waves and have first utilized a hybrid probit regression model (within-between regression model). I have run the analyses in STATA using the following code: xtprobit AdhLastWeekNewT m_povertyT d_povertyT…
1
vote
1 answer

Model fit of SEM in Lavaan

What is the reason for CFI=0 in a sem model in Lavaan. Statistic values are attached
Stat009
  • 45
  • 1
  • 5
1
vote
1 answer

SEM (Structural Equation Model) Moderated Mediation but returns with "information matrix could not be inverted warning"

I'm building a structural equation model that incorporates 4 latent variables: personal lifestyle, social lifestyle, trauma score, and the DV (well-being). Sample = 360 people. I've included the final model below. "pl" and "sl" represent personal…
James
  • 459
  • 2
  • 14
1
vote
0 answers

Trying to calculate the indirect effects in a multilevel structural equation model using Stata. Can someone confirm than I have this code right?

I'm trying to build a multilevel structural equation model in stata, using Example 42g in the Stata handbook as a guide. My code is working, but I'm going off-book a little in calculating the indirect effects and could just use a sanity check from…
1
vote
0 answers

How to Adjust for Cronbach's Alpha Measurement Error in lavaan in R

Can anyone advise how best to account for measurement error (as measure by Cronbach's alpha) using the lavaan package in R? Below is a full example. The example attempts to predict the number of friends someone has based on their level of…
aspark2020
  • 341
  • 2
  • 17
1 2
3
10 11