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

by TAJKUE
18 Sep 2020, 15:03
Forum: Errors during model validation and/or estimation.
Topic: NaNs
Replies: 13
Views: 772854

Re: NaNs

Thank you! Yes I am aware that the richness of the data is quite limited.

So would this mean if there were more parameters in the model, there would be less issues?
by TAJKUE
18 Sep 2020, 14:45
Forum: Errors during model validation and/or estimation.
Topic: NaNs
Replies: 13
Views: 772854

Re: NaNs

I have now fixed lambda_Brand and lambda_NoBrand at 1, which makes the NaNs disappear (most of them). However, having both nests to 1, would mean that the likelihood of choosing one of the nests is the same, which does not make too much sense.

Here the output:
Model run using Apollo for R, version ...
by TAJKUE
18 Sep 2020, 14:14
Forum: Errors during model validation and/or estimation.
Topic: NaNs
Replies: 13
Views: 772854

Re: NaNs

Regarding the nests: if one outside option is available so is the other. However, there are cases where no Brand and none of the two NoNameBrands is available.
by TAJKUE
18 Sep 2020, 14:03
Forum: Errors during model validation and/or estimation.
Topic: NaNs
Replies: 13
Views: 772854

Re: NaNs

Thank you so much! The model is working now.

I tried the same with NLM. However, the solution isn´t the same at least it seems so.

Here the model outputs:
Model run using Apollo for R, version 0.1.0
www.ApolloChoiceModelling.com

Model name : NL Model
Model description : NL Model with data
Model ...
by TAJKUE
18 Sep 2020, 11:39
Forum: Errors during model validation and/or estimation.
Topic: NaNs
Replies: 13
Views: 772854

Re: NaNs

Hi Stephane,
Thanks a lot! I got rid of the NaNs now.

Do you have any recommendations around which value I should fix the parameters?
by TAJKUE
18 Sep 2020, 10:24
Forum: Errors during model validation and/or estimation.
Topic: NaNs
Replies: 13
Views: 772854

Re: NaNs

Hi Stephane,
the data is in a binary structure e.g. if Price 1 is offered it is 1 and if not it is 0. This then has an impact on the alternatives offered means if Price 1 is not offered all alternatives that have it as an characteristic are not available (for the example of Price 1 not being ...
by TAJKUE
17 Sep 2020, 16:48
Forum: Errors during model validation and/or estimation.
Topic: NaNs
Replies: 13
Views: 772854

NaNs

Hi forum,
I am trying to estimate an NLM and MNL Model, which seems to be working well. However, there is still the issue of the NaNs.

Here the complete output:
Model run using Apollo for R, version 0.1.0
www.ApolloChoiceModelling.com

Model name : MNL
Model description : MNL Model with Data ...