1 Random Number Generation Dr. Jerrell T. Stracener, SAE Fellow Update: 1/31/02.

Slides:



Advertisements
Similar presentations
Click GraphClick Plot Double click at C2 under Y and C1 under X in Graph Variable Window. Click OK Click on the pointer beside Display and select Project.
Advertisements

The Normal Distribution
Forecasting Models With Linear Trend. Linear Trend Model If a modeled is hypothesized that has only linear trend and random effects, it will be of the.
Slides 2c: Using Spreadsheets for Modeling - Excel Concepts (Updated 1/19/2005) There are several reasons for the popularity of spreadsheets: –Data are.
E(X 2 ) = Var (X) = E(X 2 ) – [E(X)] 2 E(X) = The Mean and Variance of a Continuous Random Variable In order to calculate the mean or expected value of.
Simulation Operations -- Prof. Juran.
EASTERN MEDITERRANEAN UNIVERSITY FACULTY OF ENGINEERNG Department of Industrial Engineering IENG461 System Modeling and Simulation Course Fall
Some Continuous Probability Distributions By: Prof. Gevelyn B. Itao.
1 Chapter 7 Linear Programming Models Continued – file 7c.
Stat 321 – Day 16 Continuous random variables (cont.)
1 Engineering Computation Part 6. 2 Probability density function.
Using Excel for Data Analysis in CHM 161 Monique Wilhelm.
What is a linear function?
Spreadsheet Basics.  Letters are used for columns  Numbers are used for rows  Cells are identified by a combination of letters and numbers ex. B4.
Generation of atlas graphs & charts. Objective The major objective this training session is to equip participants with the knowledge and skills of creating.
Special Continuous Probability Distributions Normal Distributions
4-1 Continuous Random Variables 4-2 Probability Distributions and Probability Density Functions Figure 4-1 Density function of a loading on a long,
Special Continuous Probability Distributions Leadership in Engineering
Exponential and Logarithmic Equations
Moment Generating Functions 1/33. Contents Review of Continuous Distribution Functions 2/33.
1 Statistical Analysis - Graphical Techniques Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering EMIS 7370/5370 STAT 5340 : PROBABILITY AND.
1 Sampling and Sampling Distributions Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering EMIS 7370/5370 STAT 5340 : PROBABILITY AND STATISTICS.
USING YOUR TI-89 Use your calculator to help you check your answers.
Modeling Process Capability Normal, Lognormal & Weibull Models
JMB Ch6 Lecture 3 revised 2 EGR 252 Fall 2011 Slide 1 Continuous Probability Distributions Many continuous probability distributions, including: Uniform.
Moment Generating Functions
4.4 Solving Exponential and Logarithmic Equations.
3.5 – Solving Systems of Equations in Three Variables.
Integrated circuit failure times in hours during stress test David Swanick DSES-6070 HV5 Statistical Methods for Reliability Engineering Summer 2008 Professor.
Introduction to Computers and Windows. Overview  What is a computer?  What is an operating system?  Starting and Shutting Down a computer  The mouse.
Reliability Models & Applications Leadership in Engineering
1 SMU EMIS 7364 NTU TO-570-N Inferences About Process Quality Updated: 2/3/04 Statistical Quality Control Dr. Jerrell T. Stracener, SAE Fellow.
More Continuous Distributions
1 Special Continuous Probability Distributions Gamma Distribution Beta Distribution Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering EMIS.
Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 6 Some Continuous Probability Distributions.
1 Systems Analysis Methods Dr. Jerrell T. Stracener, SAE Fellow SMU EMIS 5300/7300 NTU SY-521-N NTU SY-521-N SMU EMIS 5300/7300 Statistical Analysis Other.
Getting Started with TI-Interactive. TI-Interactive TI-Interactive can be used to create a variety of graphs. Scatter Plots, Line Plots, Histograms, Modified.
4-1 Continuous Random Variables 4-2 Probability Distributions and Probability Density Functions Figure 4-1 Density function of a loading on a long,
1 Special Continuous Probability Distributions -Exponential Distribution -Weibull Distribution Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering.
5-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. May 28, 2009 Inventory # Chapter 5 Six Sigma.
Chapter 12 Continuous Random Variables and their Probability Distributions.
1 Continuous Probability Distributions Continuous Random Variables & Probability Distributions Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering.
System Maintainability Modeling & Analysis Leadership in Engineering
Stracener_EMIS 7305/5305_Spr08_ Reliability Data Analysis and Model Selection Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering.
Solving Linear Systems by Substitution
How to display data in PowerPoint ADVANCED/COMMUNITY/6.4.
4.7 (Green) Solve Exponential and Logarithmic Equations No School: Monday Logarithms Test: 1/21/10 (Thursday)
1 Discrete Probability Distributions Hypergeometric & Poisson Distributions Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering EMIS 7370/5370.
1 Statistical Analysis - Graphical Techniques Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering EMIS 7370/5370 STAT 5340 : PROBABILITY AND.
6.5 Solving Exponential Equations SOLVE EXPONENTIAL EQUATIONS WITH THE SAME BASE. SOLVE EXPONENTIAL EQUATIONS WITH UNLIKE BASES.
Student’s Guide to. Press “FILE” Press “OPTIONS”
Setting up Solver Add-in for Excel
4-1 Continuous Random Variables 4-2 Probability Distributions and Probability Density Functions Figure 4-1 Density function of a loading on a long,
Chapter 4 Continuous Random Variables and Probability Distributions
-Exponential Distribution -Weibull Distribution
European Computer Driving Licence
Using SPSS Note: The use of another statistical package such as Minitab is similar to using SPSS.
Spreadsheet Basics.
Microsoft Excel 101.
Uniform and Normal Distributions
اختر أي شخصية واجعلها تطير!
Moment Generating Functions
Continuous Probability Distributions Part 2
Chapter 6 Some Continuous Probability Distributions.
Continuous Probability Distributions Part 2
Continuous Probability Distributions Part 2
Navigating Excel.
Continuous Probability Distributions Part 2
Uniform Probability Distribution
Bell Work Solve and Check x = y – 5.6 = 34.2 x = -68
Presentation transcript:

