Week 6 Monte Carlo Basics Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

how are measurements typically represented

A

using its central value and its accompanying uncertainty

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

define the two types of error

A

statistical error - errors that arise from random fluctuation in the experiment
systematic error - errors that are consistent and constant for all data in an experiment and therefore the effect can’t be reduced by repeating the experiment

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

what are Monte Carlo methods

A

class of computational techniques that rely on using random sampling in order to solve problems

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

what are the 3 scenarios you would use Monte carlo

A

numerical integration
sampling from an arbitrary probability distribution
optimisation

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

what is the starting point for most monte carlo methods

A

use a sequence of uniformly distributed random numbers

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

what is the name of a commonly used pseudo-random number generator

A

linear congruential generator

LCG

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

what is the LCG equation

A

ni = (an_i-1 + c)mod(m)

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

what is the transformation used to obtain a uniform distribution

A

ri = ni / m

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

what is the multiplicative congruential generator

A

a special LCG case where the incremental value c is c=0

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

what is the procedure of crude monte carlo integration

A

generate n random numbers from a uniform distribution

evaluate the integral according to b-a/n Σf(xi)

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

what is the procedure for rejection sampling integration

A

generate a random number xi that is uniformly distributed between two limits a and b
generate a second random variable number ui
if ui satisfies ui < f(xi) / fmax then accept xi

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

what are the three advantages of Monte carlo integration

A

simplicity
unbiased
parallel by nature

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

what are the two disadvantages of monte carlo integration

A

slow rate of convergence

difficult to evaluate the uncertainty of the approximation

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

what are the 3 methods to generate a sample from an arbitrary probability distribution

A

Weighted sampling
Rejection sampling
Inverse transform sampling

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

how does weighted sampling work

A

generate a uniform random variable and weight each event by the factor w = f(x)

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

how does inverse transform sampling work

A

sample a value from a uniform function and substitute into the inverse transform sampling equation to generate samples that follow the distribution f(x)

17
Q

what is the inverse transform sampling equation

A

x(r) = -rlog(1-r)

18
Q

what is the goal of optimisation

A

to simulate multiple alternate realisation of a situation and determine which one of them provides the most optimal solution