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

by bokapatsila
16 Aug 2023, 03:37
Forum: Model specification
Topic: Logistic distribution of a random parameter
Replies: 7
Views: 9550

Re: Logistic distribution of a random parameter

Thanks, David! Back when I asked this question, I wasn't fully aware of what I was asking about :-) In any case, we figured it all out.
by bokapatsila
02 Dec 2021, 23:55
Forum: Model specification
Topic: Logistic distribution of a random parameter
Replies: 7
Views: 9550

Re: Logistic distribution of a random parameter

Thank you, Stephane, for your prompt response. In my model, I'm trying to apply direct categorization of individuals on the basis of latent variables approach as proposed by Bahamonde-Birke and Ortúzar here - https://bit.ly/3IeYJPQ . To answer your questions: 1. I want LVC1 to have a logistic error ...
by bokapatsila
02 Dec 2021, 03:04
Forum: Model specification
Topic: Logistic distribution of a random parameter
Replies: 7
Views: 9550

Re: Logistic distribution of a random parameter

Hi you would need to start with uniform draws in apollo_draws instead of Normal draws, and then use the appropriate formula to turn these into logistic draws inside apollo_randCoeff. Something like this: ### Set parameters for generating draws apollo_draws = list( interDrawsType="halton",...
by bokapatsila
29 Nov 2021, 15:25
Forum: Estimation results
Topic: Error in Latent Class Model with LV
Replies: 5
Views: 5982

Re: Error in Latent Class Model with LV

Thank you for the reply. I reinstalled Apollo and stopped receiving the warning.
by bokapatsila
22 Nov 2021, 22:10
Forum: Bug reports
Topic: Clarification regarding workInLogs
Replies: 1
Views: 9185

Clarification regarding workInLogs

Hi forum admins, Apollo manual suggests setting workInLogs to TRUE for complex models (like Hybrid Choice). The way I read it that should work for data without the panel structure too. However, when I set it up, I get the message "Working in logs is only applicable with panel data; workInLogs s...
by bokapatsila
10 Nov 2021, 17:00
Forum: Estimation results
Topic: Error in Latent Class Model with LV
Replies: 5
Views: 5982

Re: Error in Latent Class Model with LV

Hi, Thank you for bringing this to our attention. There is indeed a bug in Apollo v0.2.5 when estimating models with latent variables inside the class allocation. I have produced a new version without this problem that you can download from one of the links below, depending on your operation system...
by bokapatsila
10 Nov 2021, 04:57
Forum: Model specification
Topic: Logistic distribution of a random parameter
Replies: 7
Views: 9550

Logistic distribution of a random parameter

Good morning Apollo forum moderators. Can you please help me to reflect in code the assumption that a random error term follows a logistic distribution and not a normal one? For example, how that can be coded in example #24 for "eta" (meaning that eta follows a logistic distribution). Than...
by bokapatsila
26 Oct 2021, 02:18
Forum: Model specification
Topic: Latent variable estimation
Replies: 11
Views: 10606

Re: Latent variable estimation

Hi Stephane, Thank you for your continuous enlightenment. Assuming that I still want to obtain allocation probabilities based on the estimates for latent variables without the choice component (for exploratory purposes). How can I code that in apollo? I tried adding to apollo_probabilities this: V=l...
by bokapatsila
22 Oct 2021, 06:16
Forum: Model specification
Topic: Latent variable estimation
Replies: 11
Views: 10606

Re: Latent variable estimation

Thank you, Stephane. Your comments and answers have finally guided me to what I'm after. To zoom out, I'm trying to classify the respondents in my dataset into distinct behavioural groups based on the estimates for their latent variables. To do that, I want to estimate the class allocation probabili...