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.

Joint RP/SP estimation: interpretation of mu and estimates

Ask questions about post-estimation functions (e.g. prediction, conditionals, etc) or other processing of results.
Post Reply
mastermoses
Posts: 5
Joined: 04 Dec 2020, 07:34

Joint RP/SP estimation: interpretation of mu and estimates

Post by mastermoses »

Hi all,

I recently estimated a mode choice model based on RP and SP data. Some alternatives are only available in the SP data and hence, there are parameters (e.g., travel time parameters for these modes) which are only estimated based on the SP data. The mu of the SP data is around 0.5, whereas the mu of the RP data is fixed to 1. However, it seems to me that the estimates of the parameters which are only estimated based on the SP data are not scaled in the results file, since the VoT for those modes are around 1/mu as high as for modes for which the parameters are estimated on both RP and SP data.

So, can the parameters be used as they are shown in the estimates file or have the be multiplied with mu before using them in a prediction model?

Thanks!

Best,
Michael
stephanehess
Site Admin
Posts: 998
Joined: 24 Apr 2020, 16:29

Re: Joint RP/SP estimation: interpretation of mu and estimates

Post by stephanehess »

Michael

if you set mu=1 for RP, then all the betas are at the RP scale, even if they are only used in the SP utilities, as long as the entire utility function is multiplied by mu.

Can you share your utility files and results?

Stephane
--------------------------------
Stephane Hess
www.stephanehess.me.uk
mastermoses
Posts: 5
Joined: 04 Dec 2020, 07:34

Re: Joint RP/SP estimation: interpretation of mu and estimates

Post by mastermoses »

Hi Stephane,

unfortunately I cannot share any file since this work is confidential and not published yet. However, I use seperate models or each data source and combine them with apollo_combineModels. For the mu, I have

Code: Select all

cnl_settings$V = lapply(V, "*", mu_*) % where the mu_* stands for the mu of each data set 
applied to the cnl_settings of each model and of course the mu_rp set to 1.

So does that mean that for prediction, the parameters can be used as estimated in the final mode choice model?

Best
Michael
stephanehess
Site Admin
Posts: 998
Joined: 24 Apr 2020, 16:29

Re: Joint RP/SP estimation: interpretation of mu and estimates

Post by stephanehess »

Michael

yes, but in prediction, you of course need to decide which scale to use. The natural approach would be to use the RP scale

Stephane
--------------------------------
Stephane Hess
www.stephanehess.me.uk
mastermoses
Posts: 5
Joined: 04 Dec 2020, 07:34

Re: Joint RP/SP estimation: interpretation of mu and estimates

Post by mastermoses »

Hi Stephane,

thank you for the quick reply. As I understood it, it is not common to use different scales for different alternatives in prediction, right?

Best
Michael
stephanehess
Site Admin
Posts: 998
Joined: 24 Apr 2020, 16:29

Re: Joint RP/SP estimation: interpretation of mu and estimates

Post by stephanehess »

no, that wouldn't make much sense
--------------------------------
Stephane Hess
www.stephanehess.me.uk
Post Reply