Page 1 of 1

Implementing Second-Order latent variables in Hybrid Choice Models with Apollo

Posted: 23 Oct 2024, 10:28
by dominicgarcia
Dear Hess,

I was wondering whether it is possible to define and incorporate a second-order latent variable in a hybrid choice model using Apollo? So a latent variable which is defined by the combination of two first-order latent variables.

Thank you very much.

Re: Implementing Second-Order latent variables in Hybrid Choice Models with Apollo

Posted: 04 Dec 2024, 14:40
by stephanehess
Hi

yes, this is possible.

You could have something like this:

Code: Select all

randcoeff[["LV1"]] = ...
randcoeff[["LV2"]] = tau * randcoeff[["LV1"]] + ...