Monte Carlo Theoretical Flashcards

1
Q

Write the CDF for a Uniform distribution

A

Gerade mit Steigung U(r) = P( r <= R) = r

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Write the PDF for a uniform distribution

A

u(r) = d(U)/dr = 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe a mathematical procedure to generate seemingly
random numbers uniformly distributed between 0 and 1.

A

Use van Neumann algorithm where next random number is based on last random number.
x = (a*x(-1) + c) mod m

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe the computational steps of a Monte Carlo simulation for
the estimation of the number pi.

A
  1. Compute random anlge theta
  2. probability that needle intersects a line based on theta?

Test this out on paper

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Apply the inverse transform method to sample from a uniform
probability distribution U(a,b) defined in the range [a, b]

A

Look online for a random function, then calculate inverse

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Can you use the inverse transform method to sample failure
times from a probability function characterized by time-dependent
hazard rate? If so, provide a numerical example of such
probability function, show the analytical expression for the
inverse transform and comment it. What is the hazard rate?

A

Weilbull distribution has a time-dependant hazard-rate.
Write this down on paper.

alphaBeta^(t-1)e^(-Beta*t^(alpha))

hazard rate:
alpha * Beta * t^(alpha-1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Describe the steps to sample from a probability distribution fX(x)
defined in the interval [a,b] using the rejection method. What are
the conditions for the application of the rejection sampling
method?

A

We can use the rejection method by decomposing fx(x) into a simple pdf g(x) and a difficult to solve H(x). We need to be able determine the max of H(x).

  1. Sample a x’ from the inverse of g(x) (or uniform)
  2. put x’ into h(x’) = H(x)/maxH
  3. Generate second random number R
  4. if R <= h’(x) accept sample, otherwise reject
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Is it possible to sample from a probability distribution fX(x) defined in the
interval [a,b] that tends to infinity? If so, provide a numerical example of
such case and show how to sample from it using the rejection method.

A

It is possible to sample from a probability function that has a singularity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the definition of the efficiency of the rejection sampling method?
How can it be computed? What is a good strategy to increase the efficiency
of the rejection sampling method?

A

l

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the computational procedure to estimate the definite integral of a
function h(x) in the interval [a,b] using Monte Carlo? How can you show that
the Monte Carlo estimate is a good estimator for the true definite integral?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Mathematically show that GN, i.e. the Monte Carlo estimate of the definite
integral of h(x)=g(x)*f(x) in the interval [a,b], is an unbiased and consistent
estimator for G, i.e. the true value of the definite integral of h(x) in the
interval [a,b].

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How can we increase the precision of GN , i.e. the Monte Carlo estimate of
the definite integral of h(x)=g(x)*f(x) in the interval [a,b]? What is the effect
of increasing N on the variance of the estimate Var[GN]? Derive an equation
that shows this effect.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How can we increase the precision of GN , i.e. the Monte Carlo
estimate of the definite integral of h(x)=g(x)*f(x) in the interval
[a,b] using the same number of samples N? What is the effect of
the selection of g(x) on the variance of the estimate Var[GN]?
Derive an equation that shows this effect.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the effect of selecting g(x) and f(x) functions that peak in
different regions of the [a,b] interval on the Monte Carlo estimate
of the definite integral of h(x)=g(x)*f(x) in the interval [a,b].

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the effect of biased sampling (Importance Sampling) on
the Monte Carlo estimate of the definite integral of h(x)=g(x)*f(x)
in the interval [a,b]. Show what importance sampling means in
practice with a graphical example.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the implication of biased sampling (Importance Sampling)
from f1(x) on the award function g1(x) in the Monte Carlo estimate
of the definite integral of h(x)=g(x)*f(x) in the interval [a,b].

A
17
Q

What is a good selection of f1(x) in the biased sampling
(Importance Sampling) for the Monte Carlo estimate of the
definite integral of h(x)=g(x)*f(x) in the interval [a,b]. What is the
principle that should guide this selection? Motivate your answer
using a visual example and elaborate on the properties of the
resulting biased award g1(x).

A
18
Q

What is a good selection of f1(x) in the biased sampling
(Importance Sampling) for the Monte Carlo estimate of the
definite integral of h(x)=g(x)*f(x) in the interval [a,b]. What is the
principle that should guide this selection? Motivate your answer
using a visual example and elaborate on the properties of the
resulting biased award g1(x).

A
19
Q

What is the definition of the transition kernels T and C that
compose the transport kernel K describing the stochastic
transitions simulating the random walk of the system state in the
phase space.

A
20
Q

What do we sample from the kernels T and C that compose the
transport kernel K? How do we practically use T and C to evolve
the plant state as a random walk in the phase space

A
21
Q

How do we compute the reliability and point availability of a
system during the simulation of its life as a random walk in the
state space?

A
22
Q

How can we estimate the unreliability and the unavailability from
the knowledge of the transition density (t; k)

A
23
Q

Explain how we can reduce the solution of the transport equation
to a dart game and solve it via Monte Carlo simulation. What is
the probability function that we have to sample from?

A
24
Q

Discuss the difference between indirect and direct Monte Carlo
simulation. Which one requires fewer sampling calls to the
uniform distribution between [0,1]? Explain why.

A

In the indirect approach, we first sample transition time for all possible transitions and then sample which transition occurs.

In the direct approach we calculate all possible transitions directly and then order them on a time-scale. The first transition on the time scale occurs and we proceed to the next sample step. until we reach mission time.

The direct approach is better, when the individual components failure follows various distributions that are difficult to combine.

The indirect approach needs less sampling calls.

25
Q

Discuss advantages and disadvantages of direct and indirect
implementations of Monte Carlo simulations.

A

The advantage of direct sampling is, that it is more efficient. However

26
Q

Explain how we can use the spline method to numerically sample
from non-invertible probability functions. Discuss a high-level
code implementation for the spline sampling

A
27
Q

Explain in what sense the kernel K provides the local
knowledge about the system transport while the transition
density (t; k) provides the global knowledge about the system
transport.

A
28
Q

Given the system structure, the component transition rates
and the current state of the components, compute the
overall transport kernel out of the current system state for
the indirect implementation of the Monte Carlo method

A