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

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

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: 155

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: 113

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
by stephanehess
22 Apr 2024, 13:16
Forum: Model specification
Topic: probabilities of classes vary across choice tasks in a LC-MXL model
Replies: 1
Views: 111

Re: probabilities of classes vary across choice tasks in a LC-MXL model

Hi sorry, your message had got lost Apollo tells you that you should have the following order of operations: 'apollo_panelProd' after calling 'apollo_lc'. In your model, you need to move apollo_panelProd and apollo_avgInterDraws to be outside the loop, after P[["model"]] = apollo_lc(lc_set...
by stephanehess
21 Apr 2024, 22:55
Forum: Estimation results
Topic: same code same data different "Number of modelled outcome"s
Replies: 2
Views: 151

Re: same code same data different "Number of modelled outcome"s

Anat modelled outcomes is the number of separate dependent variable observations. Relative function convergence is the BGW terminology for convergence. Using rows=(task==1) is correct, and will indeed give you different estimates as you don't overstate the weight for the measurement model part Steph...
by stephanehess
02 Apr 2024, 15:15
Forum: Post-estimation analysis/use of results
Topic: Marginal rate of substitution for different sociodemographic groups
Replies: 3
Views: 432

Re: Marginal rate of substitution for different sociodemographic groups

Hi

it looks like you are not including those socio-demographics in the random coefficients, so they would not affect the MRS

Regarding your code, you will want to use subset instead of multiplication by a 0/1 indicator

Stephane
by stephanehess
02 Apr 2024, 15:11
Forum: Estimation results
Topic: Missing model-fit parameters
Replies: 3
Views: 415

Re: Missing model-fit parameters

Hi

please update to the newest version of Apollo and see if that fixes it

Thanks
by stephanehess
02 Apr 2024, 14:14
Forum: Errors during model validation and/or estimation.
Topic: No covariance matrix
Replies: 5
Views: 484

Re: No covariance matrix

Hi

can you tell us more about your data, i.e. how many levels there are for each of the attributes
by stephanehess
23 Feb 2024, 11:32
Forum: Estimation results
Topic: Unreasonable estimate for price and other attributes
Replies: 5
Views: 2514

Re: Unreasonable estimate for price and other attributes

Hi Cuong You have 3 alternatives, but you are only estimating one constant. You can estimate J-1 constants, i.e. 2 My question was whether your third alternative in the survey is different from the other two, i.e. does it use different levels, etc? Regarding categorical, what I mean is that you dumm...
by stephanehess
23 Feb 2024, 11:26
Forum: Model specification
Topic: Start values for wta parameter
Replies: 1
Views: 2414

Re: Start values for wta parameter

Anat

Can you provide us with a bit more detail, please, e.g. a screenshot of a SC task?

Thanks

Stephane