Endogenousversusexogenousoriginsofnancialralliesandcrashesinanagent-basedmodelwithBayesianlearningandimitationGeorgesHarras&DidierSornetteChairofEntrepreneurialRisksDepartmentofManagement,TechnologyandEconomicsETHZurich,CH-8001Zurich,SwitzerlandAbstractWepresentasimpleagent-basedmodeltostudyhowtheproximatetriggeringfactorofacrashorarallymightrelatetoitsfundamentalmechanism,andviceversa.Ouragentsformopinionsandinvest,basedonthreesourcesofinformation,(i)publicinformation,i.e.news,(ii)informationfromtheir\friendshipnetwork,promotingimitationand(iii)privateinformation.AgentsuseBayesianlearningtoadapttheirstrategyaccordingtothepastrelevanceofthethreesourcesofinfor-mation.Wendthatralliesandcrashesoccurasamplicationsofrandomluckyorunluckystreakofnews,duetothefeedbackofthesenewsontheagents'strategiesintocollectivetransientherdingregimes.Theseingredientsprovideasimplemech-anismfortheexcessvolatilitydocumentedinnancialmarkets.Paradoxically,itistheattemptforinvestorstolearnthelevelofrelevanceofthenewsonthepriceformationwhichleadstoadramaticamplicationofthepricevolatilityduetotheircollectivesearchforthe\truth.Apositivefeedbackloopiscreatedbythetwodom-inatingmechanisms(Bayesianlearningandimitation)which,byreinforcingeachother,resultinralliesandcrashes.Themodeloersasimplereconciliationofthetwoopposite(herdingversusfundamental)proposalsfortheoriginofcrasheswithinasingleframeworkandjustiestheexistenceoftwopopulationsinthedistribu-tionofreturns,exemplifyingtheconceptthatralliesandcrashesarequalitativelydierentfromtherestofthepricemoves.Keywords:stockmarket,crash,rallies,bubble,herdingPreprintsubmittedtoElsevier18June2008arXiv:0806.2989v1[physics.soc-ph]18Jun20081IntroductionStockmarketcrashesaremomentousnancialeventsthatarefascinatingtoacademicsandpractitionersalike.Accordingtotheconsecratedacademicviewthatmarketsareecient,onlytherevelationofadramaticpieceofinformationcancauseacrash,yetinrealityeventhemostthoroughpost-mortemanalysesaretypicallyinconclusiveastowhatthispieceofinformationmighthavebeen.Itisoftenobservedthatcrashesoccursoonafteralongrun-upofprices,re-ferredtoasabubble.Acrashisthusoftentheburstofthebubble.Accordingtotherationalexpectationtheoryofbubbles(Blanchard,1979;BlanchardandWatson,1982),bubblesarespontaneousdeviationsofthepricefromfunda-mentalvalue,andtheassociatedapparentanomalousreturnsarenothingbuttherequiredremunerationforrationalinvestorstostayinvestedinthemarketinthepresenceofgrowingcrashrisks.Thus,thepricehastoincreasewiththecrashhazardrateandviceversa,sothatitbecomesmoreandmoreprob-ableforacrashtooccurtowardstheendwhenthebubblepricepeaks.Forinstance,inthespecicationofJohansenetal.(Johansenetal.,1999c),itistheincreasingcrashhazardratedeterminedbythedynamicsofnoisetraderswhichdrivesthepricerun-up.Contrarily,inthespecicationofSornetteetal.(SornetteandAndersen,2002),positivefeedbacksoperatingonthepricebyagentsfollowingmomentumstrategiesdriveitup,thereforeconcomitantlypushingupthecrashhazardrate.Thereisavastempiricalliteratureaimingmoregenerallyatdiagnosingthepresenceofbubbles(see(Camerer,1989;AdamandSzafarz,1992)forsur-veysofthisliterature)andatcharacterizingtheirunderlyingorigin(s)andmechanism(s)(seee.g.(Kaufman,2001;Sherin,2005;Shiller,2000;Sornette,2003)).However,thereisstillnoconsensusintheacademiccommunityonwhatisreallyabubbleandwhatareitscharacteristicproperties.Bubblesdonotseemtobefullyexplainedbyboundedrationality(LevineandZajac,2007),speculation(Leietal.,2001)ortheuncertaintyinthemarket(Smithetal.,1988).Itisalsonotclearwhatisthenatureandlimitsofthepredictabil-ityofitsbursttime,ifany.Finally,thereisnoreallysatisfactorytheoryofbubbles,whichbothencompassesitsdierentpossiblemechanismsandad-herestoreasonableeconomicprinciples(noorlimitedarbitrage,equilibriumorquasi-equilibriumwithonlytransientdeviations,boundedrationality,andsoforth).Indeed,theliterature,whichistoolargetobeexplicatedhere,isstilluncertainonevenhowtodeneabubble,becauseanexponentiallygrowingpricecanalwaysbearguedtoresultfromsomefundamentaleconomicfactor.Thisisrelatedtotheproblemthatthefundamentalpriceisnotdirectlyob-servable,givingnostronganchortounderstandobservedprices.Howthenisitpossibletoascertainwithsomelevelofcondencethatamarketisorisnotinabubbleregime?Howdoesthisquestionimpacttheexpectationsand2anticipationofinvestors,andasaresultthestabilityofthenancialsystem?Comingbacktocrashes,mostapproachestoexplainingcrashessearchforpossiblemechanismsoreectsthatoperateatveryshorttimescales(hours,days,orweeksatmost).Here,webuildontheradicallydierenthypothesissummarizedin(Sornette,2003)thattheunderlyingcauseofthecrashshouldbefoundintheprecedingmonthsandyears,intheprogressivelyincreasingbuild-upofacharacteristicthatwerefertoas\marketcooperativity,whichexpressesthegrowthofthecorrelationbetweeninvestors'decisionsleadingtostrongereectiveinteractionsbetweenthemasaresultofseveralpositivefeedbackmechanisms.Thehypothesisisthatthisincreasedmarketcoopera-tivityistranslatedintoacceleratingascentofthemarketprice(thebubble).Accordingto