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

by stephanehess
22 Apr 2024, 13:40
Forum: Examples (existing and requests for new ones)
Topic: Heterogeneous alternative choice set
Replies: 1
Views: 8

Re: Heterogeneous alternative choice set

hi

the closest we have to this would be http://apollochoicemodelling.com/files/ ... e_coding.r where you could easily add availabilities too

Stephane
by stephanehess
22 Apr 2024, 13:38
Forum: Errors during model validation and/or estimation.
Topic: Error when estimating a ICLV model with two sources of information
Replies: 11
Views: 11162

Re: Error when estimating a ICLV model with two sources of information

Hi

can you share your code and data with me outside the forum and I'll look into it

Stephane
by stephanehess
22 Apr 2024, 13:36
Forum: Post-estimation analysis/use of results
Topic: standard errors of average marginal effects
Replies: 1
Views: 22

Re: standard errors of average marginal effects

Marie

have a look at the help file for apollo_prediction. If you run it with the runs setting, it will produce an array for you with the runs at different draws from the asymptotic parameter distribution and you can then use those to calculate standard errors for your marginal effects

Stephane
by stephanehess
22 Apr 2024, 13:33
Forum: Errors during model validation and/or estimation.
Topic: error in getiing Standarad error of e mdcev model
Replies: 1
Views: 29

Re: error in getiing Standarad error of e mdcev model

Hi

your parameter dWorkScho is tending towards -inf (-104.659589), so that is causing the issue here. You'll have to investigate what is causing this

Stephane
by stephanehess
22 Apr 2024, 13:31
Forum: Errors during model validation and/or estimation.
Topic: "Paramter does not influence the log-likelihood of your model" after included LV
Replies: 12
Views: 15480

Re: "Paramter does not influence the log-likelihood of your model" after included LV

Hi you could have easily resolved this issue by looking at other posts and the manual. You have: V[["ALT1"]] = b_Waitingtimem * Waitingtimem1 + b_Waitingtimeh * Waitingtimeh1 + b_effm * effm1 + b_effh * effh1 + b_peer_support_Yes * peer_support_Yes1 + b_working_hours_extra * working_hours_...
by stephanehess
22 Apr 2024, 13:28
Forum: Errors during model validation and/or estimation.
Topic: No covariance matrix
Replies: 4
Views: 192

Re: No covariance matrix

Hi

it is not clear what you mean by linear and non-linear here, unless you have made non-linear transforms in the data.

Can you show the results?

In terms of rm(list = ls()), this clears the memory, which you should do before every model estimation

Stephane
by stephanehess
22 Apr 2024, 13:23
Forum: Models and estimation
Topic: EM algorithms used in latent class including model combination
Replies: 1
Views: 11

Re: EM algorithms used in latent class including model combination

Hi

can you please show us your code - otherwise, it's near impossible to help

Stephane
by stephanehess
22 Apr 2024, 13:22
Forum: Model specification
Topic: ANA_EM has no covariance matrix
Replies: 1
Views: 9

Re: ANA_EM has no covariance matrix

Hi

it's difficult to diagnose the issue here, but the large number of post-EM iterations is suspicious. Did you try estimation via apollo_estimate instead of EM first? That might better highlight any identification issues

Stephane
by stephanehess
22 Apr 2024, 13:19
Forum: Model estimation
Topic: estimating a latent class model allowing for heterogeneous decision rules by EM algorithm
Replies: 1
Views: 8

Re: estimating a latent class model allowing for heterogeneous decision rules by EM algorithm

Qiang

I suggest that for this model, you use apollo_estimate as the EM implementation is at present likely not suitable for it

Stephane
by stephanehess
22 Apr 2024, 13:17
Forum: Errors during model validation and/or estimation.
Topic: Error in automating the MDCEV model specification
Replies: 1
Views: 13

Re: Error in automating the MDCEV model specification

Hi

I can try to debug this for you if you share the model and data file with me outside the forum

Thanks

Stephane