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

by valeria toledo
11 May 2021, 09:15
Forum: Post-estimation analysis/use of results
Topic: estimating conditional medianWTP with a lognormal-cost estimates
Replies: 2
Views: 4653

Re: estimating conditional medianWTP with a lognormal-cost estimates

Dear David ,
Thanks the clarification and suggestion to estimate the means. I will see if I have luck with that.

Kind regards
Valeria Toledo
by valeria toledo
07 May 2021, 11:12
Forum: Post-estimation analysis/use of results
Topic: estimation of median conditional with apollo_conditionals()
Replies: 1
Views: 3816

estimation of median conditional with apollo_conditionals()

Hi I am using a MXL model with lognormal cost. I would like to be able to extract the median of the lognormal distribution of the cost parameter. Is it possible to change the source code or add something into the function "apollo_conditionals()" so that it provides the conditional median (...
by valeria toledo
29 Apr 2021, 10:49
Forum: Post-estimation analysis/use of results
Topic: estimating conditional medianWTP with a lognormal-cost estimates
Replies: 2
Views: 4653

estimating conditional medianWTP with a lognormal-cost estimates

Hi I am estimating a model with lognormal cost and want to use the preference of space. 1. First I estimated the same model in preference of space and WTP space to compare the estimates. I assumed a lognormal distribution for cot: randcoeff[["log_cost" ]] =-exp(mu_log_cost + sigma_log_cost...
by valeria toledo
28 Aug 2020, 12:45
Forum: Model specification
Topic: specification or startting values issues?
Replies: 5
Views: 7269

Re: specification or startting values issues?

Hi David, this is the code for the second one. Thanks for loking into it, setwd("C:/Users/vt8/University of Stirling/Keila Meginnis - R-Valeria_Shared") setwd("C:/Users/im_ba/University of Stirling/Keila Meginnis - R-Valeria_Shared") # ############################################...
by valeria toledo
26 Aug 2020, 13:08
Forum: Model specification
Topic: specification or startting values issues?
Replies: 5
Views: 7269

Re: specification or startting values issues?

Hi David, sorry to bother you again 1.I tried the suggestion you made above (removing the LV from the utility equation of one alternative) and got the same error. 2. I also tried running the simplest model (LVS are only interacted with ASC) and still getting same error What intrigues me the most, is...
by valeria toledo
24 Aug 2020, 11:03
Forum: Model estimation
Topic: Number of thresholds to use in hybrid ordered model with no data in one level
Replies: 5
Views: 8846

Re: Number of thresholds to use in hybrid ordered model with no data in one level

Hi David, that worked perfectly.
Thanks a lot for your time and help, I really appreciate it.

Best
Valeria Toledo
by valeria toledo
22 Aug 2020, 11:50
Forum: Model estimation
Topic: Number of thresholds to use in hybrid ordered model with no data in one level
Replies: 5
Views: 8846

Re: Number of thresholds to use in hybrid ordered model with no data in one level

Hi David, thanks a lot your time and suggestions. My data has a numeric format, so I tried the coding option as you first suggested (skipping level 2). Now I am getting a new error: "Testing probability function (apollo_probabilities) Error in apollo_ol(ol_settings1, functionality) : Threshold ...
by valeria toledo
22 Aug 2020, 11:13
Forum: Model estimation
Topic: Number of thresholds to use in hybrid ordered model with no data in one level
Replies: 5
Views: 8846

Re: Number of thresholds to use in hybrid ordered model with no data in one level

Hi David,
I saw the coding option from another comment but it didn't occur to me to use it like that. This solution makes the coding much clearer.
Thanks a lot for your reply!
by valeria toledo
21 Aug 2020, 10:58
Forum: Model specification
Topic: specification or startting values issues?
Replies: 5
Views: 7269

specification or startting values issues?

Hi I have been trying to build a hybrid model with a new dataset. I have successfully run a hybrid with other data and kind of followed my previous code but something is going wrong. I am posting the "more complex model" for which I am getting INF and NA in the output. At first I though it...
by valeria toledo
20 Aug 2020, 15:56
Forum: Model estimation
Topic: Number of thresholds to use in hybrid ordered model with no data in one level
Replies: 5
Views: 8846

Number of thresholds to use in hybrid ordered model with no data in one level

Hi, I am trying to estimate a hybrid model with ordered indicators. I have succesfully run this type of model with other datasets previously succesfully, but I have encounter a problem with the current dataset I am using. I have a variable with the following levels levels=c(1,2,3,4,5),labels=c("...