Module 9.4 Random Numbers from Various Distributions -MC requires the use of unbiased random numbers.

Slides:



Advertisements
Similar presentations
The Normal Distribution
Advertisements

Biostatistics Unit 4 - Probability.
Probability Densities
Chapter 6 Continuous Random Variables and Probability Distributions
Descriptive statistics Experiment  Data  Sample Statistics Experiment  Data  Sample Statistics Sample mean Sample mean Sample variance Sample variance.
Chapter Five Continuous Random Variables McGraw-Hill/Irwin Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
OMS 201 Review. Range The range of a data set is the difference between the largest and smallest data values. It is the simplest measure of dispersion.
2. Random variables  Introduction  Distribution of a random variable  Distribution function properties  Discrete random variables  Point mass  Discrete.
Continuous Random Variables and Probability Distributions
QMS 6351 Statistics and Research Methods Probability and Probability distributions Chapter 4, page 161 Chapter 5 (5.1) Chapter 6 (6.2) Prof. Vera Adamchik.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 4 Continuous Random Variables and Probability Distributions.
Continuous Probability Distributions
Chapter 5: Continuous Random Variables
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
Continuous Probability Distribution  A continuous random variables (RV) has infinitely many possible outcomes  Probability is conveyed for a range of.
This is a discrete distribution. Poisson is French for fish… It was named due to one of its uses. For example, if a fish tank had 260L of water and 13.
L7.1b Continuous Random Variables CONTINUOUS RANDOM VARIABLES NORMAL DISTRIBUTIONS AD PROBABILITY DISTRIBUTIONS.
4. Random Variables A random variable is a way of recording a quantitative variable of a random experiment.
Continuous Probability Distributions  Continuous Random Variable  A random variable whose space (set of possible values) is an entire interval of numbers.
Commonly Used Distributions Andy Wang CIS Computer Systems Performance Analysis.
Statistics for Engineer Week II and Week III: Random Variables and Probability Distribution.
Random Sampling, Point Estimation and Maximum Likelihood.
Modeling and Simulation
9.4 Random Numbers from Various Distributions. Distributions A distribution of numbers is a description of the portion of times each possible outcome.
Discrete Probability Distributions n Random Variables n Discrete Probability Distributions n Expected Value and Variance n Binomial Probability Distribution.
ENGR 610 Applied Statistics Fall Week 3 Marshall University CITE Jack Smith.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 6 Continuous Random Variables.
Lecture 19 Nov10, 2010 Discrete event simulation (Ross) discrete and continuous distributions computationally generating random variable following various.
Discrete Probability Distributions. Random Variable Random variable is a variable whose value is subject to variations due to chance. A random variable.
Fundamentals of Data Analysis Lecture 3 Basics of statistics.
Chapter 5 Discrete Probability Distributions. Random Variable A numerical description of the result of an experiment.
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 5-1 Business Statistics: A Decision-Making Approach 8 th Edition Chapter 5 Discrete.
COMP155 Computer Simulation September 8, States and Events  A state is a condition of a system at some point in time  An event is something that.
Lecture V Probability theory. Lecture questions Classical definition of probability Frequency probability Discrete variable and probability distribution.
§ 5.3 Normal Distributions: Finding Values. Probability and Normal Distributions If a random variable, x, is normally distributed, you can find the probability.
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Mean, Variance, Moments and.
Probability Refresher COMP5416 Advanced Network Technologies.
Computer Simulation. The Essence of Computer Simulation A stochastic system is a system that evolves over time according to one or more probability distributions.
Overview Of Probability Distribution. Standard Distributions  Learning Objectives  Be familiar with the standard distributions (normal, binomial, and.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Chapter 11 Review Important Terms, Symbols, Concepts Sect Graphing Data Bar graphs, broken-line graphs,
CONTINUOUS RANDOM VARIABLES
4.3 More Discrete Probability Distributions NOTES Coach Bridges.
Review Continuous Random Variables Density Curves
Probability Theory Modelling random phenomena. Permutations the number of ways that you can order n objects is: n! = n(n-1)(n-2)(n-3)…(3)(2)(1) Definition:
Continuous Random Variables and Probability Distributions
Section 6-1 Overview. Chapter focus is on: Continuous random variables Normal distributions Overview Figure 6-1 Formula 6-1 f(x) =  2  x-x-  )2)2.
11.7 Continued Probability. Independent Events ► Two events are independent if the occurrence of one has no effect on the occurrence of the other ► Probability.
MAT 4830 Mathematical Modeling 04 Monte Carlo Integrations
Lecture 3 Types of Probability Distributions Dr Peter Wheale.
Chapter 31 Conditional Probability & Conditional Expectation Conditional distributions Computing expectations by conditioning Computing probabilities by.
Chap 5-1 Chapter 5 Discrete Random Variables and Probability Distributions Statistics for Business and Economics 6 th Edition.
AP Stats Chapter 7 Review Nick Friedl, Patrick Donovan, Jay Dirienzo.
Random Numbers Random numbers are numbers generated whose sequence have no pattern Most calculators are able to generate random integers via a command.
PH24010 MathCAD Statistics, Random Numbers & Histograms.
Fundamentals of Data Analysis Lecture 3 Basics of statistics.
Fractiles Given a probability distribution F(x) and a number p, we define a p-fractile x p by the following formulas.
MECH 373 Instrumentation and Measurements
Review of Probability Theory
Statistical Modelling
Continuous Random Variables
Continuous Random Variables
CONTINUOUS RANDOM VARIABLES
Discrete Probability Distributions
Probability Review for Financial Engineers
LESSON 8: RANDOM VARIABLES EXPECTED VALUE AND VARIANCE
10-5 The normal distribution
Chapter 3 : Random Variables
Random Variables A random variable is a rule that assigns exactly one value to each point in a sample space for an experiment. A random variable can be.
Chapter 6 Continuous Probability Distributions
Uniform Probability Distribution
Presentation transcript:

