I am using Likert scale-based psychometric indicators to identify the two latent classes ( in R package poLCA) and then, based on the maximum item response probability, assigning each individual to a particular class (1 or 2).
Now I want to utilize these pre-defined classes instead of unknown W in the formulation:
W = CLASS_CTE + CLASS_INC * INCOME
PROB_class0 = models.logit({0: W, 1: 0}, None, 0)
PROB_class1 = models.logit({0: W, 1: 0}, None, 1)
After that, I will use these probabilities with a binary logit choice model to estimate both class membership and choice model coefficients.
I admit that using the following definition while using aggregate probability from the dataset is one way. However, then I would have no control over individuals and class membership equation based on sociodemographics.
PROB_CLASS1 = Beta('PROB_CLASS1', 0.23, 0, 1, 1)
PROB_CLASS2 = Beta('PROB_CLASS2', 0.77, 0, 1, 1)
My question is: Is there a way of replacing "W" with a variable representing two classes in the dataset. The model would then be a mixture of two binary logit distributions.
Please assist me with this issue and let me know if you have any questions.
Thanks,
Ishant
--
You received this message because you are subscribed to the Google Groups "Biogeme" group.
To unsubscribe from this group and stop receiving emails from it, send an email to biogeme+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/biogeme/e7079244-3eb2-4293-962a-d6c0e617f035n%40googlegroups.com.
On 19 May 2022, at 16:13, Ishant Sharma <reachish...@gmail.com> wrote:
Thanks for the swift response, Prof Bierlaire.
I understood structural and measurement equation part performed as part of structural equation modeling (thanks to my experience in working with integrated choice and latent variable models). However, my only doubt is how do we make latent variable categorical (to consider it as a class) as the structural equation modeling approach works well for continous latent variable.
To view this discussion on the web visit https://groups.google.com/d/msgid/biogeme/512ab4e1-41be-424b-be69-c904dae6a342n%40googlegroups.com.