Docsity

Principios Básicos de Simulación Monte Carlo: Aplicaciones y Distribuciones Teóricas, Diapositivas de Probabilidad y Procesos Estocásticos

Vista previa parcial del texto

¡Descarga Principios Básicos de Simulación Monte Carlo: Aplicaciones y Distribuciones Teóricas y más Diapositivas en PDF de Probabilidad y Procesos Estocásticos solo en Docsity!

Random Numbers

Sample Sizes

Monte Carlo Simulation Examples^5

Monte Carlo Simulation Exercises 6

Monte Carlo

Simulation

Forestry Applications

Distributions

Monte Carlo Simulation Examples^5

Monte Carlo Simulation Exercises 6

Sample Sizes

Distributions

Random Numbers 2

Monte Carlo simulation: method of estimating the value of an unknown quantity using

the principles of inferential statistics

  • (^) Monte Carlo simulation is a computerized mathematical technique that allows to

model the probability of different outcomes in a process that cannot be easily

predicted due to the intervention of random variables

  • (^) Monte Carlo simulation depends on a sequence of random numbers which is

generated during the simulation

Population: set of examples

Sample: a proper subset of the population

Key fact : a random sample tends to exhibit the same

properties as the population from which it is drawn

  • (^) Often, the physical processes we are interested (the system ) are complex
  • (^) To study a certain process, we require may require the use of a model (simplified

representation of the system).

  • (^) When we apply the model to mimic the system’s behavior, we say we run

simulations

  • Models are fundamental tools of science, engineering, business, etc.
  • Abstraction of reality therefore always has limits of credibility

The daily demand for clone packs (80 seedlings) during Spring months was studied and the probabilities are the following:

Relative frequencies

(probability)

If the distribution is known , WHY do

we use random numbers to simulate it?

BECAUSE , although the probability is

known (the relative frequency of each

demand level), the order of occurrence

is not

It is the order of occurrence (which is

assumed random) which we want to simulate

Nr packs ordered probability 0 0. 1 0. 2 0. 3 0. 4 0. 5 0.

Assume that the demand/day is given by: 0

p(X ) X

Relative frequencies

(probability)

**0.

0.**

If the distribution is known , WHY do

we use random numbers to simulate it?

BECAUSE , although the probability is

known (the relative frequency of each

demand level), the order of occurrence

is not

It is the order of occurrence (which is

Sample: a proper subset of the population assumed random) which we want to simulate

Assume that the demand/day is given by:

P(X )

X

**0.

1**

Cumulative frequencies

(probability)

Demand (x) Cumulative frequencies Interval for random numbers 0 0.05 0 – 4 1 0.15 5 – 14 2 0.35 15 – 34 3 0.65 35 – 64 4 0.85 65 – 84 5 1 85 – 99

Assume that the demand/day is given by: Simulate the demand for 10 days Demand (x) Cumulative frequencies Interval for random numbers 0 0.05 0 – 4 1 0.15 5 – 14 2 0.35 15 – 34 3 0.65 35 – 64 4 0.85 65 – 84 5 1 85 – 100 day Random number demand 1 14 1 2 3 4 5 6 7 8 9 10

Assume that the demand/day is given by: Simulate the demand for 10 days Demand (x) Cumulative frequencies Interval for random numbers 0 0.05 0 – 4 1 0.15 5 – 14 2 0.35 15 – 34 3 0.65 35 – 64 4 0.85 65 – 84 5 1 85 – 100 day Random number demand 1 14 1 2 74 4 3 24 2 4 87 5 5 7 1 6 45 3 7 26 2 8 66 4 9 26 2 10 94 5

Assume that the demand/day is given by:

If 10000 random numbers were drawn

it would be expected that the number

of observations per class would be:

Demand (x) frequencies observations 0 0.05 500 1 0.1 1000 2 0.2 2000 3 0.3 3000 4 0.2 2000 5 0.15 1500

p(X ) X

Relative frequencies

(probability)

**0.

0.**

Some Disadvantages of Simulation

  • (^) May be very expensive and time consuming to build simulation
  • (^) Easy to misuse simulation by “stretching” it beyond the limits of credibility
    • when using commercial simulation packages due to ease of use and lack of familiarity with underlying assumptions and restrictions
    • Slick graphics, animation, tables, etc. may tempt user to assign unwarranted credibility to output
  • (^) Monte Carlo simulation usually requires several (perhaps many) runs at given input values, whereas analytical solutions provide exact values
  • Random Numbers
    • Sample Sizes
    • Distributions
    • Monte Carlo Simulation Examples
    • Monte Carlo Simulation Exercises
    • Random Numbers
  • Sample Sizes - Distributions - Monte Carlo Simulation Examples - Monte Carlo Simulation Exercises

Sample Sizes 3

Determining sample size ( number of simulation runs ) is important and relies

on 2 parameters: mean and standard deviation. However , the process is

rather ciclic and based on assumptions :

Standard deviation of the population. If not known , we have to use an estimate (but the calculus requires sample size)

1. Population mean has a normal **distribution

  1. A large sample will be taken
  2. Etc...** Normal deviate for a confidence interval of 1-alfa , but should be replaced by t (^) alfa/2,n-1 (also requires sample size) Difference between sample mean and real mean (requires sample size to be known so that simulations can be run and the sample mean calculated)