Important: Read this before posting to this forum

  1. This forum is for questions related to the use of Apollo. We will answer some general choice modelling questions too, where appropriate, and time permitting. We cannot answer questions about how to estimate choice models with other software packages.
  2. There is a very detailed manual for Apollo available at http://www.ApolloChoiceModelling.com/manual.html. This contains detailed descriptions of the various Apollo functions, and numerous examples are available at http://www.ApolloChoiceModelling.com/examples.html. In addition, help files are available for all functions, using e.g. ?apollo_mnl
  3. Before asking a question on the forum, users are kindly requested to follow these steps:
    1. Check that the same issue has not already been addressed in the forum - there is a search tool.
    2. Ensure that the correct syntax has been used. For any function, detailed instructions are available directly in Apollo, e.g. by using ?apollo_mnl for apollo_mnl
    3. Check the frequently asked questions section on the Apollo website, which discusses some common issues/failures. Please see http://www.apollochoicemodelling.com/faq.html
    4. Make sure that R is using the latest official release of Apollo.
  4. If the above steps do not resolve the issue, then users should follow these steps when posting a question:
    1. provide full details on the issue, including the entire code and output, including any error messages
    2. posts will not immediately appear on the forum, but will be checked by a moderator first. We check the forum at least twice a week. It may thus take a couple of days for your post to appear and before we reply. There is no need to submit the post multiple times.

Mediated HCM choice structure using apollo_combineModels

Ask questions about model specifications. Ideally include a mathematical explanation of your proposed model.
Post Reply
MaCreSchu
Posts: 2
Joined: 11 May 2026, 09:36

Mediated HCM choice structure using apollo_combineModels

Post by MaCreSchu »

Dear Apollo Team,

I am estimating a Hybrid Choice Model (HCM) and have a brief technical question regarding the use of apollo_combineModels for a mediated choice structure.

My Model Structure:

Latent Variable (LV) with ordered logit measurement equations and structural effects from observed characteristics

Choice 1 (Medium-term, binary logit): Car Ownership (Yes, No), where the utility is driven by the LV and observed characteristics

Choice 2 (Short-term, Ordered Logit): Car Use Frequency, where the utility is driven by the LV, the observed choice outcome of Choice 1 (Car Ownership) and observed characteristics

My Question:
Is it technically correct in Apollo to include the observed choice variable from Component 1 as a direct covariate in the utility function of Component 2, and then simply multiply all probability lists (Measurement + Choice 1 + Choice 2) using apollo_combineModels(P, apollo_inputs, functionality)?

I want to ensure this standard approach correctly captures the joint likelihood when one choice component directly depends on the observed outcome of the other.

Thank you very much for your time and guidance!

Best regards,

Matthias
stephanehess
Site Admin
Posts: 1362
Joined: 24 Apr 2020, 16:29

Re: Mediated HCM choice structure using apollo_combineModels

Post by stephanehess »

Matthias

would people without a car still have non-zero use frequency though? If not, then you wouldn't use the choice 2 at all. If yes, then you could use different thresholds for such people. I wouldn't directly include car ownership in the utiity

Stephane
--------------------------------
Stephane Hess
www.stephanehess.me.uk
MaCreSchu
Posts: 2
Joined: 11 May 2026, 09:36

Re: Mediated HCM choice structure using apollo_combineModels

Post by MaCreSchu »

Hi Stephane,

Thank you for your quick reply and for pointing this out! You are completely right regarding the structural zero issue for people without a car.

I actually need to clarify my variable definition: I am not modeling car ownership, but rather car availability.

To resolve the issue you mentioned, my approach is as follows:

The Choice 1 Variable: It is a binary indicator for high availability (1 = "always available", 0 = "sometimes available").

The Sample Restriction: I have completely excluded individuals who never have access to a car from the estimation sample. Therefore, everyone in the dataset can have a non-zero car use frequency for Choice 2.

Given this setup (where the structural zero issue is eliminated), I would like to re-ask my initial question:

Is it technically correct in Apollo to include the observed choice variable from Component 1 (Car availability) as a direct covariate in the utility function of Component 2 (Car use frequency), and then simply multiply all probability lists (Measurement + Choice 1 + Choice 2) using apollo_combineModels(P, apollo_inputs, functionality)? Or is it standard practice to not include the outcome of Choice 1 into the utility of Choice 2?

I have to say that I successfully ran this model with 5000 Draws and the coefficients make sense (significant effects from LVs to Car availability and use and significant positive effect from car availability to use as well), but I want to ensure that it is also correct from a methodological standpoint.

Matthias
stephanehess
Site Admin
Posts: 1362
Joined: 24 Apr 2020, 16:29

Re: Mediated HCM choice structure using apollo_combineModels

Post by stephanehess »

I would potentially interact it with the thresholds in your ordered model for car use

regarding the joint model, what is shared between the models?
--------------------------------
Stephane Hess
www.stephanehess.me.uk
Post Reply