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.

Search found 1046 matches

by stephanehess
18 Jul 2020, 22:06
Forum: Errors during model validation and/or estimation.
Topic: An error when estimating nonlinear utility specification
Replies: 3
Views: 5527

Re: An error when estimating nonlinear utility specification

Tim

good lesson to always track back to see where you get the first error

Best wishes

Stephane
by stephanehess
18 Jul 2020, 16:04
Forum: Errors during model validation and/or estimation.
Topic: An error when estimating nonlinear utility specification
Replies: 3
Views: 5527

Re: An error when estimating nonlinear utility specification

Tim

do you get any errors when running apollo_inputs = apollo_validateInputs()

Stephane
by stephanehess
17 Jul 2020, 11:07
Forum: Other
Topic: Online course in choice modelling and stated choice survey design?
Replies: 1
Views: 9742

Re: Online course in choice modelling and stated choice survey design?

This year, the courses organised by the Choice Modelling Centre will be available online too (http://cmc.leeds.ac.uk/courses-phds/cpd/)

To discuss one-to-one Apollo training, please write to contact@apollochoicemodelling.com
by stephanehess
13 Jul 2020, 20:30
Forum: Bug reports
Topic: Prediction of mixed MDCEV models
Replies: 2
Views: 6863

Re: Prediction of mixed MDCEV models

Hi Yishih On point 1, this was a bug. This has been fixed in v0.1.1 which you can download from http://www.apollochoicemodelling.com/code.html already and which will be released on CRAN sometime this summer On point 2, sorry, but these means and standard deviations are computed inside the code in an...
by stephanehess
10 Jul 2020, 15:58
Forum: Estimation results
Topic: Could the LL of a full model worse than that for the reduced model?
Replies: 12
Views: 18512

Re: Could the LL of a full model worse than that for the reduced model?

Tim the sign of the correlation depends on the sign of the product of hinc_sig_20* hinc_sig_20_90. Section Section 9.2.5 in Kenneth Train's book. The Delta method can be used for this, but you'd need to work out the derivatives yourself - they're not implemented in Apollo for the standard errors. Be...
by stephanehess
09 Jul 2020, 22:03
Forum: Estimation results
Topic: Could the LL of a full model worse than that for the reduced model?
Replies: 12
Views: 18512

Re: Could the LL of a full model worse than that for the reduced model?

Hi Tim I've looked into your model in detail and I believe I have found the reason this is happening. In your base specification, you use the same coefficient whether the treatment is 20 or 90. In your more general model, you use separate parameters. Now, you see that in the MNL model, the more gene...
by stephanehess
09 Jul 2020, 21:11
Forum: Errors during model validation and/or estimation.
Topic: Errors when using sobol draws in RPL
Replies: 3
Views: 6275

Re: Errors when using sobol draws in RPL

Hi Tim thanks for sharing the code and data with me which allowed me to investigate this. On my machine, the code runs fine with Sobol and with other draws. The error you are getting is actually not by Apollo but by randtoolbox which is called by Apollo for Sobol draws. Can I suggest that in the fir...
by stephanehess
08 Jul 2020, 22:29
Forum: Model specification
Topic: Binary/Multinomial logit in the measurement model for HCM
Replies: 3
Views: 6335

Re: Binary/Multinomial logit in the measurement model for HCM

Hi Richard on point 1, what you do is indeed the easiest and best way of doing it. You could use the same list for the different components, but you would need to reset it in between each component (so you start with an empty one). While that would save a little memory compared to creating new lists...
by stephanehess
07 Jul 2020, 22:31
Forum: Bug reports
Topic: Get predictions from the model with many alternatives
Replies: 3
Views: 12126

Re: Get predictions from the model with many alternatives

Hi Houman

thanks, this was a bug. This has been fixed in v.0.1.1 which you can download from the website (http://www.apollochoicemodelling.com/code.html)

Best wishes

Stephane
by stephanehess
03 Jul 2020, 21:18
Forum: Estimation results
Topic: Could the LL of a full model worse than that for the reduced model?
Replies: 12
Views: 18512

Re: Could the LL of a full model worse than that for the reduced model?

Tim that's a much larger difference in fit than one would expect with different draws but is in line with recent tests I've done on antithetic draws and changing signs of sigmas. What happens when you use your model with different draws, but use the results from the reduced model as starting values ...