When I tried to fix the variance of the change scores at 0, it gave me an error
?lavOptions--
You received this message because you are subscribed to the Google Groups "lavaan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lavaan+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lavaan/be4a93d4-bb80-42ab-aee4-0a1e3e50735bn%40googlegroups.com.
I m trying to stimulate a 4-Likert cat dataset i receive this error when I m adding the thresholds statements
SE=~RIET=~RIRI=~PGSE=~PGET=~PG
! meansET+RI+PG+ SE~1*1;x1+x2+x3+x4+x5+x6+x7+x8+x9+x10+x11+x12+x13~1*1;y1+y2+y3+y4+y5+y6+y7+y8+y9+y10+y11+y12+y13+y14+y15+y16+y17~1*1;
Hello, everyone.
Since no one has responded to my question so far, I believe I may not have been specific enough to provide a clear understanding of the problem. I am available to provide further clarification if needed.
The data used in my analysis comes from the 2010 demographic census conducted by IBGE, the Brazilian agency responsible for that year’s census survey. The data of interest is associated with a specific municipality in the state of Minas Gerais (Brazil), and my research aims to explore causal relationships within families whose per capita household income is up to half the minimum wage.
To create a dataset suitable for use with the lavaan package, the data was sourced from two files. The first file contains census information about households, and the second includes data about individuals surveyed. The CSV file I shared is the result of a probabilistic match, where each individual was randomly assigned to a household within the same income category. The resulting data was then adjusted to a normal distribution and scaled to have a mean of zero and a variance of one.
Thus, the CSV file contains both continuous, binary and categorical data. The categorical variables were adjusted following the approach detailed by Bollen (2014) in Chapter 9 (reference in the end of this message). As mentioned in my message from november 28th, variables V2 and V14 were excluded from the model because they resulted in zero variance during the data filtering process. Rows with missing data were also discarded.
Below is the description of each observable and latent variable:
The reference of Bollen (2014) is: Bollen, K. A. (2014). Structural Equations with Latent Variables. Wiley.
I hope this additional information helps clarify my query, and I am available to discuss any aspect of the dataset or model further. Thank you in advance for your assistance and have a nice weekend.
Best regards!