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

by alvarogutyerrez
15 Jul 2022, 17:08
Forum: Feature requests
Topic: File path of model outputs
Replies: 5
Views: 11967

Re: File path of model outputs

Hi Stephane, Thank you for your answer. Yes, I meant the output files. Apollo is creating a CSV file with the iterations of the model (even without running apollo::apollo_saveOutput() ). I just tested it using the first example provided on the website. As I mentioned, after running this file (of cou...
by alvarogutyerrez
13 Jul 2022, 08:50
Forum: Feature requests
Topic: File path of model outputs
Replies: 5
Views: 11967

Re: File path of model outputs

Hi Stephane and David, related to the OP question. Is there any way to prevent Apollo from creating those files that are stored in the "outputDirectory"? I have a script where I am running several "intermediate" models, and those files that Apollo creates are just cluttering my w...
by alvarogutyerrez
11 May 2022, 09:03
Forum: Feature requests
Topic: Integrate draws provided by the user into Apollo
Replies: 1
Views: 6665

Integrate draws provided by the user into Apollo

Dear Stephane and David, I wondered if it is possible to provide Apollo with draws that the user created. I need a fully-antithetic draws (Andersen, 2014) for a project, and I have written an R function (see below) for that, but I am not sure if it is possible to provide Apollo with it. At the momen...
by alvarogutyerrez
10 May 2022, 15:28
Forum: Bug reports
Topic: Bug multi-core with modular code
Replies: 3
Views: 9363

Re: Bug multi-core with modular code

Hi Stephane, Thank you for your quick reply. Yes, indeed, this is exactly how I solved the problem. The program runs if the atomic vector "apollo_beta" is present in the Global Environment. However, this solution forces me to create several "apollo_beta" objects along the way, wh...
by alvarogutyerrez
10 May 2022, 08:51
Forum: Bug reports
Topic: Bug multi-core with modular code
Replies: 3
Views: 9363

Bug multi-core with modular code

Dear Stephane and David, I am using apollo to run a Mixed Logit (MIXL) model, but I use the starting values from a simple Multinomial Logit (MNL) model. My program (see below) runs perfectly when I use one core. However, it fails when using more than one displaying the following error: Pre-processin...
by alvarogutyerrez
10 May 2022, 08:16
Forum: Model specification
Topic: Zero-bounded triangular and zero-censored normal distributions
Replies: 3
Views: 2958

Re: Zero-bounded triangular and zero-censored normal distributions

Dear Stephane,

Thank you for your answer. I have not thought about the log-exponential. Do you have any article where you have used said distribution?
Best regards,
by alvarogutyerrez
24 Feb 2022, 15:09
Forum: Post-estimation analysis/use of results
Topic: Posterior probabilities of Latent Class models with continuous random heterogeneity
Replies: 1
Views: 1963

Posterior probabilities of Latent Class models with continuous random heterogeneity

Hello Stephane and David, I was trying to calculate the posteriors for Latent Class models, which incorporate continuous random heterogeneity . However, I noticed that it is not currently supported by the function apollo_lcConditionals() , as explained in the Apollo user manual (v.0.2.7. page 146 of...
by alvarogutyerrez
23 Feb 2022, 09:07
Forum: Model specification
Topic: Zero-bounded triangular and zero-censored normal distributions
Replies: 3
Views: 2958

Zero-bounded triangular and zero-censored normal distributions

Hello Stephane and David, I have been trying to estimate a model with a (negative) log-normally distributed cost parameter however, I keep having extremely long tails even at a very large number of draws (10.000). Hence, I have been trying to apply other distributions that might produce more behavio...
by alvarogutyerrez
09 Mar 2021, 14:10
Forum: Errors during model validation and/or estimation.
Topic: Weight check inside apollo_makeLogLike
Replies: 6
Views: 8410

Re: Weight check inside apollo_makeLogLike

Dear Stephane and Tomas, I came across the same error as the OP. Additionally, I noticed that even though the documentation has been updated from version 0.2.3 onwards, the example 28 has not been updated on the website yet, and apparently it is not backward compatible with the new versions. Is it p...
by alvarogutyerrez
28 Jan 2021, 10:25
Forum: Post-estimation analysis/use of results
Topic: Confident Interval of the ratio of two random parameters using Mixlogit
Replies: 1
Views: 4428

Confident Interval of the ratio of two random parameters using Mixlogit

Hello Stephane and David, Currently, I am running a mixlogit using Apollo, and I want to compute the confidence interval of the ratio of the random parameters. In particular, I want to calculate the standard error of a normally distributed parameter divided by a log-normally distributed one (in Util...