- 725.05 KB
- 2022-06-16 13:10:03 发布
- 1、本文档共5页,可阅读全部内容。
- 2、本文档内容版权归属内容提供方,所产生的收益全部归内容提供方所有。如果您对本文有版权争议,可选择认领,认领后既往收益都归您。
- 3、本文档由用户上传,本站不保证质量和数量令人满意,可能有诸多瑕疵,付费之前,请仔细先通过免费阅读内容等途径辨别内容交易风险。如存在严重挂羊头卖狗肉之情形,可联系本站下载客服投诉处理。
- 文档侵权举报电话:19940600175。
ProjectManagementSession9CrystalBallOPIM52701
Session9GoalsUnderstandwhyriskmustbeanalyzedKnowpros/consforthreewaystoanalyzeriskIdentifyrandomvariablesinmodelsKnowthefourstepsofasimulationprocessGeneraterandomnumberswithCrystalBallUsethefourstepsofasimulationprocessExplainhowCrystalBallsupportsProj.Mgmt.2
Mostreal-worldbusinesssituationstodayareprobabilistic,butthedecisionmodelsusedtodealwiththemaredeterministic.Howtodealwithrandomness?IgnoreitSimplifyproblemtomakeitanalyticallytractable,getsolution,thenignorereal-lifecomplicationsFindawaytoobtainanapproximatesolutiontoreal-worldproblems3DealingwithRandomness
MonteCarlosimulationisamethodbywhichapproximatesolutionsareobtainedtorealistic(andthereforecomplicated)problemsThisisincontrasttoanalyticalmethods,whichobtainexactsolutionstohighlystylizedproblemsTradeoffbetweenrigorandrelevance4MonteCarloSimulation
Whatisthis?Y=f(X1,X2,…,Xk)Often,thevaluesforoneormore"input"cellsareunknownoruncertainThiscreatesuncertaintyaboutthevalueofthe"output"cellSimulationcanbeusedtoanalyzethesetypesofmodels5IntroductiontoSimulation
Arandomvariableisanyvariablewhosevaluecannotbepredictedorsetwithcertainty.Many“inputcells”inspreadsheetmodelsareactuallyrandomvariables.Forexample:thefuturecostofrawmaterialsfutureinterestratesfuturenumberofemployeesinafirmexpectedproductdemandDecisionsmadeusinguncertaininformationofteninvolverisk.Whatrisks?6RandomVariables&Risk
Usingexpectedvaluesforuncertaincellstellsusnothingaboutthevariabilityoftheperformancemeasure.Supposean$1,000investmentisexpectedtoreturn$2,000intwoyears.Wouldyouinvestif...theoutcomescouldrangefrom$1,060to$4,000?theoutcomescouldrangefrom$0to$2,100?Alternativeswiththesameexpectedvaluemayinvolveverydifferentlevelsofrisk.7WhyAnalyzeRisk?
Best-Case/Worst-CaseAnalysisWhat-ifAnalysisSimulationMethodsofRiskAnalysis8
Bestcase-pluginthemostoptimisticvaluesforeachoftheuncertaincells.Worstcase-pluginthemostpessimisticvaluesforeachoftheuncertaincells.Thisiseasytodoandboundstheoutcomes,buttellsusnothingaboutthedistributionofpossibleoutcomeswithinthebestandworst-caselimits.Otherproblemsorbenefits?9Best-Case/Worst-CaseAnalysis
worstcasebestcaseworstcasebestcaseworstcasebestcaseworstcasebestcase10PossiblePerformanceMeasureDistributionsWithinaRange
Plugindifferentvaluesfortheuncertaincellsandseewhathappens.Benefits:ThisiseasytodowithspreadsheetsOther?Problems:Valuesmaybechoseninabiasedway.Hundredsorthousandsofscenariosmayberequiredtogeneratearepresentativedistribution.Doesnotsupplythetangibleevidence(factsandfigures)neededtojustifydecisionstomanagement.What-IfAnalysis11
Valuesforuncertaincellsareselectedrandomly(andinanunbiasedmanner).Thecomputergenerateshundreds(orthousands)ofscenarios.Weanalyzethescenarioresultstobetterunderstandthebehavioroftheperformancemeasure.Allowsdecisionsbasedonsolidempiricalevidence.Simulation12
Properriskassessmentrequiressimulation.Simulationisa4stepprocess:1)Identifytheuncertaincellsinthemodel.2)ImplementappropriateRandomNumberGenerators(RNGs)foreachuncertaincell.3)Replicate复制themodelntimes,andrecordthevalueofthebottom-lineperformancemeasure.4)Analyzethesamplevaluescollectedontheperformancemeasure.SimulationContinued13
ARandomNumberGeneratorisamathematicalfunctionthatrandomlygenerates(returns)avaluefromaparticularprobabilitydistribution.WecanimplementRandomNumberGeneratorsforuncertaincellstoallowustosamplefromthedistributionofvaluesexpectedfordifferentcells.RandomNumberGenerators14
TheRAND()functionreturnsuniformlydistributedrandomnumbersbetween0.0and0.9999999.Supposewewanttosimulatetheactoftossingafaircoin.Let1represent“heads”and2represent“tails”.ConsiderthefollowingRNG:=IF(RAND()<0.5,1,2)HowRandomNumberGeneratorsWork15
CrystalBallprovidestwodifferentwaysforcreatingRandomNumberGeneratorsinspreadsheetsCrystalBallfunctionsUsedinformulaslikeanyotherExcelfunctionRequireCBtobeinstalledonthemachinedisplayingthespreadsheet&donotsupportallCBfunctionalityTheDistributionGalleryDisplayanumber(notaformula)inacellbutgeneratesrandomnumbersforthatcellwhensimulatingthemodelDoesnotrequireCBtobeinstalledonthemachinetodisplaythespreadsheet&supportsallCBfunctionalityGeneratingRandomNumberswithCrystalBall16
ClickDefineAssumptioniconSelectdistributionSpecifyparametersUsingtheDistributionGallery17
18DiscreteProbabilityDistributions18
ContinuousProbabilityDistributions19
DefineMenuRunMenuAnalyzeMenuCrystalBallToolbarCrystalBallinMSExcel20
Determinewhichmodelinputsareuncertainanddefineaprobabilitydistribution.Identifywhichforecastsyouwanttoanalyze/measure(e.g.,NPV,Sigmalevel,processefficiency)RunSimulationAnalyzeResultsGenerateReportHowdoesCrystalBallwork?21
ThefirststeptousingCrystalBallistodeterminewhichmodelinputsareuncertain.Whichvaluesareestimates?Whichareaverages?Onceyouhaveidentifiedthese,youuseyourknowledgeoftheuncertaintyaroundtheinputtocreateaprobabilitydistributionforthatcell(whatCrystalBallcallsanassumption).CrystalBallletsyoudefinethesedistributionsusingtheDistributionGalleryDefineYourDistributions22
EntervarietyofparameterstodefinedistributionsCanfitdistributionstorawdataCancellreferenceallfieldsCancorrelatepairsofassumptionsMarkerlinesAssumptionDialog23
Thenextstepistoidentifyaforecast.Aforecastisaformulacellthatyouwanttomeasureandanalyze.Inthismodel,youselecttheNetProfit(cellC23).IdentifyYourForecasts24
NumberofsimulationtrialsperformedDisplayrangeCertainty(probability)thattheforecastwillreach$2,812,558Partswithinthespeclimitsareshowninblue,partsoutsidespeclimitsareshownredNumberofdatapointsdisplayedinthechartCrystalBallusesMonteCarlosimulationtorandomlygeneratethousandsofwhat-ifscenariosEachscenarioisthencapturedandpresentedinafrequencychart–(ForecastChart)RunSimulation25
What’sresponsibleformostofthevariationintheforecast?Thesensitivitychartshowstheinfluenceeachassumptioncellhasontheforecast.AnalyzeResults26
ReportsSelectapre-definedreportorcreateyourowncustomreport.Reportsnowincludenewstatisticsandmorecontroloverdataandcharts.ExtractDataYoucanextractdatafrombothforecastsandassumptionsandextractmultipletypesofdata.GenerateReports27
GotoCrystalBallinExcelLet’sBuildOurOwnModel28
Withsimulationsoftware(likeCrystalBall)youcanaccountfor,andmanageagainsttheuncertaintyof:Time(howlongtheprojectmaytake)Money(howmuchtheprojectmaycost)Scope(variancefromspecification)RelevancetoProjectManagement29
Simulationisusedtodescribethebehaviorofabottom-lineperformancemeasurewhenvaluesofoneormoreinputvariablesareuncertain.Often,someinputvariablesareunderthedecisionmakerscontrol.Simulation(CrystalBall)canalsoassistinfindingtheoptimalvaluesofthecontrollableinputvariables.(SimulationOptimization)AdditionalUsesofSimulation30