200 likes | 348 Views
EASTERN MEDITERRANEAN UNIVERSITY FACULTY OF ENGINEERNG Department of Industrial Engineering. IENG 4 6 1 System Modeling and Simulation Course Fall 2012-2013 Laboratory. Open Microsoft office> Microsoft Excel File> New> Blank Workbook. Normal Distribution function.
E N D
EASTERN MEDITERRANEAN UNIVERSITY FACULTY OF ENGINEERNG Department of Industrial Engineering IENG461System Modeling and Simulation Course Fall 2012-2013 Laboratory
Open Microsoft office> Microsoft Excel File> New> Blank Workbook
Normal Distribution function Formula: =NORM.DIST(x,mean,standard_dev,cumulative) NORM.DIST gives the probability that a number falls at or below a given value of a normal distribution. The percentage of women less than or equal to 68 inches is: =NORM.DIST(68, 65.5, 2.5, TRUE) = 84.13% Formula: =NORM.INV(probability,mean,standard_dev,) NORM.INV is the inverse of the NORM.DIST function. It calculates the x variable given a probability. How tall would a woman need to be if she wanted to be among the tallest 75% of American women? =NORM.INV(0.25, 65.5, 2.5) = 63.81 inches
NORMDIST FUNCTION for Probability Formula: =NORM.DIST(x,mean,standard_dev,cumulative)) Normal Distribution function Example1:
Write the formula in B4 Normal Distribution function
Enter Normal Distribution function
Normal Distribution function Example2:
Write the formula in B5 Normal Distribution function
Enter Normal Distribution function
Simulate standard random normal variable Formula: =NORM.DIST(RAND(),mean,standard_dev,cumulative) Example3:
Simulate standard random normal variable Formula: =NORM.INV(RAND(),mean,standard_dev) Example4:
Simulate uniform random variables Formula: =RAND()*(b-a)+a Example5:
Simulate exponential random variables Formula: =EXPONDIST(x,lamba,cumulative) For random x : =EXPONDIST(RAND(),lamba,cumulative) Example6:
Another way! First File > Options > Add-Ins > Analysis Tool Pack > Go> Ok Now : Data> Data Analysis> Random Number Generation>ok
Another way! File > Options > Add-Ins > Analysis Tool Pack > Go> Ok Now : Data> Data Analysis> Random Number Generation>ok You can choose the distribution and fill the blanks easily.