Module 9.4 Random Numbers from Various Distributions -MC requires the use of unbiased random numbers

Distribution of numbers Description of portion of times each possible outcome or each possible range of outcomes occurs on the average over many trials

Uniform distribution Generator is just as likely to return value in any interval In list of many random numbers, on the average each interval contains same number of generated values Methods for generating random numbers in other distributions depend on an ability to produce random numbers with a UD.

Discrete distribution Distribution with discrete values Probability function (or density function or probability density function) Returns probability of occurrence of particular argument value

Discrete Distribution To Generate Random Numbers in Discrete Distribution with Equal Probabilities for Each of n Events Generate uniform random integer from a sequence of n integers, where each integer corresponds to an event

Discrete Distribution To generate random numbers in discrete distribution with probabilities p 1, p 2, …, p n for events e 1, e 2, …, e n, respectively, where p 1 + p 2 + … + p n = 1 Generate rand, uniform random floating point number in [0, 1) If rand < p 1, then return e 1 else if rand < p 1 + p 2, then return e 2 … else if rand < p 1 + p 2 + … + p n - 1, then return e n - 1 else return e n

Continuous distribution Distribution with continuous values Probability function (or density function or probability density function) Indicates probability that given outcome falls inside specific range of values

Normal or Gaussian distribution Probability density function, where µ is mean and  is standard deviation:

Box-Muller-Gauss Method a = uniform random number in [0, 2π) rand = uniform random number in [0, 1) b = Compute b sin(a) + µ and b cos(a) + µ, are normally distributed with mean µ and sdev. sigma

Exponential Distributions Probability density functions: f(t) = |r|e rt with r 0 or f(t) = |r|e rt with r > 0 and t < 0 Graph of f(t) = 2e -2t

Exponential Method For probability density function |r|e rt with r 0 or f(t) = |r|e rt with r > 0 and t < 0 Compute ln(rand)/r, where rand = a uniform random number in [0.0, 1.0)

Rejection Method - When other methods do not apply For random numbers in interval [a, b) for distribution f(x) If f(randinterval) > randupperbound, then return randinterval, where randInterval - uniform random number in interval [a, b) randUpperBound - uniform random number in [0, upper bound for f) else repeat the process