Comparing types of draws (Halton, Sobol, MLHS, etc.)
Bhat, C.R. (2001). Quasi-random maximum simulated likelihood estimation of the mixed multinomial logit model. Transportation Research Part B 35(7), 677–693. This is the classic paper showing Halton draws outperform pseudo-random draws.
Bhat, C.R ...
Important: Read this before posting to this forum
- 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.
- 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
- Before asking a question on the forum, users are kindly requested to follow these steps:
- Check that the same issue has not already been addressed in the forum - there is a search tool.
- 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
- Check the frequently asked questions section on the Apollo website, which discusses some common issues/failures. Please see http://www.apollochoicemodelling.com/faq.html
- Make sure that R is using the latest official release of Apollo.
- Users can check which version they are running by entering packageVersion("apollo").
- Then check what is the latest full release (not development version) at http://www.ApolloChoiceModelling.com/code.html.
- To update to the latest official version, just enter install.packages("apollo"). To update to a development version, download the appropriate binary file from http://www.ApolloChoiceModelling.com/code.html, and install the package from file
- If the above steps do not resolve the issue, then users should follow these steps when posting a question:
- provide full details on the issue, including the entire code and output, including any error messages
- 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 1374 matches
- 12 Nov 2026, 17:15
- Forum: Errors during model validation and/or estimation.
- Topic: Convergence with different types of draws
- Replies: 3
- Views: 20769
- 22 Oct 2026, 16:10
- Forum: Bug reports
- Topic: Long to Wide issue
- Replies: 4
- Views: 6489
Re: Long to Wide issue
Hi
this is indeed a bug in 0.3.9 which is being fixed for 0.4.0. A development version should be on the website within a week or so, and the official release in early November
Stephane
this is indeed a bug in 0.3.9 which is being fixed for 0.4.0. A development version should be on the website within a week or so, and the official release in early November
Stephane
- 12 Oct 2026, 15:56
- Forum: Post-estimation analysis/use of results
- Topic: Power analysis for mixed logit with interaction terms
- Replies: 1
- Views: 5605
Re: Power analysis for mixed logit with interaction terms
Hi
this question goes beyond Apollo and I suggest you ask e.g. Esther de Bekker-Grob who is active in that area
Best wishes
Stephane
this question goes beyond Apollo and I suggest you ask e.g. Esther de Bekker-Grob who is active in that area
Best wishes
Stephane
- 12 Oct 2026, 15:53
- Forum: Bug reports
- Topic: Long to Wide issue
- Replies: 4
- Views: 6489
Re: Long to Wide issue
Hi
can you provide us with more information, such as the column names and data types in the original data, plus the call you make with the settings, etc
Thanks
Stephane
can you provide us with more information, such as the column names and data types in the original data, plus the call you make with the settings, etc
Thanks
Stephane
- 15 Sep 2026, 06:41
- Forum: Model estimation
- Topic: Runtime and convergence for large multi-select MDCEV models
- Replies: 3
- Views: 11436
Re: Runtime and convergence for large multi-select MDCEV models
Hi
the version without mixing should not cause problems, especially as the forthcoming version of Apollo will include analytical gradients for MDCEV and MDCNEV. For the version with mixing, you'll want to ensure you run this on a machine with sufficient RAM and a large number of cores
Stephane
the version without mixing should not cause problems, especially as the forthcoming version of Apollo will include analytical gradients for MDCEV and MDCNEV. For the version with mixing, you'll want to ensure you run this on a machine with sufficient RAM and a large number of cores
Stephane
- 07 Sep 2026, 17:29
- Forum: Model specification
- Topic: modelling unforced choice in dual-response DCE
- Replies: 1
- Views: 12332
Re: modelling unforced choice in dual-response DCE
If the second choice is truly only between the first pref and the opt-out, then it's indeed a sequence of two binary choices. let's say someone chooses A over B, then SQ over A. It would then be P(A|A,B)*P(SQ|B,SQ). You need to model them jointly in this way. If you only model the choice for the ...
- 07 Sep 2026, 17:25
- Forum: Model specification
- Topic: AIC and BIC disagreeing unanimously in opposite directions
- Replies: 1
- Views: 8407
Re: AIC and BIC disagreeing unanimously in opposite directions
hi
from what you describe, model B is a restricted version of model A, so the correct comparison is to use a likelihood-ratio test
Stephane
from what you describe, model B is a restricted version of model A, so the correct comparison is to use a likelihood-ratio test
Stephane
- 19 Aug 2026, 11:46
- Forum: Estimation results
- Topic: Negative scale coefficient in MaxDiff / Case 2 BWS LC model
- Replies: 3
- Views: 23403
Re: Negative scale coefficient in MaxDiff / Case 2 BWS LC model
There are a number of other possible reasons here:
- class 2 captures people that do not engage with the worst choice, and the scale parameter is thus not different from 0
- the simple asymmetry assumption between best and worst might not be appropriate
On that second one, did you try separate ...
- class 2 captures people that do not engage with the worst choice, and the scale parameter is thus not different from 0
- the simple asymmetry assumption between best and worst might not be appropriate
On that second one, did you try separate ...
- 03 Jul 2026, 13:09
- Forum: Models and estimation
- Topic: Choosing 'beta_fixed' paramters for Latent Class
- Replies: 1
- Views: 22536
Re: Choosing 'beta_fixed' paramters for Latent Class
Hi
the simple logic to follow is that only differences in utility matter. So in each class, you need to make sure that your model is idenitifed, so e.g. fixing one level for categorical variables and one ASC. In the class allocation models, the characteristics are shared across classes, so there ...
the simple logic to follow is that only differences in utility matter. So in each class, you need to make sure that your model is idenitifed, so e.g. fixing one level for categorical variables and one ASC. In the class allocation models, the characteristics are shared across classes, so there ...
- 19 Jun 2026, 07:41
- Forum: Model specification
- Topic: CNL models with individual alphas
- Replies: 4
- Views: 34329
Re: CNL models with individual alphas
Hi - you can use apollo_deltaMethod for that, just write down the expression for the difference in the alphas