Commuting network models: Getting the essentials
Abstract
EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.
Full text
Gargiulo, Floriana; Lenormand, Maxime; Huet, Sylvie; Baqueiro Espinosa, Omar Article — Published Version Commuting network models: Getting the essentials Journal of Artificial Societies and Social Simulation Provided in Cooperation with: Leibniz Institute of Agricultural Development in Transition Economies (IAMO), Halle (Saale) Suggested Citation: Gargiulo, Floriana; Lenormand, Maxime; Huet, Sylvie; Baqueiro Espinosa, Omar (2012) : Commuting network models: Getting the essentials, Journal of Artificial Societies and Social Simulation, ISSN 1460-7425, University of Surrey, Guildford, Vol. 15, Iss. 2, https://doi.org/10.18564/jasss.1964 This Version is available at: https://hdl.handle.net/10419/230636 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by/4.0/
©CopyrightJASSS FlorianaGargiulo,MaximeLenormand,SylvieHuetandOmarBaqueiroEspinosa(2012) CommutingNetworkModels:GettingtheEssentials JournalofArtificialSocietiesandSocialSimulation 15(2)6 <http://jasss.soc.surrey.ac.uk/15/2/6.html> Received:23-Feb-2011Accepted:09-Feb-2012Published:31-Mar-2012 Abstract Humanmobilityand,inparticular,commutingpatternshaveafundamentalroleinunderstandingsocio-economicsystems.Analysingandmodellingthenetworksformedbycommuters,forexample, hasbecomeacrucialrequirementinstudyingruralareasdynamicsandtohelpdecision-making.Thispaperpresentsasimplespatialinteractioncommutingmodelwithonlyoneparameter.The proposedalgorithmconsiderseachindividualwhowantstocommute,startingfromtheirresidencetoallthepossibleworkplaces.Thealgorithmdecidesthelocationoftheworkplacefollowingthe classicalruleinspiredfromthegravitylawconsistingofacompromisebetweenthejoboffersandthedistancetothejob.Thefurtherawaythejobis,themoreimportanttheoffershouldbetobe consideredforthedecision.Inversely,thequantityofoffersisnotimportantforthedecisionwhentheseoffersarecloseby.Thepresentedmodelprovidesasimple,yetpowerfulapproachto simulaterealisticdistributionsofcommutersforempiricalstudieswithlimiteddataavailability.Thepaperalsopresentsacomparativeanalysisofthestructureofthecommutingnetworksofthefour Europeanregionstowhichweapplyourmodel.Themodeliscalibratedandvalidatedontheseregions.Theresultsfromtheanalysisshowthatthemodelisveryefficientinreproducingmostofthe statisticalpropertiesofthenetworkgivenbythedatasources. Keywords: CommutingPatterns,NetworkGenerationModels,IndividualBasedModels,StochasticModels Introduction 1.1 Fortwodecades,notonlythenumberofcommuters(i.e.peoplelivinginamunicipalityandworkinginanother)butalso,theaveragedistancetravelledbyworkershasincreasedinmostEuropean countries.Thismakescommutingafundamentalphenomenoninunderstandingsocio-economicmacrostructures.Theprecisedescriptionofcommutingpatternshasacentralroleinmanyapplied questions:fromthestudiesontrafficandtheplanningofinfrastructures(Ortuzar2001)tothediffusionofepidemics(Balcan2009)orlargedemographicsimulations(Huet2011). 1.2 Despitetheirimportancefordescribingrealisticsocio-economicframeworks,datasetsdescribinghumancommutingpatternsarerarelyprovidedbystatisticaloffices.Thereforealargeefforthasbeen madetofindsomealgorithmicproceduresabletoreconstructcommutingflows,startingfromtheaggregatedatasetsthatareusuallyavailable.Thesearemodelsthatsimulatethemorphogenesisof thenetwork,takingintoaccounttheconstraintsgivenbytheavailableaggregatedataandthegeographicalpropertiesofthenetworks.GoodreviewsofthesemethodscanbefoundinOrtuzar(2001), intheframeworkoftransportmodelling,inBarthélémy(2011),intheframeworkofspatialnetworksmodelling,andfinallyinRouwendalandNijkamp(2004)concerningmicro-economy.Ontheother handthefieldstillhasmanygaps,mostlyduetothedifficultiesmetincalibratingtheparametersoftheproposedmodelsandinfindinggooddescriptionsforzonesinhabitedbysmallpopulations.A discussiononthestateoftheartisprovidedinsection1. 1.3 OurresearchtakesplaceintheframeworkoftheEuropeanprojectPRIMA[1].ThemicrosimulationmodeldevelopedwithinthePRIMAprojectsimulatesthedynamicsofthepopulationlivinginthe Europeanrural(lowpopulationdensity)municipalities.Therefore,oneofourmainfocusesisthecommutingstructuresintheruralareasofourcasestudyregions.Thesestructureshadtobeanalysed andreproducedinthemicrosimulationmodel,whichaimstohelpdecision-makingregardingland-usepolicies.Thus,weneededasimplecommutingnetworkalgorithmabletogeneratethenetworkof theEuropeanregionswherethedetailedcommutingdatawasnotavailable. 1.4 Forsomeoftheseregions,theonlyavailabledataatthemunicipalitylevelconsistedoftotalnumberofindividualscommutingoutofthemunicipalityandtotalnumberofindividualscommutingintothe municipality.Inthesecases,theprecisestructureofthecommutingnetworkwasunknown.Inotherwords,theexactflowsofindividualsgoingfromamunicipalitywheretheylivetoanotheronewhere theyworkwasmissing.Consequently,theseflowshadtoberecreatedonthebasisofasetofassumptions.Adescriptionofthecasestudiesweanalysedisprovidedinsection2. 1.5 Thispaperdescribesthemethodweusedtorecreateallthecommutingflows.Ourmethodgeneratesacommutingnetwork,usingaMonteCarlosimulationapproachthatcanalsobeappliedtolow densityzones.Itisbasedontheindividualchoicesofthecommuters.Weproposeanextremelysimplifiedframework,inspiredbythegravitylaw,whichaimstobegeneralenoughtobeapplicableto areaswithdiversegeographicalfeaturesanddifferentcommutingstructures.Despiteitssimplicity,theproposedapproachiscapableoffaithfullyreplicatingthestructureofobservedcommuting networks. 1.6 Ouralgorithmconsiderseachindividualwhowantstocommute,fromtheirlivingplacetoallpossibleworkplaces.Individualsdecidewheretheyworkfollowingaclassicalruleconsistingofa compromisebetweenthejoboffersandthedistancestothejobs.Thefurtherawaythejobis,themoreimportanttheoffershouldbetobeconsideredinthedecision.Inversely,thenumberofoffersis lessimportantfordecision-makingwhentheseoffersareinmunicipalitiesnearby.Weinitializethealgorithmwithaggregatedataonjobseekers(i.e.,thenumberofout-commuters)andjoboffers(i.e., thenumberofin-commuters)ineachmunicipality.Thealgorithmmemorizespastchoicesandafterajobisassociatedtoacommuter,thelocalinformationforthemunicipalitiesinvolvedinthechoice isupdated.Thealgorithmisrepeateduntilallthejobsareassigned.Thedetailsofthemodelareexplainedinsection3.1. 1.7 Wealsoprovideamethodtocalibratetheuniqueparameterofouralgorithm,usingdetaileddatafromstatisticaloffices.Weshowthat,eveniftheselectedregionsaresignificantlydiverse,the parameterdoesnotvarydramaticallyfromoneregiontoanother.Thecalibrationmethodispresentedinsection3.2. 1.8 Finally,weprovideaquantitativeframeworktocomparethenetworkobservedbystatisticalofficeswiththegeneratedstructuresofouralgorithm(Section4).Inparticular,wearticulatethevalidation systemsattwolevels.Insection4.2wefocusontheglobaltopologicalpropertiesofthenetwork,suchastheprobabilitydistributionsofimportantnetworkindicators(e.g.,degreesandweights).In section4.3,weintroduceastatisticalframeworkthatallowsacomparison,atthelocallevel,ofthesimilaritybetweentheflowsobservedintherealcaseagainstthosepresentinthegenerated network. 1.9 AnimplementationofthealgorithminNetLogo,providedasadditionalmaterialanddetailedintheappendix,allowsagraphicalrepresentationofthegenerationmodel. Background 2.1 Theliteratureontheconstructionanduseofcommutingnetworksisabundant;bothfromthepointofviewoftheanalysisofthestructures,andfromthepointofviewofthemodels(seethereviewsof Ortuzar2001;Barthélémy2011;RouwendalandNijkamp2004invariousresearchdomains). 2.2 Manyrecentpapersadoptedanapproachbasedonnetworktheory.AninterestingandcompleteanalysisofthecommutingstructuresfromthispointofviewwasintroducedinDeMontisetal.(2007; 2010).Inthisframework,mostimportantlyconcerningthemodellingissues,thequestionaboutthecommutingnetworksissetinthelargerconceptualcategoryofspatiallyconstrainednetwork structures.Thiskindofanalysisconcernsnotonlycommuting,butallthesituationswherethegeographyhasasignificantrole:fromthereconstructionofmigrantpatterns(LemercierandRosental 2008)totheanalysisoftheinternetatautonomoussystemlevel(Pastor-SatorrasandVespignani2004),toairlinenetworkstructure(Barratetal.2004).Aparticularlyimportantstudyinthiscontextis Barratetal.(2005)wheretheconceptof"preferentialattachment"(BarabasiandAlbert1999)isadaptedinordertoconsidernotonlythestrengthofanodegivenbyitscurrentin-degree,butalsothe spatialconstraintincludedinthejourney-to-worknetwork. 2.3 Amoreclassicalapproachcomesfromthemicro-economists(RouwendalandNijkamp2004).StartingfromthemonocentricmodelofresidentiallocationproposedbyAlonson(1964),economistsand geographersinurbanmodellinginitiallydidnotconsiderthespaceasdeterminantinresidencelocationoftheindividual,assumingthatplacesofworkarealllocatedinthecentreofauniquecity.In thesameway,lookingatthedecisionregardingthejob,jobsearchtheorydoesnottakeespeciallyintoaccountthedistanceofcommutinginitsfirstformalization.Itassumesaworker'soptimal strategyissimplytorejectanywageofferlowerthanareservationwage,andacceptanywageofferhigherthanthisreservationwage.However,commutingtimewassoonincludedinnewjob-search modelsasin(VanDenBergandGorter1997).Inthismodel,ajobofferconsistsofawageandacommutingtimepair.Tobeapplied,thisapproachrequiresdataonwageoffersandtheirlocations. Whenworkingwithmodelsatverylocallevel(e.g.,municipalitiesorvillages),wagedataisoftendifficulttoobtain. http://jasss.soc.surrey.ac.uk/15/2/6.html 1 12/10/2015
2.4 However,themostusedapproachtothemodellingofcommutingormigrationstructuresistheonebasedontheso-calledgravitylawmodels(Haynes1988).Thetermgravitylawisametaphorfrom classicalphysics.Wecanimaginethatasithappensingravitation,theinteractionbetweentwomunicipalitiesdependsproportionallyonaparameter:forexample,thesizeofthemunicipality (equivalenttomassinthegravitationallaw),andininverseproportionwithsomepowerlawofthedistance.Itisrecognizedthattheconceptof"distance"canbeformulatedassomethingotherthana realgeographicalorspatialcategory:itcanbeatravellingtime,atopologicaldistanceonanetwork,butalsoa"social"distance(e.g.thecasesofbordercitieswheredifferentlanguagesarespoken). Theclassicalformalizationofprobability pij ofacommutertoliveinthemunicipality i andtoworkinthemunicipality j isthefollowing: (1) whereweconsiderdifferentproportionalityparameters Mi,Nj, respectivelyfortheoriginanddestinationmunicipalities(thissizecouldrefertotheareaofthemunicipalities,itspopulationorthenumber ofworkingpeople)andthedistancebetweeneachpairofmunicipalities dij. 2.5 Usingthisprobabilitymodel,itispossibletodeterminethetrafficbetweeneachpairofmunicipalitieswithdifferentmethods(e.g.IPF,multinomialmodels,etc.).Wenoticethatthefunctions f(Mi),g(Ni) and h(dij) mayassumeanypossibleshape.For h(dij) ,theliteraturegenerallyagreesthatanexponentialspecificationappearstofitbetterwithreality.However,insomeapplications,apowerlaw decayoftenseemstobeabetterfit(DeMontis2007,2010;ReggianiandVinciguerra2007).Somestudiesproposeacombinedformofthetwo(OrtuzarandWillusem2001),oradifferentform(de Vriesetal.2009),inordertobetterfittheempiricaldata. 2.6 Themostcommonappliedmodelofspatialinteractiontogeneratecommutingnetworksisthesocalled"doubly-constrained"model(Wilson1998;Choukroun1975).Basedonthegravitylaw,it predictsthenumber Tij ofjourneys-to-workbetweenanypairoforigin( i) -destination( j )zonesconsideringthenumberofout-commutersof i andthenumberofin-commutersof j : (2) where: 2.7 Thefactors Ai and Bj ensurethatthe Tij tableisconsistentwiththeexogenousrowsandcolumnstotals.Thesebalancingfactors,plusadistanceparameter β, implicitinthefunction h(dij), havetobe calibrated.Anentropymaximizationapproachallowscalibratingsuchmodelconsideringonlyoneparametertofind( β )since Ai and Bj areautomaticallysolvedbythismethod.Thisoptimization approachconsistsinassociatinganyparticularmicrostatewithamacrostate,whichissimplythenumberoftripsfromanorigintoadestination.Amacrostateisfeasibleifitreproducesknown propertiesreferredtoassystemstates(forexample,thetotalnumberoftravelers).Estimatingthesolutionofthemodelconsistsinfindingthemacrostates,maximizingachosendistancefunctionof theconsideredmacrostatetotheobserveddataamongthefeasiblemacrostates(Bernstein2003). 2.8 Severalimprovementswereproposedbasedonthisdoubly-constrainedmodel.InFotheringham(1981),acompetingdestinationmodelisintroducedtoimprovethespatialstructureofthegenerated network.FikandMulligan(1990)extendthiscompetingmodeltomeasuretheaccessibilityofadestinationrelatedtodestinationsofthesamehierarchicalorderinthesystemofcentralplaces (foundedontheCentralPlaceTheory).Theyalsoincorporateameasurethatrelatestothenumberofinterveningopportunitiesfromthelivingplace i totheattractiveforce j .Theseintervening opportunitiesarethepotentialdestinationswithinadistancesmallerthan dij. Togobeyondthegravitylawmodels'weaknesses,someauthorsdevelopedanapproachfoundedonthenetwork paradigm(Thorsenetal.1999;Gitlesen2010).Thiskindofprocedurehasthedisadvantageofincreasingthenumberofparameters,whichiswhatwewantedtoavoid. 2.9 Veryrecently,Siminietal.(2011)proposedanalgorithmfreeofparameterstogeneratemanydifferentspatialnetworks.Theyconsiderthejobdemandandthejobofferasapartofthepopulationof theorigin-destinationzones,andcomputetheprobabilityofaflowbetweentheorigin i andthedestination j ,consideringthesepartsandthedensityofpeoplelivingbetween i and j .Theyapplythis principleforthegenerationofthecommutingnetworkofUSAatthecountylevel.Thismodelisveryinteresting,nonethelesswedoubtitssuitabilitytoreproduceacommutingnetworkatsuchalow levelasthemunicipalitiesinourstudyregions(suchasFrance,wheretheaveragesizeofanAuvergnemunicipalityis1024inhabitants).Thoughthismodeladdressessimilarissues,theauthors concludethelackofan effective distance weakenstheirmodelfitness. 2.10 Ourstudyanalysesdifferentregionsfromvariouscountries.RegionsaredefinedassetsofNUTS3[2]areasforeachcountry;theseregionsvaryinsize,population,andothereconomicandsocial properties.Weareinterestedintheinter-municipalitycommutingnetwork.Veryfewpapersdealwiththistopiconasmallscale.Somestudiesanalysetheinter-municipalitycommutingnetwork(De Montis2007,2010),showingthattheSardinianandtheSicilianinter-municipalcommutingnetworksexhibitatrafficpropertybasedonapowerlawwithexponent2.Others,suchasThorsenand Gitlesen(1998),comparedifferentspatialinteractionmodelsbyanempiricalevaluationofthemunicipalitiesofaNorwegianregion.Onestudyanalysesatthedistrictlevel(whichishigherthanthe municipalitylevel)theGermancommutingnetwork(Patuellietal.2007),usingacomparisonoftwospatialinteractionmodels.Thesetofpublicationsshowstheinterestinsuchanapproachtostudy theevolutionofthesetypesofnetworksovertime. 2.11 Forthepresentedmodel,theindividualchoiceforajoblocationisprobabilistic.Decisionsaremainlystochastic,andsoisthemodel.Eachtimethemodelisrun,weobtainadifferentnetworkbased onthestatisticalpropertiesusedasinput.Thisshouldbecontrastedwiththegenerationofanoptimizednetworkmakingdeterministictheflowbetweentherelatedmunicipalities.Especiallyforthe latter,adeterministicapproachdoesnotappearrelevant,sincethelocalcommutingchoiceisinfluencedbymanylocaldecisionswhichcanbeseenasrandomvariations.Thevalidationofthemodel showsthatweobtainedagoodfitofthenetworkgivenbytheobserveddata.Theseresultsareverystable;thestochasticityofthemodelthusreflectslocaldiversitywithoutperturbingthestatistical propertiesofthenetwork.Forthedeterrencefunction,wedecidedtouseapowerlaw;nevertheless,anotherfunctioncouldbetested. Regionalcommutingnetworkstructures-Specificdifferencesandglobalproperties. 3.1 Thefirstpartofourstudyconcernstheanalysisofourstudyregions.Thelocalstatisticaloffices[3]providealltheinformationnecessarytocharacterizethestructureofthecommutingnetwork.We consider:twoseparatedNUTS2regionsinFrance(AuvergneandBretagne),eachcomposedoffourNUTS3regions;agroupoftwoNUTS3regionsintheUK(NottinghamshireandDerbyshire);anda groupoftwoNUTS3regionsinGermany(theAltmarkregioniscomposedbythedistrictsofStendalandSalzwedel).Differencesbetweenthedataavailabilitywithinregionsmustbenoted,asthedata forAuvergneandBretagneismuchmorecomprehensive,incomparisontotheothertwocasestudyregions.Indeed,datadescribingthecommutingflowsbetweeneachpairofmunicipalitieswithless than10commutersisnotavailableintheGermandata(Altmark)andthesimlarflowssmallerthan3arenotavailableintheEnglishdata(NottinghamshireandDerbyshire). 3.2 Theselectedregionsdifferonmanyaspects:thenumberofmunicipalities,geographicalstructure,andsocio-economiccharacteristics.TheywerechosenbytheEuropeanprojectbecausetheyareall ruralregionswithdiversesocio-economiccharacteristics.Table1presentssomebasiccharacteristicsofeachcasestudy. Table1:Characteristicsofselectedstudyregions Region Numberof municipalities Averagesizeofamunicipality(by numberofinhabitants) Averageinter-municipality distance(inkm) Numberofcommuterslivingand workingintheregion Partofcommuterslivinginand workingoutsidetheregion Totalarea surface(inkm2) Auvergne(France) 1310 1024 88 261822 7.73% 26,013 Bretagne(France) 1269 2447 99 608587 7.32% 27,208 Altmark(Germany)- subregions 91 2527 50 16770 66.82% 4,715 Nottinghamshire 372 5300 44 573022 12.4% 4,839 http://jasss.soc.surrey.ac.uk/15/2/6.html 2 12/10/2015
/Derbyshire(UK) 3.3 Theobjectiveofthisfirstanalysisistodeterminethecharacteristicsofthecommutingnetworkscomposedbytheregionalcommutingflowsthatarepresentineachregion.Forthisanalysis,wecreate acommutingmatrixfromadatasetcontainingthenumberofindividualsthatcommute(i.e.resideinonesettlementandworkinanother)withineachoftheselectedregions.Arepresentativesectionof thematrixusedisshowninTable2.Eachrowrepresentstheplaceofresidenceandeachcolumnrepresentstheworkingplace;thecellattheintersectionofeachrowandcolumncontainsthe numberofpersonslivingandworkinginthecorrespondingrowandcolumn.Forouranalysisweignorethecellsinthediagonalofthetable,astheyrepresentnon-commutingindividuals(i.e.,persons livingandworkinginthesameplace). Table2:ExampleofcommutingdatafromtheAltmarkRegion Municipalityofemployment Municipalityofresidence 81026 81030 81035 81045 81080 81095 ... 81026 0 0 0 0 0 0 ... 81030 0 0 0 3 0 0 ... 81035 0 0 0 2 0 0 ... 81045 0 2 2 0 2 2 ... 81080 0 0 0 0 0 0 ... 81095 0 2 0 8 0 0 ... ... ... ... ... ... ... ... 0 3.4 Afteranalyzingsomeglobalpropertiesofthenetworkstructureweobservethatthepresentedregionshavequitedissimilarstructures.Thefirstanalyzedpropertyofthenetworksconcernsthe distributionsofthedegrees.Thedegreeisapropertyoftheassociatedun-weightednetwork.Fortheconstructionoftheun-weightednetworkweconsiderallthemunicipalitiesandaddadirectedlink betweenthemunicipality i andthemunicipality j ifatleastoneindividualcommutesfrom i to j .Thein-degreeofamunicipality i (kin( i ))isthenumberoflinksenteringin i ,whiletheout-degree(kout( i ))is thenumberoflinksstartingfrom i . 3.5 Theprobabilitydistributionsofthe"inandout"degreesarerepresentedinfigures1.Aswecanobserveonthesefigures,thedifferentcasestudiesarecharacterizedbyverydifferentbehaviours accordingtothedegreedistribution. Figure1.InandOutdegreedistributionsofeachcasestudyregion 3.6 Theout-degreedistributionshowsthatthemunicipalitiesintheUKregionalwayshavealargeanduniformdegreedistribution.ThiscanbeexplainedbythefactthatfortheUK,thenumberof commutersisextremelylarge,andthenetworkisverydenseintermsoflinks.Thiskindofuniformstructurecanbeconnectedtothelackof"workinghubs"abletoattractworkersmorestronglythan theothermunicipalities.Thiscorrespondswithwhatweobserveinthein-degreedistributionwhereweseethatfewmunicipalitieshaveasmallin-degreewhileaconsiderableparthasahighindegree. 3.7 ThesituationinAuvergneandBretagne,wherethein-degreedistributionssuggestthepresenceofreal"workinghubs"inthecommutingnetwork(asmallbutnotunimportantpartofmunicipalities reachedmuchmorethantheothers)istotallydifferent. 3.8 FortheAltmarkregion,thetotalnumberofconnectionsisgenerallylower,suggestingthatthisregionrepresentsonlyapartofalargercommutingnetwork.Thiscanbeexplainedconsideringthatthe majorityofcommutersinthestudiedregionworkoutsidethisregion(66.82%asshowninTable1). Figure2.Distributionofthecommutingdistances(inmeters)fortheselectedcasestudies 3.9 Anotherimportantconsiderationconcernsthedistributionofdistancescoveredbythecommuters.ThismeasureispresentedinFigure2. 3.10 ThedistributionofthedistancesshowsthatintheUKregions,smallerdistancesarefavoured.Thisconfirmsourintuitionthatjoboffersarehomogeneouslydistributedamongallthemunicipalitiesin theregion(thus,therearenoworkinghubs).Forthisreasonpeopledonotneedtotravellongdistancestofindajob.TheoppositesituationisobservedintheAltmarkcase,whereasignificantshare ofthecommuterscantravelupto80km. 3.11 Inthissectionweprovidedabriefdescriptionoftheselectedcasestudies.Weshowedthestructuraldifferencesandglobalpropertiesofthestudiedcommutingnetworks.Inthefollowingsectionwe presentamethodtoconstructasyntheticnetwork,basedonthedecisionoftheindividualworkers.Thismethodisthenusedtogeneratecommutingnetworksforregionswherethedetailed commutingdataisnotavailable. http://jasss.soc.surrey.ac.uk/15/2/6.html 3 12/10/2015
AMonte-Carlosimulationapproachtogeneraterealisticcommutingnetworks 4.1 Theusualmethodsforreconstructingthestructureofcommutingnetworksarebasedonthegravitylaw.Themainhindranceofthisapproachisthatitisnoteasytocalibratethegravitylawmodel (Williams1976).Moreover,itisadeterministicmethodwhichappearsinappropriatewhenflowsforsmallmunicipalitiesmustbepredicted,asitisthecaseforourstudyregions.Weproposeasimple networkgenerationmodelthatpresentsahigherlevelofuniversalityandwhichcanbeappliedwithagooddegreeofconfidencetoallthecasestudyregions. Theindividual-levelgenerationmodel 4.2 Themodelisbasedontheindividualchoicesofthecommuters,namelypeopleintheactiveclassthatdonotworkinthemunicipalitywheretheyreside. 4.3 Whenlookingforanoccupationoutsideofthelivingplace,twofactorscaninfluencethechoiceofthedestination:thedistanceofthepotentialworkplaceandits"attractiveness"(definedbythenumber ofjobsitoffers).Thefurtherawaythepossibledestinationis,themoreitsattractivenesswillmatterinthedecision.Ifthepossibledestinationisnear,thesettlementattractivenessbecomesless significantfortheindividual'sdecisionforaworkplace. 4.4 Westartfromatypologyofdatathatisusuallyavailable,foreachmunicipality,ineachcasestudy: thetotalnumberofout-commuters( Ri ),alsocalledthejobdemandofthemunicipality i, thetotalnumberofin-commuters( Qi ),alsocalledthejoboffer(orattractiveness)ofthemunicipality j, thedistancesamongeachcoupleofmunicipalities( dij ) 4.5 InthepresentedstudyweusetheEuclideandistancesinkmtodescribethedistances.Similarresultscanbeobtainedusing,forexample,theroaddistanceortravelledtimemeasures.Some performedtestontheresultsshowedthatthealgorithmisrobusttothechoiceofotherdistancedefinitions. 4.6 Toeachcommuterresidingineachmunicipality i ,thealgorithmassociatesaworkingdestination j accordingtothejoboffersofallthemunicipalitiesdifferentfrom i intheregionandthedistance betweenthemunicipality i andallthepossibledestinations.Thealgorithmforthegenerationofthenetworkevolvesaccordingtothefollowingsteps: Foreachremainingcommuterwhohasnotalreadyfoundaplacetowork,we: Selectaresidencemunicipality i atrandomamongthemunicipalitieswherethereisatleastoneout-commuter( Ri >0) Selecttheworkingdestination j randomlyfollowingtheprobabilitydistributiongivenby: (3) Updatethenumberofout-commutersof i andthenumberofin-commutersof j :Ri=Ri-1,Qj=Qj-1 Recalculatethe Pi→j distribution Therelationbetweentheofferandthedistanceischaracterizedinthemodelwiththeparameterβwhichcapturestherelativeimpactofthedistance.Usingthisalgorithmweensurethatthegenerated networkrespectsexactlytheincomingandoutgoingtrafficfromeachnode. 4.7 Differentvaluesoftheparameterβproducedifferentdistanceanddegreedistributionsforthegeneratednetworks.Wecalibratetheparameterforthecasestudieswherethecompleteinformationin thenetworkisknown,inordertohavethesamedistancedistributionastheoneobservedfortherealnetwork. 4.8 Analysingthecalibrationontheregionswherethedataisavailable,weobservethatwithanappropriatechoiceoftheparameterβweareabletogenerateacommutingnetworkwithstatistical propertieswhichareverysimilartotherealnetwork.Thecalibrationprocedureandtheanalysisoftheaccuracyofthegenerationalgorithmarepresentedinthefollowingsections. Modelcalibration 4.9 Theproposedmodeldependsonthespatialparameterβwhichrepresentstherelativeimportanceofthedistancetothedestinationwhenchoosingaworkingplace.Atypicalpropertythatdistinguishes commutingnetworksisthedistributionofthetravelleddistanceforeachworker.Weemploythisinformationtocalibratetheparameterβ.Infact,eachvalueofβproducesanetworkwithatypical distancedistribution,asitisdisplayedinFigure3fortheAuvergnecasestudy. Figure3.Distance(dinKM)distributionfortherealnetworkandthreedifferentβvaluesfortheAuvergnecase study 4.10 Weobservethat,forexcessivelylowvaluesofβthepreferencetowarddistantworkingplacesisoverestimated,whileforexcessivelyhighvalues,thechoiceofcloseplacesisoverestimated.We calibrateβinordertominimizethedistancebetweenthegeneratedtravelleddistancedistributionandtheoneobtainedfromtheobserveddata.TheminimizeddistanceistheKolmogorov-Smirnov distance: (4) where Pco|g(d) arethecumulativedistancedistributionsfortheobserved( o )andgenerated( g )networks. 4.11 Foreachcasestudywecalculatedthisdistancefordifferentvaluesofβandchosetheminimumofthefunction ⟨DKS⟩(β) asthecalibratedparametervalue.Indeed,tochoosetheparametervalue,we considered ⟨DKS⟩ sincethemodelisstochastic.Thevalueof ⟨DKS⟩ isobtainedbycalculatingtheaverageofthe DKS ,measuredon100replicationsofthegeneratednetworkforeachβvalue.Within thesereplications,thevariationofthemeasured DKS isverylow,atmost1.13%of ⟨DKS⟩ .ThecalibrationprocessisdescribedinFigure4.Eachdotcorrespondstoatestedvalueofβ(withastepof http://jasss.soc.surrey.ac.uk/15/2/6.html 4 12/10/2015
0.5from0to7forβ,andwithastepof0.1from2to3forthe ⟨DKS⟩ valuesrequiredtoidentifytheminimum).Figure4showsthatfortheanalyzedregions,thevalueofβliesintherange[2,3]. Figure4.CalibrationprocessresultsforthefourcasestudyregionsbasedontheminimizationoftheaverageKolmogorov-Smirnovdistanceover100replications(eachdotsrepresentstheresultfor atestedβvalue.) 4.12 Table3liststheoptimalvaluesforallthestudiedregions,wherethe ⟨DKS⟩ distanceisminimized. Table3:Optimalvaluesofβforthestudiedregions Region β Auvergne 2.71 Bretagne 2.59 Altmark 2.1 NottinghamshireandDerbyshire 2.2 Intheanalyzedregions,notwithstandingtherelevantgeographicanddemographicdifferences,thecoefficientvariesslightlyintheintervalβ∈[2,3]. 4.13 Moreover,wecanobservethatforalltheregionsinthewholeconsideredinterval,theaverageKSdistance ⟨DKS⟩ betweentheobserveddistributionandgeneratedonesisalwayssmall.This suggestsastrategyforapplyingthisalgorithmtothecaseswherethecalibrationdatasetsarenotavailable.Astochasticprocedurewhereateachreplicationtheβvalueisrandomlyextractedinthe intervalβ∈[2,3]canreproduce,withagoodapproximation,thecommutingpatternsoftheregion.Thislastassumptionisvalidonlyiftheconsideredregionissufficientlyisolated;thatis,ifthetotal numberofcommuters,inandoutfromamunicipality,commutetoothermunicipalitieswithinthesameregion. Validation 5.1 Toassessthequalityofthegeneratednetwork,wecompareitspropertiestothepropertiesoftheobservednetwork(i.e.,dataobtainedfromtheregions'correspondingNationalStatisticalOffice). 5.2 Twodifferentkindsofpropertiesareinvestigated:afirstgroupismeasuredonthemunicipalitynetworkwhereweconsiderthattwomunicipalitiesarelinkedwhenatleastoneworkercommutes betweenthem,whatevertheorigin-destinationis(i.e.,consideringanunweightednetwork);asecondoneismeasuredontheweightednetworkwhichhasdirectlinksweightedbythenumberof individualscommutingfromagivenmunicipalitytoanotherone. 5.3 Fortheunweightednetwork,twodifferentindicatorsareconsidered: 1. Theabilityofthegenerateddatatofittheobservedinandoutdegreedistributionsofthe"municipality"network; 2. Thetrafficdensitydistributiondescribingthedensityofeachweightthatcanbeassociatedtoanundirectedlink.Foranarcbetweentwomunicipalities,thisweightisthesumoftheindividuals goingfromonemunicipalitytotheotherinbothdirectionsthroughthearc. 5.4 Fortheweightednetwork,wecomparethenumberofcommutersofboththegeneratedandtheobservednetwork. 5.5 Allthesestatisticswerenotusedtogeneratesimulatednetworks.Moreover,wemustrememberthatthenumberofpeoplelookingforajobinamunicipality i ( Ri )andthejoboffersinamunicipality j ( Qj ),arereproducedpreciselyinallmunicipalitiesbythegenerationalgorithm. Thepropertiesofthemunicipalitynetwork(i.e.theunweightednetwork) 5.6 Weconsiderthreevariablestodescribethetopologicalpropertiesofthenetworkandthecharacteristicofthecommutingflows:theinandoutdegreedistribution(p(k in)andp(kout))andthetraffic distribution(p(T)).Theseindicatorsareinfluencedbythechoiceoftheparameter β .AswecanobserveinFigure5fortheAuvergnecasestudy,forβ=0(i.e.,whenthegeographyisnotimportant), highernetworkdegreesandlowertrafficsareobserved.Asthegeographybecomesmoreimportant(i.e.,asβ isincreased)themaximumnetworkdegreedecreasesandthemaximumamountof trafficincreases.Whendistanceisnotimportant,peoplechoosetheirworkingdestinationinawiderrangeofavailablemunicipalities.Onthecontrary,astrongdistanceconstraintforcestochooseonly betweenthenearbymunicipalities.Asaconsequenceofthis,trafficonthissmallernumberofconnectionswillalsobegloballyhigher. 5.7 FortheAuvergnecasestudy,Figure5showsthecomparisonofthegeneratedandtheobserveddata.Itcanbeseenthat,thedistributionsatthecalibrationpoint(β=2.7)fitthedistributionsofthe observationnetworkperfectly.Thisfitnessshouldbeobserved,consideringthatnoneofthethreemeasurements(in-commutingdegree,out-commutingdegreeanddistributionoftraffic),areusedby themodel;thus,thefitnessofthegeneratednetworktotheobservedoneisapositiveassessmentoftheeffectivenessofthemodel. http://jasss.soc.surrey.ac.uk/15/2/6.html 5 12/10/2015
Figure5.In(kin)andout(kout)degreedistributionsandtraffic(T)distributionforsomegeneratednetworkswithvariousvaluesof β andfortheobservednetworkfortheAuvergnecasestudy.The resultsforthegeneratednetworksareaveragedon100replicationsofthegenerationalgorithm 5.8 Figure6showsthecomparisonbetweenthesemeasuresfortheobservednetworkandthegeneratedonesfortheothercasestudies.Aswecannoticeinthesefigures,thetraffic(T)distributionis wellreproducedinallthecasestudies.ItisnotthecaseforthedegreedistributionsintheUKcasestudywherethegenerationprocesscompletelyfailsintheestimation.Weattributethisdiscrepancy tothequalityoftheCensusdata.Indeed,inUK,asmall-celladjustmentmethod(StillwellandDuke-Williams2007)isappliedtopreventdisclosureofpersonallyidentifyingdata.Inparticular,this methodsuppressessomecommutingdatabyreplacingvaluesof1and2with0or3.Thisadjustmentmakesthedefinitionofalinkbetweentwomunicipalitiesdifferentinthemodelbeyondthedata andinthegeneratednetworkthroughouralgorithm.Accordingtothecensusdata,twomunicipalitiesarelinkedonlyifatleastthreeindividualscommuteamongthem.Inourgeneratednetwork,they arelinkedifatleastoneindividualcommuteamongthem.Alargenumberofmunicipalitypairsare,inreality,linkedbyonlyoneortwoindividuals.SuchpairsareunderestimatedintherealUKdata. Webelievethisisthereasonwhythemodelseemstooverestimatetheconnectivitybetweenmunicipalities. http://jasss.soc.surrey.ac.uk/15/2/6.html 6 12/10/2015
Figure6.In(kin)andout(kout)degreedistributionsandtraffic(T)distributionforthegeneratednetworksatthecalibrationpointandfortherealnetworkfortheBretagne,AltmarkandUKcasestudies.The resultsforthegeneratednetworksareaveragedon100replicationsofthemodel Thecommonpartofcommutersoftheweightednetwork 5.9 Wenowdefineanindicatortocomparethegeneratedcommutingnetworkandtheobservedcommutingnetwork.ThestatisticalofficesofFrance,GermanyandUnitedKingdomprovidedtheobserved commutingnetworks.Assumingthat Mn(N) isthesetofallpossiblenetworksforasetofmunicipalities.Let O∈Mn(N) beonecommutingnetworkwhen Oij isthenumberofcommutersfrom municipality i tomunicipality j .Let G∈Mn(N) beanothercommutingnetworkbetweenthesamesetofmunicipalitieswhere Gij isthenumberofcommutersfrommunicipality i tomunicipality j . 5.10 Toassessthesimilarityofflowsbetweenthegeneratedandtheobservednetworks,wecancomputethecommonpartofcommuters(CPC)(Eq.7)fromthenumberofcommoncommuters(NCC) between O and G (Eq.5)andthenumberofcommuters(NC)in O (Eq.6).TheCPCappearstobeagoodindicatorofthepredictionquality.Thisindicatormaybeseenasasimplifiedvariantofthe Sørensenindex,withthetwocomparedmatriceshavingthesamesize.TheCPCwaschosenforitsintuitiveexplanatorypower:itisasimilaritycoefficientwhichgivesthelikenessdegreebetween twonetworks.Itsvaluerangesfrom0,whentherearenocommutersflowsincommoninthetwonetworks,toavalueof1,whenallcommutersflowsareexactlyidenticalinthetwonetworks. (5) (6) (7) 5.11 Thisgivesusanindicatortodirectlycompareonereplicationofthegeneratednetworkwiththeobservedone.Wedothesamewithallthe100replicationsforagiven β valueandcomputethe averageoftheobtained100CPCtoevaluatethequalityofthemodel.Withinthe100replications,theCPCvariesatmost,by1.76%oftheaverage;thismeansthatthestochasticmodelisverystable (i.e.,thestochasticitydoesnothaveasignificanteffectonthepropertiesofthenetwork). Figure7.Commonpartofcommuters(atthebottom)fordifferent β valuesforeachcasestudyregion(comparedtothecalibrationgraphoftheFigure4,presentedabove) 5.12 Figure7presentstheaverageCPCforeachregionandfordifferent β values.ItisnoticeablethatthebestvalueoftheaverageCPCfunctionisveryclosetotheonegivenbythecalibrationvalueof β forallthestudiedregions.ThispointisstressedinFigure7bythedottedlineshowingthematchbetweentheaverageCPCvalueandtheminimumoftheDKS.Theproximity,intermsof β ofthe minimumoftheDKSfunctionwiththemaximumoftheCPCfunction,issurprisingandreinforcestheideatheCPCisagoodqualityindicator.Wealsonoticethatthebestvaluesforboth,theD KSand thecommonpartofcommuters,varieswhendefiningthemodelparameterbetween β =2and β =3.Also,theresultsfromtheCPCindicatorreinforcethesuggestedmethodforthegenerationofa networkinthecasewherethedataisnotdirectlyavailable.Infact,foranypointintheinterval β ∈[2,3],andforalltheconsideredregions,theCPCvaluenevergoesbelowCPC=0.6,showingthatthe generationprocessyieldsnetworksthatmatchtheobservednetworkwithgoodaccuracy. 5.13 Table4showstheaverageCPCforeachcasestudyregionandtheoptimalβvalue.Resultsareencouraging:averageCPCvaluesfallbetween0.67and0.76.Onaverageweobtainedabout70%of commutersincommon.Itmeansthat70%oftheobservednetworkisreturnedbythemodel.Onemayalsonoticethattheoptimalβvalueseemstovaryinthesamewayastheaverageintermunicipalitydistancesoftheregion(seetable1),forwhichtheGermanyandtheUKregionsbothhaveasmallvalue,whereastheAuvergneandtheBretagneregions,bothshowalargevalue. Table4:AverageCommonPartofCommutersforthefourcasestudyregions Region β AverageCommonPart ofCommuters Auvergne 2.71 0.683 Bretagne 2.59 0.684 http://jasss.soc.surrey.ac.uk/15/2/6.html 7 12/10/2015
Altmark 2.1 0.751 NottinghamshireandDerbyshire 2.2 0.676 Discussionandconclusions 6.1 Weproposeaverysimplestochasticindividual-basedmodelabletogenerateacommutingnetworkwithgoodaccuracy.Thismodelisbasedonthedoubly-constrainedmodelproposedbyWilson (1998)andhasitsrootsontheso-calledgravitationallaws(i.e.,considerthatindividualstendto"gravitate"towardsmoreattractiveareas).Itisbuiltonthesameprinciples:anindividualtendsto chooseajoblocationdependingonthejoboffersandthedistancetotheoffer.Theeffectofthedistancedecreasesasthedistanceincreases,followingafunctionthatwehavechosenasapower law.Ourmodelhasonlyoneparameterwhichcanbeeasilycalibrated.Itensuresthatthenumberofout-commutersandin-commutersforeachmunicipalityisrespectedwithoutneedingtosolvean optimizationproblem.However,itmustbestressedthatourproposedmodeldoesnottrytoreconstructtheexactstructureofacommutingnetwork.Achievingthiswouldrequireconsideringadditional localproperties,whichareveryspecificforeachregion.Instead,weaimedtocreateamodelthatcangenerate realistic syntheticnetworksfromalimitedsetofdata(numberofin-commutersandoutcommutersoneachmunicipality),whichcanbeusedincaseswherethedetailedcommutingdataisunavailable.Moreover,reproducingexactlyanetworkataverylowlevel,especiallyforverysmall municipalities(e.g.,around1000inhabitantsonaverageinsomeFrenchregionsorlessthan200forthestudiedGermanregion)makesnosensesinceverysmallcommutinglinksbetweensmall municipalitiescanresultfromstochasticfactorsthatcannotbecapturedwitharealdeterministiclaw.Asouralgorithmisstochastic,itobtainsmanypossiblecombinationsofgeneratednetworks respectingthetotallocalcommutingflows.Thisapproachseemsmorerelevantthanadeterministicapproachformodellingacommutingnetworkatthemunicipalitylevel. 6.2 Ouralgorithmisvalidatedonfourcase-studyregionssituatedinFrance,GermanyandtheUnited-Kingdom.Wecomparethepropertiesoftheobservednetworkgivenbythecompleteorigindestinationtabletothoseofthegeneratednetworks.Weconcludethattheinandoutdegreedistributionsofthemunicipalitynetwork,thetrafficdistributionofthesamenetworkarewellfittedbythe generatednetworks'distributions.Moreover,thecommonpartofcommutersofageneratednetworkwiththeobservednetwork(i.e.,thecompleteorigin-destinationtable)appearshighforallthecase studyregions.Incidentally,wehavenoticedthattheoptimalparametervalueofouralgorithmisveryclosetotheparametervaluethatyieldsahighervalueofcommoncommuters. 6.3 Theproposedmodelappearsquiterelevantforourmainproblem.Nevertheless,wemustrememberthataggregatedstatisticsavailableatthemunicipalitylevelcorrespondtoallthein-commutersand alltheout-commutersofeachmunicipality.Thisincludescommutersthatliveorworkoutsidetheregion(i.e.,inothermunicipalitiesnotincludedinthenetwork).Tobesurethatourmodelproducesa representativenetwork,ithastobeappliedonaregionwherethesecommuterslinkedtotheoutsiderepresentaninsignificantpartofthetotalnumberofcommuters.Inotherwords,theregionshould bewhatPaelinckandNijkamp(1975)calleda"polarizedregion":" aconnexareainwhichtheinternaleconomicrelationshipsaremoreintensivethantherelationshipswithrespecttoregionsoutside thearea "(Cörversetal.2009;Konjaretal.2010). 6.4 Inspiteofthislimitation,itisapparentfromtheresultsoftheanalysisoftheAltmarknetwork(aregionwhere66.82%oftheworkerscommuteoutsidetheregion)thatthesimilarityofthegeneratedand realnetworkisgood(asshownintheanalysisofFigure7).However,wehavetokeepinmindthatthedataregardingthecommutingflowssmallerthan10arenotavailablefortheAltmarkregion,and currentlywedonotknowhowthislimitationimpactsontheresults.Twoissueshaveaffectontheproposedmethodwhentheuseddataincludesindividualsresidingorworkingoutsidetheregion.On theonehand,themodelwilltendtooverestimatethetrafficwithinmunicipalities,asresidentswhooughttoworkoutsidearedistributedwithinnetworkmunicipalities.Ontheotherhand,thenumberof connectionsmaybeunderestimatedasresidentsoccupyjobswhichshouldbetakenbyindividualslivingoutsidetheregion(thus,leavingmunicipalitywithlowattractivitywithoutin-commuters). 6.5 Suchlimitationsmaybeaddressedwiththeuseofadditionaldatadetailingthenumberofindividualscommutingfromortoplacesoutsidetheregion.Alternatively,itispossibletoconcludethrough aggregateddataattheregionallevelorexpertise,whetheraregionissufficientlyindependentfromanotherregardingthelabourmarket. 6.6 Thesecondissueconcernsthemodelcalibration.Mostoftheknownpower-lawnetworkshaveanexponentvaluesituatedbetween2and3.Ourfirstcasestudiesseemtoshowthattheexponentof ourpower-lawdeterrencefunctionvariesinthesamerange.Wenoticethattheerrorremainsquitelowbetweenthesetwoboundariesforβ. 6.7 AfurtherpossibleanalysisinvolvestestingthequalityofanalgorithmfreeofparametersproposedbySimini(2011),evenifitdoesnottakedirectlyintoaccountthenumberofcommuters.Such algorithmshouldbetestedonsparselypopulatedregionssuchastheonesweworkedon(i.e.,atthemunicipalitylevel).TheyapplythisprincipleforthegenerationofthecommutingnetworkofUSAat thecountylevel.Thismodelisveryinteresting;albeitwequestionitsqualitytoreproduceacommutingnetworkforverylocalregionstheoneswestudied. 6.8 Finally,themodelcouldbeimprovedbytheuseofothertypesofdistances(suchasthecommutingtimebetweenmunicipalities).Althoughourresultsshowthatevenusingameasuresuchasthe Euclideanphysicaldistance(inthecaseofFrenchregions,oradrivingdistance(inthecaseoftheGermanyregion),themodelgeneratesnetworkswithsimilarpropertiesofthoseobservedbythereal data.Suchrefinementisusuallylimitedbythelackofdistancedata(inthiscase,commutingtime)fortheregions.Furthermore,itmaybepossibletoselectabettervalueof β ifadditionalcasestudy regionswithgeographicalandsocio-economicdifferencesareanalysed. Appendix:ImplementationofthemodelintheNetLogoframework A.1 Anexampleimplementationofthemodelisincludedtoillustratehowthemodelworks.TheimplementationwasperformedinNetLogo5.0RC4[4]andmayruninpreviousversions(itwassuccessfully testedinversion4).Theimplementationprovidesawaytovisualizethegenerationofanetworkfromtwoinputfilescontainingthein-commutingandout-commutinginformationforeachmunicipality inaregionandthedistancesbetweeneachpairofmunicipalities. A.2 Asmentioned,themodelrequirestwoinputfilestorun: 1. Thecommutersfilenamed commuters.csv :Whichshouldcontainalistofmunicipalities(oneforeachlineinthefile)andthenumberofindividualwhocommute-outandcommute-in(inthat order)foreachmunicipality.Eachcolumnmustbeseparatedbyoneblankspace. 2. Thedistancesfilenamed distances.csv :Whichshouldcontainthedistancebetweeneachpairofmunicipalitiesasathreecolumnrowcontainingthe origin municipality,thedestination municipality,andthedistancebetweenthepair(inthatorder).Eachcolumnshouldalsobeseparatedbyablankspace. A.3 TheinterfaceoftheimplementationisshowninFigure8.Priortostartingasimulationthe beta parametermustbesetinordertodefinetheweightofthedistanceinthecommutingdecision.For illustrativepurposesthe proportional-sizes controlisprovidedtopresenteachmunicipality(depictedasahouseintheinterface)withasizerelativetotheinitialnumberofin-commuters(job availability). http://jasss.soc.surrey.ac.uk/15/2/6.html 8 12/10/2015