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

by Nishihara
19 Jun 2023, 02:45
Forum: Estimation results
Topic: Unreasonable estimate for cost
Replies: 10
Views: 9245

Re: Unreasonable estimate for cost

Dear Professor,

I am very grateful for your help and will further look at the data.

Best regards
by Nishihara
18 Jun 2023, 09:03
Forum: Estimation results
Topic: Unreasonable estimate for cost
Replies: 10
Views: 9245

Re: Unreasonable estimate for cost

Dear Professor, Thank you very much for your prompt reply. Now I understand the problem. May I ask if I have results with positive values of cost estimate from MNL, what should I do with the analysis? Does it mean that the data is problematic and the analysis is undoable? Thank you very much for you...
by Nishihara
18 Jun 2023, 08:38
Forum: Estimation results
Topic: Unreasonable estimate for cost
Replies: 10
Views: 9245

Re: Unreasonable estimate for cost

Dear Professor, Thank you very much for your help. It did work after I update to R4.3.1 and no error came out. However, through MNL, the estimate for the cost is positive but the value is reasonable. I attached the code and results below. Do you think there is a connection between the unreasonable e...
by Nishihara
16 Jun 2023, 03:12
Forum: Estimation results
Topic: Unreasonable estimate for cost
Replies: 10
Views: 9245

Re: Unreasonable estimate for cost

Dear Professor,

Thank you very much for your help.

No, I did not get any error before apollo_estimate, and I am using the latest version of 0.2.9.
by Nishihara
13 Jun 2023, 02:25
Forum: Estimation results
Topic: Unreasonable estimate for cost
Replies: 10
Views: 9245

Re: Unreasonable estimate for cost

Dear Professor, Thank you very much for your reply. I tried to do the estimation through MNL but come out this error when I run the apollo_estimate: "Error in apollo_probabilities(apollo_beta, apollo_inputs, functionality = "validate") : object '"validate"' not found". ...
by Nishihara
09 Jun 2023, 07:15
Forum: Estimation results
Topic: Unreasonable estimate for cost
Replies: 10
Views: 9245

Unreasonable estimate for cost

Dear Sir, I am running a mixed logit model and getting a very unreasonable estimate for the log-normalized cost: -1066.11898 Please see the code and results. I cannot figure out what is the issue here because I already run the similar codes with different variable names in different datasets (same p...
by Nishihara
22 May 2023, 14:31
Forum: Errors during model validation and/or estimation.
Topic: Error in if (!test) { : missing value where TRUE/FALSE needed when adding workInLogs=TRUE in apollo_control
Replies: 5
Views: 4768

Re: Error in if (!test) { : missing value where TRUE/FALSE needed when adding workInLogs=TRUE in apollo_control

Hi David, Thank you very much for your help and suggestions. The model worked after I excluded coefficients with L0 in each attribute, but still got the same error when I tried to add workInLogs=TRUE. Since there is no more NaN in standard error, I do not add this in the pollo_control. However, I ha...
by Nishihara
20 May 2023, 07:46
Forum: Errors during model validation and/or estimation.
Topic: Error in if (!test) { : missing value where TRUE/FALSE needed when adding workInLogs=TRUE in apollo_control
Replies: 5
Views: 4768

Error in if (!test) { : missing value where TRUE/FALSE needed when adding workInLogs=TRUE in apollo_control

Dear Professor, I have been keeping having NaN for Standard Errors, so I am trying to add workInLogs=TRUE in apollo_control to see if the issue can be solved. However, once I add workInLogs=TRUE in apollo_control, I got the error "Error in if (!test) { : missing value where TRUE/FALSE needed&qu...