1 Random Number Generation Dr. Jerrell T. Stracener, SAE Fellow Update: 1/31/02

2 Generating Random Numbers Generating values of a random variable using the probability integral transformation to generate a random value y from a given probability density function f(y): 1. Generate a random value r U from a uniform distribution over (0, 1). 2. Set r U = F(y) 3. Solve the resulting expression for y.

3 Generating Random Numbers with Excel From the Tools menu, look for Data Analysis.

4 Generating Random Numbers with Excel If it is not there, you must install it.

5 Generating Random Numbers with Excel Once you select Data Analysis, the following window will appear. Scroll down to “Random Number Generation” and select it, then press “OK”

6 Generating Random Numbers with Excel We would like U(0, 1). So select “Uniform” under the “Distribution” menu. Type in “1” for number of variables and 10 for number of random numbers. Then press OK. 10 random numbers of uniform distribution will now appear on a new chart.

7 Generating Random Numbers f(y) F(y) y y riri yiyi

8 Generating Random Values from the Exponential Distribution E() generate r i from U(0, 1) calculate x i = - ln(1 - r i ) since for i = 1, 2, …, n

9 Generating an Exponential Distribution with Excel See charts Select a  that you would like to use, we will use  = 5. Type in the equation - ln(1 - r i ), with filling in  as 5, and r i as cell A1. Now with that cell selected, place the cursor over the bottom right hand corner of the cell. A cross will appear, drag this cross down to B10. This will transfer that equation to the cells below. Now we have an exponential distribution in cells B1 - B10.

10 Generating Random Values from the Weibull Distribution W(, ) generate r i from U(0, 1) calculate x i = [-ln(1 - r i )] 1/ since for i = 1, 2, …, n

11 Generating a Weibull Distribution with Excel See charts Select a  and  that you would like to use, we will use  = 100,  = 20. Type in the equation x i =  [-ln(1 - r i )] 1/ , with filling in  as 100,  as 20, and r i as cell A1. Now transfer that equation to the cells below. Now we have an Weibull distribution in cells B1 - B10.

12 Generating Random Values from the Lognormal Distribution Ln(, ) generate r i from N(0, 1) calculate since Ln x i =  + r i  for i = 1, 2, …, n

13 Generating a Lognormal Distribution with Excel See charts Select a  and  that you would like to use, we will use  = 2,  = 1. Type in the equation, with filling in  as 2,  as 1, and r i as cell A1. Now transfer that equation to the cells below. Now we have an Lognormal distribution in cells B1 - B10.