手机浏览器扫描二维码访问
Chapter7
Applisce,medidoperationsresearch
Wemayassessoriprobabilitiesiwaysagtothetext.But,asDavidHandwroteinhisStatistics:AVeryShortIntrodu,‘...thecalculusisthesame’,i.e.howprobabilitiesaremanipulateddoesnotge.
Keepiralideasofthesubject:theAdditionandMultipliLaws;iheLawseNumberslinkioobjectiveprobabilities;Gaussiandistributionswhensummingrandomquaherfrequentlyarisingdistributions;meansandvariancesasusefulsummaries.
&expeowledgeoftherelevantprobabilitiestohavethepreavailablefortheexamplesinthepreviouschapter,butanapproximateaherightquestionbeareliableguidetogooddes.AsstatistiGeeBoxsaid:‘Allm,butsomeareuseful.’
&tersillustrateapplis,looselygroupeduertitles.
Brownianmotion,andrandom>
In1827,thebotaBrowpollenparticlessuspendedinliquidmovearourandhtyyearslater,AlbertEinsteingaveaioiclesweretlybeihemoletheliquid.Thismovementis,ofthreedimensions,buttobuildasatisfaodel,wefirstovementjustalhtline.
Supposethateachstepisajumpofsomefixeddistaimesleftaimesright,ilyeachtime.Thisnotionistermeda randomositionaftermanyjumpsdependsonlyonthedifferehenumbersofjumpsineachdireeanandvariaahestartpoiionaltothenumberofjumpsmade.
Makeadeliputation:overafixedtimeperiod, ihefrequenps,ahedistahecorrethesetwofactors,thelimitbeesotion,therandomdistancemovedhaviralLimitTheaussiandistributionwhosemeanandvariahproportiohofthetimeperiod.Ifmovemehtareequallylikely,themeanwillbezero.
&eiionforBrowionsisthatparticlesmoveinthreedimensioineasionfollowingaGaussianlawfiveionsabouthowatomsandmoleculesbehave,provokihatremovedanylingeringdoubtsabouttheirexistence.
&erm‘Brownianmotion’oughttobereservedfortheaentofpartialiquid,butitisalsooftehismathematicalmodelofthatmovement.
Randomnumbers
Thephrase‘randomoowoideas.First,asinidealgameswithdiceorroulettewheels,onenumberfromafiis,allofthembeingequallylikely.Sed,asiionofsnappingastickatarandompoiinauousintervalisopartofthatintervalbeingfavouredoverahefacilitytogsequencesofsubers,eachvaluebeiofalltheothers,hasmanyapplis,astheionwillillustrate.
In1955,asplendidbookOneMilliitsublished.Itfollowsitstitleexactly:pageafterpageofthedigitszerotonine,groupedinblocksforease,butsuccessivedigitsareentirelyuable–whatevertheretseques,youhaveoeheoday,modernputershavebuilt-ioachievethesameends.Aninitialvalue(theseed)isfedin,ahematiulaproduextvalue,whichaewseed,andsoohingrandomaboutthisprocessatall,andifthesameinitialseedisused,thesamesequeed.But,withagathematiula,thesequeedpassesabatteryofstatisticaltestsandlooks,toallisahoughitwereraermpseudo-randomsequenceisused.
Nomatterhowmuchcareistakeninthisprocess,therewillalwaysbesfearthathiddenflawsihodusedwillmatteriowhiumbersareput.Withthatdrelyingontheexperienceenumberofrespetists,IampreparedtoayputerproducesacceptablesequennumbersoheobviousdangerofinsiderfraudmeansthatthesemethodshavenoplabersinLotteries,orinUKPremiumBonds.)
Monteethods
HowmanumbersearoivespinsofastandardEuropeaewheel?Icouldbeaweenoneand37,butthoseextremeswouldoccurveryrarely;whatisthemostlikelynumberofdifferentnumbers?
&hisproblemuttome,Ididelyseeaosolveit.Thereare3737(ah59decimaldigits)possibleoutesofspinniimes,arytowritedownallthewaysinwhich,say,28differentnumberscouldarise,youquicklyloseenthusiasAmoreappealingapproaaso-teulation.
&heputer’sstreamofrandomnumberswasusedtosimulatetheoutesof37spinsofawheel,afterwhiputeranumbershadarisen.Thisprocesseatedonemilliontimes,leadingto24differentnumberson203,739os,while23arosejust199,262times.
&rivals,22or25numbers,eaedfewerthan160,000times.TheLawehatthefrequehedifferentouteswillsettledowntotheirrespectiveprobabilities,andthesefiguresessehematter:themostlikelyresultisthat24differentnumberswillarise,andtheceofthisisjustover20%.
Dayslater,Ikickedmyselffornotspottingastandardwaytosolvetheproblem!Icouldcalculatetheexactprobabilityofgettinumbersin37spins,foranyvalueofX,ingthedescribedabove.Butthisdoesnotiheuseofsimulationtoattackthissortofproblem–quiddirtyanswersbeuseful.Ihatthesimulationgaveanswerstwiththeexactcalboostedmygehthattheputer’sraorwasbehavingasintended.
AmoreserioususeofMonteethodsopolymerchemistry.Amolesistseoms,egarandomlytwistingsolyatplaeveid,crusthesameplace.Howfarisitlikelytobefromohemoleculetotheother?
&hiomsasbeingattheplacesvisitedbysomedrunkard,staggeringaroundatrandomonathree-dimensionallatticeforawhile,butsomehthesameplacetwice.Withouttherequirementthatnoplaceberevisited,mathematicalexpertsmakegress,butthatrestristoplicatetheproblembeyoack.
However,eveentputerprogrammerwriteaseionofthisplex,twisting,d,bymakingonemillion,tenmillion,evenabillioions,obtainanansreciseasisrequired.(RecalldeMoivre’srelyasthesquarerootofthesizeofthesimulation.)
Orsupposeyouwaheareaularlyshapedleaf.Drawareglearouhehepositionsenumberofpoirandomwithiangle.Yourestimateultiplyihewhlebytheproportionofpointsthatfallwithintheleaf’sboundaries.
Asafinalillustrativeappli,supposePaulishopiuparolfillingstatioallsfourpumps,theminimumviableherewillberoomforuptoeightothercarstowaitinaqueue;eachextrapumpremovestaces,soifheihemaximumofeightpumps,therewouldbe.Toworkouthoswillmaximizehisprofits,heulationsofwhatealledfour,five,six,sevepumps.
天才中医凌游,在大学毕业后为逝世的爷爷回村守孝三年,并且继承了爷爷生前经营的医馆三七堂。可突然有一天,一群大人物的到来,让他的人生出现了转折,本想一生行医的他,在经历了一些现实的打击之后,他明白了下医医人,上医医国的道理,为了救治更多的人,从而毅然决然的走向了官场,游走在政军商等各种圈子。从赤脚郎中,到执政一方,从懵懂青涩,到老成练达,看凌游如何达成他心中安得广厦千万间,大庇天下寒士俱欢颜的崇高理想。...
阴错阳差中,仕途无望的宋立海认识了神秘女子,从此一步步走上了权力巅峰...
简介我叫江羽,本想一直留在山上陪着我的绝色师父,却被师父赶去祸害未婚妻了。而且多少?九份婚书!?...
意外撞见女上司在办公室和陌生男人勾勾搭搭,齐涛偷偷拍下照片,依靠这个底牌,他一路逆袭,而女领导对他也由最开始的恨,逐渐改变了态度...
官场如战场,尔虞我诈,勾心斗角,可陆浩时刻谨记,做官就要做个好官,要有两颗心,一颗善心,一颗责任心。且看陆浩一个最偏远乡镇的基层公务员,如何在没有硝烟的权利游戏里一路绿灯,两袖清风,不畏权贵,官运亨通。...
精神发疯文学,没有原型,没有原型,没有原型(讲三遍),请不要在评论区提真人哦。金手指奇大,cp沈天青。日六,防盗八十,上午十一点更新江繁星八岁时候看见律政电视剧里的帅哥美女环游世界谈恋爱...