欢迎来到三一办公! | 帮助中心 三一办公31ppt.com(应用文档模板下载平台)
三一办公
全部分类
  • 办公文档>
  • PPT模板>
  • 建筑/施工/环境>
  • 毕业设计>
  • 工程图纸>
  • 教育教学>
  • 素材源码>
  • 生活休闲>
  • 临时分类>
  • ImageVerifierCode 换一换
    首页 三一办公 > 资源分类 > PPT文档下载  

    MONTE CARLO SIMULATION & SPREADSHEET MODELING.ppt

    • 资源ID:2740884       资源大小:226KB        全文页数:10页
    • 资源格式: PPT        下载积分:8金币
    快捷下载 游客一键下载
    会员登录下载
    三方登录下载: 微信开放平台登录 QQ登录  
    下载资源需要8金币
    邮箱/手机:
    温馨提示:
    用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP免费专享
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    MONTE CARLO SIMULATION & SPREADSHEET MODELING.ppt

    Monte Carlo Simulation&Spreadsheet Modeling,Why Simulate?,When we use the word simulation,we refer to any analytical method meant to imitate a real-life system,especially when other analyses are too mathematically complex or too difficult to reproduce.Without the aid of simulation,a spreadsheet model will only reveal a single outcome,generally the most likely or average scenario.Spreadsheet risk analysis uses both a spreadsheet model and simulation to automatically analyze the effect of varying inputs on outputs of the modeled system.,Why Monte Carlo?,Monte Carlo simulation was named for Monte Carlo,Monaco,where the primary attractions are casinos containing games of chance.Games of chance such as roulette wheels,dice,and slot machines,exhibit random behavior.,The random behavior in games of chance is similar to how Monte Carlo simulation selects variable values at random to simulate a model.When you roll a die,you know that either a 1,2,3,4,5,or 6 will come up,but you dont know which for any particular roll.Its the same with the variables that have a known range of values but an uncertain value for any particular time or event(e.g.interest rates,staffing needs,stock prices,inventory,phone calls per minute).,Modeling Uncertainty,What do you do with uncertain variables in your spreadsheet?For each uncertain variable(one that has a range of possible values),you define the possible values with a probability distribution.The type of distribution you select is based on the conditions surrounding that variable.Distribution types include:Discreet Bernouilli(Success,Failure in one trial)Binomial(Number of Success/Failure in n trialsMulti-Nominal(number of times we observe a particular outcome in n trials.)Poisson(number of occurrences of a particular event during a time period 0 to time period t)Continuous Variables:Exponential Distribution Normal Distribution,Excel Functions:RAND():a random number between(0,1)RANDBETWEEN(a,b):a random number between values of(a,b),What happens during a simulation?,A simulation calculates multiple scenarios of a model by repeatedly sampling values from the probability distributions for the uncertain variables and using those values for the cell.Two ways to simulate multiple scenarios.SIMTABLE and DATA TABLESWhat do we do with the output of the simulation?-Measure Risk and optimize managerial choices,capacity,quality,markets to enter,product to invest R&D.Summary statistics:Averages,Standard Deviations,MedianPlot distribution of the values of the performance measure and the relative frequencies,using the Frequency function.To use the frequency function:1.put in the bin values to a column,2.highlight the empty column next to bin column,as many rows as the number of bin rows.=FREQUENCY(bin array(highlight the cells containing the bin values),Data Array(highlight the column that contains the data)then CTRL+SHIFT+ENTER,Simtable vs.Data Tables,Simulation Table from Simtools:By leaving an empty column to the left,Copy/Refer to the cell which contains the random formula.highlight as many rows as the number of simulations you want have for the random formula.Go to tools/simtools/simtable,Simulation by Data Tables:Use one-way table.Set-up a one-way table referring to the following.Do not input any values on the left column and refer to an empty cell for the input.,Random formula,Empty Column,Excel will replicate the formula as many times as the number of rows,each time(each row)randomly evaluating the formula,You need to copy and paste special/values after the table is calculated,Another common technique is just to copy the random formula several times to replicate the simulation.,Simulating a Discreet Variable,1.A Bernoulli Random Variable:generate a single random variable between(0,1),Baby,Boy,Girl,1/2,1/2,Generate RAND(),IF(RAND()1/2,boy,girl),2.A Binomial Random Variable with n trials:generate n Bernoulli variables and count the number of times you have success in n trials.Say success is defined as having a boy,in this case to simulate the number of boys in n births,Repeat(1)n times in a column and count the number of times,the outcome is a boy.You can use the function COUNTIF(datarange,condition),Or use BINOMINV(RAND(.),n,p),Given our assumption about the probability distribution of our random variable(normal,poisson,binomial distribution),we can generate a draw from the distribution by using the following“general”technique.,possible value of our random variable,Probability distribution of the random variable X,This is by assumptions of the model Assumption should be justifies based on some historical data,information about the variable.,Cumulative and inverse cumulative probability distributions,x,a,0,1,Generate a random number between 0,1 and use INVERSE cumulative functions available from excel to map the random number between 0,1 to an X value,Rand()=b,x,NORMDIST(x,m,s,0):Probability distributionNORMDIST(x,m,s,1):Cumulative distributionNORMINV(a,m,s):Inverse cumulative distribution function 0a1,y=P(X=x),Other Inverse Cumulative Functions,Binomial Random Variable BinomDist(s,n,p,0)=calculates the probability of having s successes out of n trials when the probability of success in each trial is p.BinomDist(s,n,p,1)=calculates the probability of having Less Than and Equal To s successes out of n trials when the probability of success in each trial is p.BinomInv(Rand(),n,p)=generates a random number of successes out of n trials.Poisson Random VariablePoison(x,m,0)=calculates the probability of x occurrences of an event in a given time period when the mean occurrence rate of an event is m.Poison(x,m,1)=calculates the probability of number occurrences of an event in a given time period is less than and equal to x,when the mean occurrence rate of an event during that time period is m.PoisonInv(Rand(),m)=generates a random number of occurences for an event during a time period,when the mean(expected)occurrence rate of that event during that time period is m.Exponential Random Variable Denotes the random time between occurences of two identical events.If customer arrivals are random,then the time between two arrivals can be modeled as exponential variable with the expected time between two arrivals=m.P(X=x)=1/mExp(x/m)exp()is the exponential function in excel.P(Xx)=1-Exp(x/m)ExpoInv(rand(),m):generates a random time between the two occurrences of a particular event(e.g.customer arrivals).,How should we choose the probability distribution for our random variables?,Nature of the Variable Data(fit distributions)or TheoryLaw of Large Numbers works if we are interested in the average of a sum of random variables with arbitrary distribution.Relationship between Distribution Functions&Approximations:Binomial-Poisson-Normal,

    注意事项

    本文(MONTE CARLO SIMULATION & SPREADSHEET MODELING.ppt)为本站会员(laozhun)主动上传,三一办公仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三一办公(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    备案号:宁ICP备20000045号-2

    经营许可证:宁B2-20210002

    宁公网安备 64010402000987号

    三一办公
    收起
    展开