Can someone here suggest to me a suitable way to build a cross-lagged panel model with categorical variables on Stata MP 15.1? I built a cross-lagged panel model with categorical variables on Stata. Xs are binary variables, while Ys are continuous variables. They are repeated measurement across 5 waves. Equality constraints (i.e., a and b) were added as they have reciprocal associations. The causal directions of these variables are shown below. Array
In the first place, I used generalised response variables (i.e., family/link: Bernoulli / logit) to construct the variables of x, but I got errors when Stata displayed the GSEM results. Then, I changed the generalised response variables to observed variables (i.e., squares), and it ran smoothly. However, the effects of y on categorical x can’t be explained by the coefficients. That is, squares are for continuous variables, but Xs are binary variable. Alternatively, I should not use squares to construct Xs. What techniques should I apply to deal with this issue?
Related Posts with Building cross-lagged panel models with categorical variables on Stata
granger causality_second timeHello everyone I tried many times to run granger causality test but i got HTML Code: repeated time…
Cox Proportional Hazards Model with multiple failure events and panel dataI would like to use a Cox Proportional Hazards Model to estimate the hazard rate of an individual in…
Problem with time series: repeated time values within panelHi, I want to create a time series variable, but when I enter the commend tsset date, I receive the …
Interpreting logistic regression "Odds ratio ouputHello everyone I am investigating the factors that influence Adherence Pre-Exposure Prophylaxis (Pr…
LoopsHi, I have the following code : egen identifier = group(isin) sum identifier scalar max2=r(max) lo…
Subscribe to:
Post Comments (Atom)
0 Response to Building cross-lagged panel models with categorical variables on Stata
Post a Comment