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 45 matches

by JuliavB
29 May 2023, 15:32
Forum: Post-estimation analysis/use of results
Topic: WTP for mixed logit with random parameters
Replies: 24
Views: 35579

Re: WTP for mixed logit with random parameters

Hi David, your response helps a lot, thank you very much. So just to get you right: With my initial code below I can indeed calculate the expected value of the WTP for A2 and A3 and its s.e. - all under the assumption that A2 and A3 are normally distributed random parameters. deltaMethod_settings=li...
by JuliavB
29 May 2023, 12:41
Forum: Post-estimation analysis/use of results
Topic: Out of sample tests
Replies: 7
Views: 8691

Re: Out of sample tests

Hi David, thank you very much for your advice. As you are mentioning, that out of sample testing does not calculate any measure of fit directly I am wondering if the Rho² in the report of every model can be seen as the main measure of fit then? Or is there any other measure of fit included in apollo...
by JuliavB
23 May 2023, 19:30
Forum: Post-estimation analysis/use of results
Topic: Out of sample tests
Replies: 7
Views: 8691

Re: Out of sample tests

Hi Stephane, thank you for your input. I´ve already implemented the out of sample testing in my analysis with the result that the model does not seem to be overfitting the data. But does that result of the out of sample test also say anything about how precise the model predicts the choices? Or shou...
by JuliavB
23 May 2023, 19:07
Forum: Post-estimation analysis/use of results
Topic: WTP for mixed logit with random parameters
Replies: 24
Views: 35579

Re: WTP for mixed logit with random parameters

When I assume the price parameter to be fixed and the other two parameters being random, can the WTP and its confidence intervalls be computed with the following code or am I missing anything: Do I have to account for the sigma in any way or is it considered when using the delta method code already?...
by JuliavB
11 May 2023, 14:21
Forum: Post-estimation analysis/use of results
Topic: Out of sample tests
Replies: 7
Views: 8691

Out of sample tests

Hi, in some older literature I´ve seen that researchers investigate how the results for two choice tasks which are excluded from the analysis can be predicted by the choosen model. The result of this investigations is something like "75% of the choices (of the two excluded tasks) can be predict...
by JuliavB
05 May 2023, 12:16
Forum: Estimation results
Topic: Writing Outliers to Output
Replies: 2
Views: 4025

Re: Writing Outliers to Output

Hi Stephane,

I do not know why but now it is working perfectly fine at my computer as well.

Thank you anyhow :)
by JuliavB
04 May 2023, 11:04
Forum: Estimation results
Topic: Writing Outliers to Output
Replies: 2
Views: 4025

Writing Outliers to Output

Dear all, I do not want my Outliers to be written to the output files. I´ve tried the following code but still the outliers are written to the output files. Can you help me with this? modelOutput_Liste = list(printChange=TRUE, printClassical=TRUE, printCorr=TRUE, printCovar=TRUE, printDataReport=TRU...
by JuliavB
10 Mar 2023, 10:31
Forum: Post-estimation analysis/use of results
Topic: WTP for mixed logit with random parameters
Replies: 24
Views: 35579

Re: WTP for mixed logit with random parameters

Hi Stephane, your information helped a lot. Thank you very much. Bootstrapping is not the answer here. But maybe you don't mean bootstrapping but simulation of the ratio? This is only possible if the inverse moments exist - see http://www.stephanehess.me.uk/papers/jo ... n_2012.pdf It's easy to get ...
by JuliavB
02 Mar 2023, 12:23
Forum: Post-estimation analysis/use of results
Topic: WTP for mixed logit with random parameters
Replies: 24
Views: 35579

Re: WTP for mixed logit with random parameters

Two more things just to be sure: 1. If my cost coefficient is lognormally distributed (the only random coefficient in my model) and the other attributes are dummy coded and therefore fixed coefficients, the WTP can be computed via delta method like b_A2/mu_cost or is there also other approach needed...
by JuliavB
02 Mar 2023, 12:09
Forum: Post-estimation analysis/use of results
Topic: WTP for mixed logit with random parameters
Replies: 24
Views: 35579

Re: WTP for mixed logit with random parameters

Thank you very much for clarifying. So, if I assume my cost coefficient being lognomally distributed and the other coefficients being normally distributed - so all three coefficients being random I have two options: 1. Estimating the model in WTP space to directly get the WTP values 2. Estimating th...