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. This may take a day or two at busy times. There is no need to submit the post multiple times.

Coordinated choice (in general)

Ask questions about model specifications. Ideally include a mathematical explanation of your proposed model.
Post Reply
gregorymacfarlane
Posts: 11
Joined: 29 Oct 2020, 23:11
Contact:

Coordinated choice (in general)

Post by gregorymacfarlane »

I am looking to estimate a coordinated daily activity pattern choice model. The specific likelihood function might be a mixed logit or latent class, but I am curious if there are methods in Apollo to set up the coordination explicitly.

Specifically, consider two users n and m, choosing alternative j among choice set J. The utility function for an alternative j n is a function of their own utility, the other user's utility for that option, and any variables that might describe the interaction.

U_jn = U_jn + U_jm + X_jnm\lambda

An example application of this model is Gupta, et al. (2006) https://journals.sagepub.com/doi/abs/10.3141/2493-06. One known way to estimate this model is to expand the choice set from J to J^N, where N is the number of individuals that get coordinated. But this explodes real quick when there are multiple members of a household, or the number of alternatives is high.

Is it possible to configure the utility functions or likelihoods in Apollo to estimate this model without extensive data preparation? That is, could we specify a variable to identify coordination and then specify joint variables?
dpalma
Posts: 190
Joined: 24 Apr 2020, 17:54

Re: Coordinated choice (in general)

Post by dpalma »

Hi Gregory,

Currently, Apollo does not include any convenience routine to implement what you need. The closest I could recommend is using a loop to define the alternatives' utility in a more efficient way, in a similar fashion to example 30 in the website (http://www.apollochoicemodelling.com/fi ... ample_30.r).

Best
David
Post Reply