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 LydiaYang
10 Oct 2022, 22:56
Forum: Errors during model validation and/or estimation.
Topic: Error in apollo_estimate when using MDCNEV
Replies: 14
Views: 4391

Re: Error in apollo_estimate when using MDCNEV

Dear Stephane,

Thank you for the reply. Indeed this is the mistake I made when sending out the survey by only allowing the participants to choose one of the funds......
But now problem solved......
Thank you again for your time!

Best,
Lydia
by LydiaYang
07 Oct 2022, 15:47
Forum: Errors during model validation and/or estimation.
Topic: Error in apollo_estimate when using MDCNEV
Replies: 14
Views: 4391

Re: Error in apollo_estimate when using MDCNEV

Hi Stephane, The LL of MDCNEV model is as follows, LL(start) : -28564.04 LL(0) : Not applicable LL(C) : Not applicable LL(final) : -24889.18 Rho-square (0) : Not applicable Adj.Rho-square (0) : Not applicable AIC : 49790.37 BIC : 49826.79 Best, Yadi
by LydiaYang
30 Sep 2022, 09:19
Forum: Errors during model validation and/or estimation.
Topic: Error in apollo_estimate when using MDCNEV
Replies: 14
Views: 4391

Re: Error in apollo_estimate when using MDCNEV

Dear Stephane, Yes, I have run the MDCEV model before I try to use MDCNEV, base model, model with socio-demographics, model with socio-demographics and other personal traits, the estimations do not return any errors. The results from the base model are as follows, LL(start) : -42920.59 LL(0) : Not a...
by LydiaYang
28 Sep 2022, 17:01
Forum: Errors during model validation and/or estimation.
Topic: Error in apollo_estimate when using MDCNEV
Replies: 14
Views: 4391

Re: Error in apollo_estimate when using MDCNEV

Hi Stephane, "How does the model compare to a non-nested MDCEV?" The idea is that nrfund and rfund should be nested in one category, but they are not chosen by every participant. The amount of outside good "other" here is calculated by other = monthly_income - nrfund - rfund + 1 ...
by LydiaYang
27 Sep 2022, 15:10
Forum: Errors during model validation and/or estimation.
Topic: Error in apollo_estimate when using MDCNEV
Replies: 14
Views: 4391

Re: Error in apollo_estimate when using MDCNEV

Dear Stephane, Thank you for the investigation. I annotated the "apollo_panelProd" and also changed the name of "budget" in my original dataset to a different name. Now it works! While in the output, there are many missing values for both utility parameters and translation parame...
by LydiaYang
27 Sep 2022, 11:46
Forum: Errors during model validation and/or estimation.
Topic: Error in apollo_estimate when using MDCNEV
Replies: 14
Views: 4391

Re: Error in apollo_estimate when using MDCNEV

Hi Stephane,

I have sent the code as well as the data to you via email. Please let me know if more information is needed.
Thank you for the help!

Best,
Lydia
by LydiaYang
26 Sep 2022, 11:22
Forum: Errors during model validation and/or estimation.
Topic: Error in apollo_estimate when using MDCNEV
Replies: 14
Views: 4391

Re: Error in apollo_estimate when using MDCNEV

Dear Stephane, Thank you for your reply. I am using the version 0.2.7. After changing the normalization from "mandatory" to "optional", the same error still shows up as follows, "Error in mdcnev_settings$probs_MDCNEV(mdcnev_settings) : object 'tmp' not found" Could you ...
by LydiaYang
16 Sep 2022, 16:55
Forum: Errors during model validation and/or estimation.
Topic: Error in apollo_estimate when using MDCNEV
Replies: 14
Views: 4391

Error in apollo_estimate when using MDCNEV

Dear all, When using MDCNEV model, I run into this message: model = apollo_estimate(apollo_beta, apollo_fixed, apollo_probabilities, apollo_inputs) Preparing user-defined functions. Error in mdcnev_settings$probs_MDCNEV(mdcnev_settings) : object 'tmp' not found Could you please help me with checking...
by LydiaYang
23 Feb 2021, 15:21
Forum: Errors during model validation and/or estimation.
Topic: Error in apollo_validate when using MDCEV model
Replies: 6
Views: 7826

Re: Error in apollo_validate when using MDCEV model

Hi David, Thank you for the kind suggestion. Also for my case where one individual has only one observation, this line of code has been left out. ### Take product across observation for same individual P = apollo_panelProd(P, apollo_inputs, functionality) Now the model works perfectly, really apprec...
by LydiaYang
22 Feb 2021, 17:40
Forum: Errors during model validation and/or estimation.
Topic: Error in apollo_validate when using MDCEV model
Replies: 6
Views: 7826

Re: Error in apollo_validate when using MDCEV model

Hi David, Received with many thanks! I try to rewrite the code as: ### Define budget budget = saving + investment + other ### Define settings for MDCEV model mdcev_settings <- list(alternatives = alternatives, avail = avail, continuousChoice = continuousChoice, V = V, alpha = alpha, gamma = gamma, s...