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.
  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.

Mixed NL and CNL

Ask questions about model specifications. Ideally include a mathematical explanation of your proposed model.
Post Reply
punyabeet
Posts: 13
Joined: 08 May 2020, 11:43

Mixed NL and CNL

Post by punyabeet » 18 Nov 2021, 13:19

Dear Prof Hess

With reference to your paper titled, "A joint model for vehicle type and fuel type choice: evidence from a cross-nested logit study", I am also trying to estimate a mixed NL and CNL model. But regarding the random specification part, I have certain doubts.

i) For the mixed NL model by fuel type, did you have six columns for each of these random variables - Fuel cost, Maintenance cost, Price corresponding to the alternatives in the lower nest.

ii) https://drive.google.com/file/d/1hKYFdb ... sp=sharing
This is the mixed NL model which I am trying to build with Travel Time as a random parameter. So do I need to have six travel time columns??

iii) or 3 columns corresponding to the three modes will suffice ??
Attachments
Nested Model.JPG
Nested Model.JPG (37.17 KiB) Viewed 368 times

stephanehess
Site Admin
Posts: 440
Joined: 24 Apr 2020, 16:29

Re: Mixed NL and CNL

Post by stephanehess » 29 Nov 2021, 13:49

Hi

in any structure like this, the bottom row of your tree are individual alternatives, where you need one utility function for each alternative. Whether or not you need 6 columns in your data for a given attribute depends completely on your case study, and whether the same value for the attribute applies to multiple alternatives or not. This has nothing to do with the model using a mixture.

Stephane
--------------------------------
Stephane Hess
www.stephanehess.me.uk

punyabeet
Posts: 13
Joined: 08 May 2020, 11:43

Re: Mixed NL and CNL

Post by punyabeet » 13 Jan 2022, 20:52

Thanks, Prof Hess for the clarification.

Post Reply