{"id":1124,"date":"2019-11-08T17:17:22","date_gmt":"2019-11-09T00:17:22","guid":{"rendered":"http:\/\/www.zhuoyao.net\/?p=1124"},"modified":"2019-11-08T17:17:22","modified_gmt":"2019-11-09T00:17:22","slug":"mode-choice-models-explained","status":"publish","type":"post","link":"https:\/\/zhuoyao.net\/index.php\/2019\/11\/08\/mode-choice-models-explained\/","title":{"rendered":"Mode Choice Models Explained"},"content":{"rendered":"\n<p><a href=\"http:\/\/www.transportmodeller.com\/modechoiceoverview.html\">http:\/\/www.transportmodeller.com\/modechoiceoverview.html<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is a Mode Choice Model?<\/h3>\n\n\n\n<p>Mode choice models model the travellers choice of which mode of transport to take, eg car, public transport or whatever. \n\t\t\t\tThey take as input variables about each possible mode of transport that the traveller has available for the trip and gives \n\t\t\t\tthe proportion of travellers which would use each mode of transport. (eg 70% by car and 30% by public transport).<\/p>\n\n\n\n<p>If a trip matrix is input into the mode choice model, it would \nsplit the matrix into separated matrices, one for each mode of \ntransport. (For this reason it is sometimes called a mode split model.) \nThese matrices can be assigned to the highway and public transport \nnetworks respectively to give flows on each section of highway or each \npublic transport service.<\/p>\n\n\n\n<p>If individual trips are input into the mode choice model (eg \ntrips obtained from a household interview survey), then the mode choice \nmodel will provide the probability of this trip using each mode of \ntransport. If the trip record has an expansion factor which represents \nthe total number of people with this choice, then the mode choice model \nwill apply the probability to the expansion factor to give the expanded \nnumber of people who chose each mode of transport.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Input Data<\/h3>\n\n\n\n<p>The modeller must decide which variables are relevant to the decision making process but the most common variables for \n\t\t\t\turban and interurban travel are: in-vehicle time, walk time, wait time, cost and how many interchanges are involved. This \n\t\t\t\tdata can be &#8216;skimmed&#8217; from the highway and public transport networks for each origin-destination pair to form matrices \n\t\t\t\twhich are called skims because they are obtained from the paths by skimming along the paths accumulating the data. The \n\t\t\t\tnetworks can therefore be skimmed for in-vehicle time, walk time, fare, etc and each skim put into the mode choice model. \n\t\t\t\tIn this case the mode choice model will split an input trip matrix into a trip matrix which uses each mode of transport, \n\t\t\t\teg car and public transport.<\/p>\n\n\n\n<p>The modeller must also determine which modes are available &#8211; or the choice set. This is sometimes not so easy but \n\t\t\t\tsome software suites will provide this as a skim.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The Concept of Utility<\/h3>\n\n\n\n<p>Economists have a concept called utility which broadly speaking \nrepresents the amount of &#8216;use&#8217; you get from buying \n\t\t\t\tsomething. The value of the utility can be used to compare different\n commodities &#8211; the higher the utility, the more &#8216;use&#8217; \n\t\t\t\tor benefit you get from it and the more likely you are to choose it.\n If you have an amount of money to spend on a set of commodities, the \nconcept of utility says that you would chose the set which gives you the\n highest utility.<\/p>\n\n\n\n<p>For example if you wanted to buy an electric kettle for boiling \nwater you may have the choice of a small cheaper kettle or a larger more\n expensive one, which boils water quickly. You may choose to buy the \ncheaper one because you think the extra features are not worth the extra\n cost. The concept of utility combines the cost with the other features \nof (in this case the kettle) and would say that the cheaper kettle gave \nyou the higher utility.<\/p>\n\n\n\n<p>Utility can be used to compare completely different alternatives \nso for example, you may already have a method of boiling water and you \nmay instead want to buy a packet of tea and a cup so you could drink a \nhot cup of tea but you could not buy everything. The concept of utility \nwould say that you would form the utility of the alternatives: 1 cheap \nkettle, 2 expensive kettle, 3 cup and tea and then you would select the \nalternative with the highest utility.<\/p>\n\n\n\n<p>The concept of utility assumes that you have a method of \ncombining the various features (called attributes) of all the \nalternatives including their price, to give one measure of utility which\n is consistent across all the alternatives within the set of choices (or\n choice set) open to you.<\/p>\n\n\n\n<p>Let us consider utility in the context of mode choice. The \nconcept of utility would say that we would consider the utility of each \nmode in turn. The utility for each mode would consist of the attributes \n(or features) of each mode which were relevant to the decision making \nprocess. The attributes most commonly used include:<\/p>\n\n\n\n<p>   \ufffd \t= the cost of each mode eg fare, parking cost, petrol cost,<\/p>\n\n\n\n<p>   IVT \t= the amount of time spent travelling on each mode of \ntransport (in the vehicle itself as opposed to wait and walk time &#8211; see \nbelow) <\/p>\n\n\n\n<p>   WAIT\t= the amount of time spent waiting for the bus train etc to arrive,<\/p>\n\n\n\n<p>   WALK \t= the amount of time spent walking to, from or between buses, trains etc<\/p>\n\n\n\n<p>   IC\t= the number of interchanges needed (eg between buses, trains)<\/p>\n\n\n\n<p>The utility for each mode can be formed from the weighted sum of \nthe attributes of choice so for example the utility for mode m could be \ngiven by:<\/p>\n\n\n\n<p>   U(m) \t= b(m) + b1*IVT(m) + b2*\ufffd(m) + b3*WALK(m) + b4*WAIT(m) + b5*IC(m)<\/p>\n\n\n\n<p>   Where:<\/p>\n\n\n\n<p>   U(m)\t\t= the utility of travel by mode m<\/p>\n\n\n\n<p>   b(m)\t\t= the perception of mode m (or mode constant)<\/p>\n\n\n\n<p>   b1, b2, b3, b4, b5 = weight of each attribute<\/p>\n\n\n\n<p>   IVT(m)\t\t= the accumulated time spent in vehicles while travelling by mode m<\/p>\n\n\n\n<p>   \ufffd(m)\t\t= the accumulated fare for travelling by mode m<\/p>\n\n\n\n<p>   WALK(m)\t\t= the accumulated time spent walking while travelling by mode m<\/p>\n\n\n\n<p>   WAIT(m)\t\t= the accumulated time spent waiting while travelling by mode m<\/p>\n\n\n\n<p>   IC(m) \t\t= the number of interchanges needed to make the trip by mode m<\/p>\n\n\n\n<p>Faced with a choice between alternative modes of transport, the \ntraveller would find out the value of each attribute \n\t\t\t\t(eg cost, in vehicle time, walk time, wait time and the number of \ninterchanges), weight and add them so as to calculate \n\t\t\t\tthe utility for each mode of transport. He (or she) would then \ncompare the utility of each mode of transport and (in \n\t\t\t\tprinciple) choose to travel on the mode with the highest utility. \nFor modelling more than one person, we need to consider the mathematical\n form of the choice model.<\/p>\n\n\n\n<p>Non &#8211; mathematicians may like to read this paragraph in order to aid their understanding of Exp(U) used in the \n\t\t\t\tMathematical Form section described below. Please consider raising a number such as 2 to a power such as 3 which would be \n\t\t\t\trepresented as 2^3 which means 2 multiplied by itself three times ie 2*2*2 which is 8. So if utility was 3 then 2^U would \n\t\t\t\tbe 2*2*2 or a value of 8. If utility were 4 then 2**U would be 2*2*2*2 which would be 16. In mathematics there is a \n\t\t\t\tspecial number called by the letter &#8216;e&#8217; which has a value of about 2.1 or more precisely about 2.17. e is a bit like pi \n\t\t\t\t(the ratio of the diameter of a circle to its circumference &#8211; about 3.14159) which you can calculate to as many decimal \n\t\t\t\tplaces as you like but you will never get it exactly. Like pi, mathematicians therefore denote it by using the letter \n\t\t\t\t&#8216;e&#8217;. So let us consider e^U which if U was 3 would be given by finding e on your calculator and multiplying it by itself \n\t\t\t\tthree times to give e*e*e or a bit more than 8. You can get the \n\t\t\t\t\tsame answer a bit easier by pressing &#8216;exp&#8217; on your calculator followed by pressing 3 which is better especially \n\t\t\t\tif U was not a round number. Exp(U) is therefore the e raised to the power of the utility and Exp(Um) is e raised to \n\t\t\t\tthe power of the utility for mode m. It&#8217;s a bit of a mouthful to say, so you may like to think of it as utility after you \n\t\t\t\thave pressed the Exp key on your calculator.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Mathematical Model Form<\/h3>\n\n\n\n<p>There are various forms of mode choice model (eg probit or logit)\n but by far the most common form is the logit model \n\t\t\t\t(pronounced lodge it). The logit model has a theoretic pedigree from\n random utility theory, has been found to fit mode choice making \nbehaviour quite well and is computationally tractable. The probit model \nhas a better theoretical pedigree (athough this is arguable) but is \ncomputationally much more intractable. We will concentrate on the logit \nmodel. The generalised extreme value (gev) model is a generic form of \nmodel from which can be derived various forms of model including the \nlogit &#8216;family&#8217; of models. It has important properties which are used to \nestimate model coefficients using both revealed and stated preference \ntechniques and which form the basis of disaggregate modelling. The mixed\n logit form of the model provides greater flexibility in the model.<\/p>\n\n\n\n<p>The logit model comes in two main forms: the multinomial logit \nmodel or the nested (sometimes called hierarchical or tree) logit model.\n The difference is best demonstrated by means of an example where there \nare three alternative modes of transport to chose from: car, bus, train.\n The multinomial logit model would say that the traveller would look at \nall three modes and choose one of these three. The nested logit model \nwould say that the traveller would choose first whether to go by car or \npublic transport and if he chose public transport he would then consider\n whether to choose bus or train. Note that in the nested logit, the bus \nversus train choice is not even considered if he chooses car. The \nbinomial logit model is a special case of the multinomial logit model \nwhere there are only two alternatives.<\/p>\n\n\n\n<p>Let us first consider framing our mode choice model as a \nmultinomial logit model which gives the proportion of travellers who \nwould use mode m (Pm) as the following:<\/p>\n\n\n\n<p>   Pm\t=\t[Exp(Um)] \/\n\t\t\t\t\n\t\t\t\t   \t\t[Sum of Exp(Um) over all modes available]<\/p>\n\n\n\n<p>   Where:<\/p>\n\n\n\n<p>   Pm\t= the proportion of trips (or the probability of) travelling on mode m<\/p>\n\n\n\n<p>   Um\t= the utility of travel by mode m (calculated as shown above)<\/p>\n\n\n\n<p>   Exp(Um)\t= e, about 2.17, raised to the power of Um as described above. <\/p>\n\n\n\n<p>Sum of Exp(Um) over all modes available is simply the \nexponentiated utility (obtained by entering the utility into your \n\t\t\t\tcalculator and pressing the Exp key) added-up for all the modes &#8211; so\n if there are two modes you add the two exponentiated \n\t\t\t\tutilities together. The logit model is simply the ratio of the \nexponentiated utility to their sum. So if we have two modes, \n\t\t\t\tcar and public transport which have exponentiated utilities of 3 and\n 2 respectively, then car will have 3\/(3+2) or three fifths or 60% of \nthem and public transport will have 2(3+2) or two fifths or 40% of them.\n In terms of probability this give car a probability of three fifths or \n0.6 and public transport a probability of two fifths or 0.4. Note that \nthe proportions always will add up to 1 or 100% and the probabilities \nwill always add-up to 1.<\/p>\n\n\n\n<p>If there are three modes the sum is the sum of all three modes and the above equation can be used to find the proportion \n\t\t\t\tusing each of the three modes so for example if the choice also included train with an exponentiated utility of 5 then the \n\t\t\t\tproportion by car would be 3\/(3+2+5) or three tenths or 0.3 or 30%; the proportion by bus would be 2\/(3+2+5) or two tenths \n\t\t\t\tor 0.2 or 20% and the proportion by train would be 5\/(3+2+5) or five tenths or 0.5 or 50%.<\/p>\n\n\n\n<p>It is worth pointing out that by introducing the third mode, the \nratio of car to bus choice remains the same at 3:2 \n\t\t\t\t(ie for two modes it is 60:40 and for three modes is 30:20 both \ncoming down to the same ratio: 3:2). This property means that if another\n mode is introduced it extracts travel from both modes so as to preserve\n their relative mode shares. At first sight, this seems to be \nintuitively correct because by introducing train we have done nothing to\n change car or bus and have not changed the relative attractiveness of \ncar with respect to bus (for a further discussion see the Independence \nfrom Irrelevant Alternatives or IIA property).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Disaggregate (or Individual) Mode Choice<\/h3>\n\n\n\n<p>If we are considering an individual trip, then to forecast their \nmode choice we identify the choice set (ie the set of \n\t\t\t\talternative mode they have available to them). We find the cost, \nin-vehicle time, walk time, wait time, number of \n\t\t\t\tinterchanges (and any other attribute of choice we have in our \nutility function) by each mode of transport in their choice \n\t\t\t\tset. We use the weights (more about the weights later) to calculate \nthe utility which we exponentiate. We sum the \n\t\t\t\texponentiated utility over all the modes in the choice set and the \nprobability of choosing each mode is given by the ratio \n\t\t\t\tof their exponentiated utility to the sum of all exponentiated \nutilities. We can use the probability to identify the best mode and \nallocate that individual trip to the mode with the highest probability.<\/p>\n\n\n\n<p>If we have a set of individual trips we might consider \nforecasting the probability of each trip in the set. If we are \ninterested in the overall mode shares we might add-up the number of \ntrips allocated to each mode. However a more accurate estimate of the \noverall mode shares might be to sum the probabilities for each \nindividual trip. If our individual trips had an expansion factor to \nexpand our sample to represent all travel, the mode shares of all travel\n is best obtained by multiplying each expansion factor by the forecast \nprobability and summed over the sample. This is called disaggregate mode\n choice modelling.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Matrix Mode Choice<\/h3>\n\n\n\n<p>If we have a trip matrix then we can split it into trip matrices \nfor each mode of transport by considering each movement (or matrix cell)\n from one origin to one destination in turn. The calculation is the same\n as above: calculate the utility, exponentiate it, sum over all modes \nand calculate the proportion by each mode, apply these proportions to \nthe trip matrix to give the number of trips for each mode and write \nthese out to the matrix for each mode. This calculation is then repeated\n for each origin to destination zone pair in the trip matrix to give the\n trip matrix for each mode.<\/p>\n\n\n\n<p>For matrix mode choice the attributes (cost, in-vehicle time, \nwalk time, wait time and number of interchanges) need to \n\t\t\t\tbe provided for each origin to destination zone pair for each \nalternative mode. This is usually done in the form of a &#8216;skim&#8217; \n\t\t\t\tmatrix. The values of ivt, \ufffd, walk, wait, interchange can be skimmed\n from the networks for car and public transport. The \n\t\t\t\tcoefficients b0 to b5 can be taken from a stated preference survey \nwith b0 being the public transport mode specific constant relative to \ncar (ie b0 for car is zero).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The Composite Utility or Logsum<\/h3>\n\n\n\n<p>The sum of the exponentiated utility for each mode of transport \nhas a special significance &#8211; it is a measure of the closeness of the \norigin and the destination of the trip.(The closeness is the inverse of \nseparation between the origin and destination.) It is usual to take the \nnatural logarithm of it when it is called the logsum or composite \nutility. <\/p>\n\n\n\n<p>It has some important properties in particular that if any mode \nof transport is improved then it will be bigger. It also retains the \nmode proportions so if a mode of transport is improved then it will \nattract mode trips and these trips will be allocated by the mode choice \nmodel to the improved mode with the trips on the (unchanged) other modes\n of transport remaining the same. These are important properties and the\n logsum or composite utility is usually passed on to the distribution \nmodel to form the measure of separation between each pair of zones.<\/p>\n\n\n\n<p><a href=\"http:\/\/www.transportmodeller.com\/distributionoverview.html\">On to distribution model tutorial<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/www.transportmodeller.com\/modechoiceoverview.html What is a Mode Choice Model? Mode choice models model the travellers choice of which mode of transport to take, eg car, public transport&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[],"class_list":["post-1124","post","type-post","status-publish","format-standard","hentry","category-travel-demand-modeling"],"_links":{"self":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/posts\/1124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/comments?post=1124"}],"version-history":[{"count":0,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/posts\/1124\/revisions"}],"wp:attachment":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/media?parent=1124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/categories?post=1124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/tags?post=1124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}