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

by rafael_lionello
02 Sep 2023, 14:27
Forum: Errors during model validation and/or estimation.
Topic: Error in HB estimation with random parameters
Replies: 5
Views: 7050

Re: Error in HB estimation with random parameters

Hello, Stephane.

1- Yes, the bug (the date warning) was resolved and it is not showing up anymore.

2- Yes, I am still with the other issue. Would you have any directions on that?


Thank you very much.

Rafael
by rafael_lionello
24 Jul 2023, 17:52
Forum: Errors during model validation and/or estimation.
Topic: Error in HB estimation with random parameters
Replies: 5
Views: 7050

Re: Error in HB estimation with random parameters

Hello, Stephane. Thank you for your reply. It should be the last version (v0.2.9). Strangely, however, even after updating (or removing apollo and installing again), I am receiving a message that my version is more than six months old. Rafael. library(apollo) Apollo 0.2.9 http://www.ApolloChoiceMode...
by rafael_lionello
24 Jul 2023, 14:41
Forum: Errors during model validation and/or estimation.
Topic: Error in HB estimation with random parameters
Replies: 5
Views: 7050

Error in HB estimation with random parameters

Dear Professor, I am getting the following error when I add one or more random parameters to a HB model. It happens with different number of random parameters (ex., "asc_tresc" only, "b_cost" only, all parameters except "asc_outro" etc.) or type of distributions (ex., N...
by rafael_lionello
18 Feb 2023, 11:41
Forum: Model specification
Topic: Latent variable inside delta function
Replies: 1
Views: 851

Latent variable inside delta function

Hello, Professor. I would like to run a mediation analysis with a latent variable as a mediator. Consider, for example, the following model: Independent variable (X): treatment variable in which subjects receive or not a benefit; Mediator (M): a latent variable (ex., car lover) using ordered measure...
by rafael_lionello
11 Oct 2022, 20:37
Forum: Errors during model validation and/or estimation.
Topic: Error with "Duplicated componentName found"
Replies: 5
Views: 2015

Re: Error with "Duplicated componentName found"

Hi Stephane, I am sorry, but I have averaged across draws as you mentioned and then fixed the database. However, the error persistis. I have just updated R, R Studio, and Apollo to make sure that it is not a update issue. Again, follow the code and the (fixed) database: https://1drv.ms/u/s!AsZiRaIO2...
by rafael_lionello
09 Oct 2022, 18:56
Forum: Errors during model validation and/or estimation.
Topic: Error with "Duplicated componentName found"
Replies: 5
Views: 2015

Re: Error with "Duplicated componentName found"

Dear Professor, Follow the database (link) and script below. (I think, the first message has not attached the files.) Thank you again. Best, Rafael. DATABASE: drive.google.com/file/d/1VXJSN7LI82thnclt7Gx2JFvI8FRhxyxX/view?usp=sharing SCRIPT: # ########################################################...
by rafael_lionello
07 Oct 2022, 16:27
Forum: Errors during model validation and/or estimation.
Topic: Error with "Duplicated componentName found"
Replies: 5
Views: 2015

Error with "Duplicated componentName found"

Dear Professors, I am trying to fit a RP/SP model with random parameters. However, I am getting the following error: Error in apollo_mnl(mnl_settings = mnl_settings_SP, functionality) : Duplicated componentName found (MNL). Names must be different for each component. Any suggestions are highly appre...
by rafael_lionello
29 Aug 2022, 19:09
Forum: Model specification
Topic: Intra-individual heterogeneity with MMNL
Replies: 1
Views: 1474

Intra-individual heterogeneity with MMNL

Dear Professors, I am trying to model a choice behavior in which buyers choose among alternatives "sequentially", i.e., there is a state dependence issue. It is a medicine choice context, where persons choose combos of three brands for a sequential application. For example, one person can ...
by rafael_lionello
23 Jun 2020, 17:53
Forum: Model specification
Topic: Are latent variables in Hybrid choice model correlated?
Replies: 7
Views: 5247

Are latent variables in Hybrid choice model correlated?

Dear Professor Hess, I am fitting a Hybrid Choice Model with a bi-factor specification for the latent variable component. That is, I have two specific latent variables (e.g., LV1 and LV2 with three ordered indicators each) and a general latent variable (e.g., G). In such a model, the general latent ...