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

by stephanehess
22 May 2024, 12:12
Forum: Model specification
Topic: Hybrid_LC_with_OL_example_data
Replies: 1
Views: 37

Re: Hybrid_LC_with_OL_example_data

Hi

apologies for the slow reply. We believe we have fixed this issue in the latest development version - can you try it by downloading from http://apollochoicemodelling.com/code.html

Thanks

Stephane & David
by stephanehess
22 May 2024, 12:09
Forum: Errors during model validation and/or estimation.
Topic: Error (pi * p : non-conformable arrays) while estimating Hybrid LC with OL
Replies: 1
Views: 20

Re: Error (pi * p : non-conformable arrays) while estimating Hybrid LC with OL

Hi

apologies for the slow reply. We believe we have fixed this issue in the latest development version - can you try it by downloading from http://apollochoicemodelling.com/code.html

Thanks

Stephane & David
by stephanehess
22 May 2024, 11:53
Forum: Model specification
Topic: Joint Estimation for Dual Response Survey with Two Segments
Replies: 3
Views: 107

Re: Joint Estimation for Dual Response Survey with Two Segments

Hi

the two separate models is the same as if you had a fully segmented model. So you can use a LR test to compare the sum of the two separaet models against your generic model without differences. The degrees of freedom would be the additional parameters needed for two separate models

Stephane
by stephanehess
22 May 2024, 11:51
Forum: Data preparation, processing and pre-estimation analysis
Topic: Handling 'Not Available' Data
Replies: 5
Views: 331

Re: Handling 'Not Available' Data

Hi

given your small sample size, this is a good approach

Stephane
by stephanehess
22 May 2024, 11:50
Forum: Post-estimation analysis/use of results
Topic: post-estimation scenario analysis
Replies: 8
Views: 9864

Re: post-estimation scenario analysis

Hi 1. Not sure how you want to calculate WTP if you have different cost variables. With a random cost, you can use the ratio of different elements in apollo_unconditionals. 2. It means that at the sample average, these are the weights for the classes. Latent class does NOT put each person into one c...
by stephanehess
22 May 2024, 11:47
Forum: Models and estimation
Topic: Use indirectly related RP data in SP model
Replies: 3
Views: 146

Re: Use indirectly related RP data in SP model

You could use a set of logit models for this, each time with the choice between the values you show them
by stephanehess
22 May 2024, 11:43
Forum: Model specification
Topic: ANA_EM has no covariance matrix
Replies: 3
Views: 763

Re: ANA_EM has no covariance matrix

Hi why are you using: V[["class_a"]] = (exp((delta_a_k1 + gamma_commute_a_k1*commute + gamma_car_av_a_k1*car_availability)*Q[1,1])*exp((delta_a_k2 + gamma_commute_a_k2*commute + gamma_car_av_a_k2*car_availability)*Q[2,1]))/((exp(delta_a_k1 + gamma_commute_a_k1*commute + gamma_car_av_a_k1*c...
by stephanehess
22 May 2024, 11:37
Forum: Model estimation
Topic: Function evaluation limit exceeded.
Replies: 5
Views: 162

Re: Function evaluation limit exceeded.

Beatrice

bgw is the default now (the manual hasn't been updated yet). Can you show us the bfgs estimates?

Stephane
by stephanehess
22 May 2024, 11:36
Forum: Errors during model validation and/or estimation.
Topic: Error in MNL estimation
Replies: 1
Views: 27

Re: Error in MNL estimation

This could be an overspecification as a result of your specific design. To help us diagnose it, can you send us the results without ascs, and with only asc?
by stephanehess
20 May 2024, 14:57
Forum: Errors during model validation and/or estimation.
Topic: Error when estimating a ICLV model with two sources of information
Replies: 12
Views: 12591

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

Hi so the issue in your code is due to the fact that when splitting across cores, only one of the model components applies in each core (as your data is sorted by source). We will develop a more elegant solution for this in future, but for now, if you add the following line after reading the data, i...