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

by zx9203
10 Oct 2023, 03:22
Forum: Errors during model validation and/or estimation.
Topic: Getting NAs in hybrid model estimation
Replies: 7
Views: 7959

Re: Getting NAs in hybrid model estimation

Hi all, With the help of David and Stephane, I have fixed the problem. The bug came from the typo in ol_settings2 = list(outcomeOrdered = FNS2 , # used to say FNS1 V = zeta_FNS2*LV, tau = list(tau_FNS2_1, tau_FNS2_2, Also, I enlarged the number of draws to 500. At the beginning, the program warned m...
by zx9203
20 Sep 2023, 01:33
Forum: Errors during model validation and/or estimation.
Topic: Getting NAs in hybrid model estimation
Replies: 7
Views: 7959

Re: Getting NAs in hybrid model estimation

Dear Stephane,

I've sent the data and model file to your Leeds email address.

Thank you for your help!

Best,
Xian
by zx9203
18 Sep 2023, 15:13
Forum: Errors during model validation and/or estimation.
Topic: Getting NAs in hybrid model estimation
Replies: 7
Views: 7959

Re: Getting NAs in hybrid model estimation

Dear Stephane,

Thank you for your reply!

Each respondent has only 12 rows of data. That is, with the same id number, there is either task==1 or task==2.

May I send you my data?

Best,
Xian
by zx9203
18 Sep 2023, 09:55
Forum: Estimation results
Topic: Getting NAs in a hybrid model
Replies: 2
Views: 2987

Re: Getting NAs in a hybrid model

Dear Stephane,

I'm sorry that this post should be deleted because I have asked you the same question in another part of the forum.

Thank you pointing out my misunderstanding about latent variable.

Best,
Xian
by zx9203
18 Sep 2023, 09:52
Forum: Errors during model validation and/or estimation.
Topic: Getting NAs in hybrid model estimation
Replies: 7
Views: 7959

Re: Getting NAs in hybrid model estimation

Dear Stephane, Thank you so much for your reply! FNS1, FNS2, ..., FNS9 are the answers to the 9 questions in a psychometric scale. Each respondent was asked to answer 12 choice tasks plus the psychometric survey. Therefore, each respondent has the same set of answers for each row of choice task. Als...
by zx9203
15 Sep 2023, 01:21
Forum: Estimation results
Topic: Getting NAs in a hybrid model
Replies: 2
Views: 2987

Getting NAs in a hybrid model

Hi Stephane or David, I wonder why I keep getting NAs in the hybrid model. It worked when I start with a simpler one, with one or two latent variables (FNS1, FNS2). But when I include more, the model results NA for estimates, std error, and so on. My code are as below: # ############################...
by zx9203
12 Sep 2023, 09:39
Forum: Errors during model validation and/or estimation.
Topic: Getting NAs in hybrid model estimation
Replies: 7
Views: 7959

Getting NAs in hybrid model estimation

Hi Stephane and David, I'm estimating a hybrid model. The latent variable, FNS, has 9 statements and each of them is of 7-point Likert Scale. Following your sample, I wrote the code like: # ################################################################# # #### LOAD LIBRARY AND DEFINE CORE SETTINGS...
by zx9203
19 Apr 2022, 07:52
Forum: Feature requests
Topic: stop-go model
Replies: 1
Views: 7227

stop-go model

I wonder if Apollo pkg can be used to run stop-go models. The model has two step, first predicts the probability of taking, then the choice of amount conditional on taking at least one unit.
by zx9203
06 Dec 2020, 03:54
Forum: Post-estimation analysis/use of results
Topic: WTP intervals
Replies: 8
Views: 10056

Re: WTP intervals

Dear Stephane and Anna, First, thanks Anna for bringing out the question. Actually that's the fundamental question has troubled me for long. That's why I keep asking Stephane about WTP intervals (Thank you so much for your patience!!). While the coefficient estimated of the interaction term indicate...
by zx9203
24 Nov 2020, 15:27
Forum: Post-estimation analysis/use of results
Topic: WTP intervals
Replies: 8
Views: 10056

Re: WTP intervals

Dear Stephane, Sorry to bother you again. since Delta Method only works out s.e, should I use "mean+-1.96*s.e" to calculate the interval? I don't think this formula suits multinomial logit as this assumes normal distribution instead of asymptotic normal of parameters. Could you please sugg...