Page 1 of 1

latent class model

Posted: 01 Feb 2022, 16:29
by duxdfx
Hi Stephane,

I am trying to specify a latent class model. But the class is not fixed for each individual over time. In other words, starting from one period, an individual's situation is changed, his status/group is changed. In model specification, I want to include not only individual demographic variables, but also time specific variablbes to indicate that class changes. Is that possible in Apollo?

Thanks,
Sheldon

Re: latent class model

Posted: 02 Feb 2022, 22:22
by stephanehess
Hi, sure, this is possible. What you need to do is to only have the call to apollo_panelProd after the averaging across classes, i.e. apollo_lc. So essentially, this is an intra-individual version of LC. The call to apollo_panelProd at the end will mean that you still recognise the repeated choice nature of the data when calculating the standard errors

Re: latent class model

Posted: 06 Feb 2022, 21:31
by stephanehess
just so say that there is a small bug preventing this from working at the moment. It's being fixed for version 0.2.8, the development version of which will be on our website in the coming days