Socio economic classes for latent class model

10 views
Skip to first unread message

Marie Duper

unread,
Jun 28, 2024, 9:11:56 AM (5 days ago) Jun 28
to Biogeme
Hi

I have a latent class model working for two classes. It includes socio economic factors. I was wondering: 

How do I include eg 3 classes I am going wrong here

PROB_class0 = logit({0:W, 1:0, 2:0}, None, 0)
PROB_class1 = logit({0:W, 1:0, 2:0}, None, 1)
PROB_class2 = logit({0:W, 1:0, 2:0} None, 2)



Also how do I interpret the outputs.

B_ACS2_class0 0.024175 0.034319 0.704431 B_ACS2_class1 0.100686 0.042256 2.382772 B_SIGMA_PANEL_ASC2_class0 0.426621 0.050057 8.522618 B_SIGMA_PANEL_ASC2_class1 -0.000011 0.229234 -0.000046 B_color_class1 0.006670 0.059599 0.111909 B_day_class1 -0.116566 0.074876 -1.556799 B_size_class1 -0.506037 0.078516 -6.444996 CLASS_1 5.043362 1.217259 4.143212 CLASS_Age 0.077050 0.069373 1.110657 CLASS_Child -0.333996 0.175420 -1.903980 CLASS_Education -0.056215 0.040115 -1.401339 CLASS_Gender 0.206911 0.156089 1.325599  


I understand the beta coefficients (relative to class 0) but not the socio economic ones. 
what are these relative to?


Thank you 
M

Michel Bierlaire

unread,
Jun 28, 2024, 9:29:25 AM (5 days ago) Jun 28
to marie...@gmail.com, Michel Bierlaire, Biogeme
You need a W for class 0 and another one for class 1, with different coefficients.
> --
> 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/2bccfe55-bb1b-4ef2-92cf-59ff01473998n%40googlegroups.com.

Michel Bierlaire
Transport and Mobility Laboratory
School of Architecture, Civil and Environmental Engineering
EPFL - Ecole Polytechnique Fédérale de Lausanne
http://transp-or.epfl.ch
http://people.epfl.ch/michel.bierlaire

Reply all
Reply to author
Forward
0 new messages