I would like to do the latent class regression. The sample is at firm-year level. Normally, the gsem or fmm could help us to group those firm-year observations into classes based on the posterior probability.
For example:
fmm 2: regress y x1 x2 x3
predict classpost*, classposteriorpr
generate expclass = 1 + (classpost2>0.5)
I was wondering whether it is possible to group the firms instead of firm-years into latent classes.
Thanks so much!
Related Posts with Is it possible to generate latent class at firm level instead of firm year level.
Finding time trends in each variableI am working with panel data of 311 local authorities over 20 quarters. Is there a simple way to fin…
Correlation Data where there is quarterly trendsHi, I would like to find if there is a correlation between Compost and Recycling rates in each loca…
Issue with Levin Lin Chu unit root test and strongly balanced dataHi everyone, I am trying to apply xtunitroot llc on a strongly balanced panel dataset without gaps …
OLS RegressionHey folks i'm writing a term paper about the influence of parenthood on life satisfaction. Since it…
how to drop entire household (of two) if at least one household member has at least one missing on all explanatory variablesDear Statalist, each household consists of a man and a woman (female==1). I want to drop every hous…
Subscribe to:
Post Comments (Atom)
0 Response to Is it possible to generate latent class at firm level instead of firm year level.
Post a Comment