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.

Search found 10 matches

by firstenor
20 Jun 2025, 13:54
Forum: Model specification
Topic: Complicated Model Setup
Replies: 1
Views: 43993

Complicated Model Setup

I am running a large number of random-parameters latent-class models with similar structure but different datasets and different variable names. Apollo is extremely flexible but also is quite complicated to set up. I have working code for the first dataset, but I dread spending the better part of an ...
by firstenor
17 Jun 2025, 17:36
Forum: Examples (existing and requests for new ones)
Topic: Attribute_Non_Attendance LC model
Replies: 2
Views: 63522

Re: Attribute_Non_Attendance LC model

Has anyone tried to code the model Kiki asked about?
by firstenor
02 Aug 2022, 00:49
Forum: Errors during model validation and/or estimation.
Topic: Error when estimating a ICLV model with two sources of information
Replies: 12
Views: 110719

Re: Error when estimating a ICLV model with two sources of information

I am getting the same error with a data-fusion model. The code works for MNL estimation, but I get the "logical subscript too long" error even with 1 core. Was there any success in diagnosing this problem last year?

Here is the code:

##### Program based on Example 22 Joint Estimation and Example ...
by firstenor
28 Jun 2022, 14:43
Forum: Model specification
Topic: Data Fusion Model
Replies: 7
Views: 17985

Re: Data Fusion Model

I did see that example. I should have used the term "sequential logit", since the survey did not elicit a ranking as in the Case-3 BWS, but elicited a choice over 3 alternatives, followed by a second question to obtain a choice between the remaining two alternatives. So the data is set up as two ...
by firstenor
27 Jun 2022, 20:06
Forum: Model specification
Topic: Data Fusion Model
Replies: 7
Views: 17985

Re: Data Fusion Model

Reasonable answer. I looked, but obviously not hard enough. I suspect you have a button you push to generate that text with a blank space for "exploded logit" or corresponding term. I don't know how you find time to respond to all these postings, but it is a huge service to the research community.
by firstenor
27 Jun 2022, 13:53
Forum: Model specification
Topic: Data Fusion Model
Replies: 7
Views: 17985

Re: Data Fusion Model

Thanks. The RP/SP example showed how to multiply the likelihood functions from the separate datasets. I got it to work for a data-fusion model combining 5 DCE datasets. However, one of the studies used a two-question format to get a full ranking of 3 alternatives. I set up the data as exploded logit ...
by firstenor
25 May 2022, 17:30
Forum: Model specification
Topic: Data Fusion Model
Replies: 7
Views: 17985

Data Fusion Model

I am combining several DCE datasets, one of which ranks alternatives. Is it possible to combine MNL and EL specifications in a single model?
by firstenor
12 Aug 2021, 19:00
Forum: Examples (existing and requests for new ones)
Topic: Example 2 does not run
Replies: 4
Views: 49357

Re: Example 2 does not run

This is great software support. I'm looking forward to using Apollo for advanced choice modeling.
by firstenor
12 Aug 2021, 13:22
Forum: Examples (existing and requests for new ones)
Topic: Example 2 does not run
Replies: 4
Views: 49357

Re: Example 2 does not run

I just started using Apollo. I wouldn't know how to modify the code. I downloaded the example files from http://www.apollochoicemodelling.com/files/examples_v0.2.4.zip, opened Apollo_example_2.r in RStudio, and ran it. Example 1 ran without a hitch. Example 2 lines 113 to 118 include a bootstrap ...
by firstenor
11 Aug 2021, 20:42
Forum: Examples (existing and requests for new ones)
Topic: Example 2 does not run
Replies: 4
Views: 49357

Example 2 does not run

I am running a new installation of 2.5. Example 1 ran OK, but Example 2 crashed. Output shown below.


Preparing bootstrap.
Parameters and LL in each repetition will be written to: Apollo_example_2_bootstrap_params.csv
Vectors showing sampling rate for each observation in each repetition written to ...