Monte Carlo Simulation Intro
- 17Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
When is Monte Carlo simulation typically used?
When is Monte Carlo simulation typically used?
17 questions
- 1
When is Monte Carlo simulation typically used?
- A
When analytical solutions are always available
- B
When the system is deterministic
- C
When no random numbers are needed
- D
When other simulation approaches become very complex
Correct answer
DWhen other simulation approaches become very complex
Explanation
Monte Carlo simulation is used when other simulation approaches are too complex or difficult. It relies on random numbers to model processes.
- A
- 2
What does the Monte Carlo technique involve?
- A
Using expert judgment to assign probabilities
- B
Solving systems of linear equations iteratively
- C
Generating deterministic sequences for prediction
- D
Taking random samples from a distribution to supply values for a model
Correct answer
DTaking random samples from a distribution to supply values for a model
Explanation
The Monte Carlo technique deals with taking random samples from a distribution of a variable to supply a series of values for use in the model.
- A
- 3
What is the distribution of the random numbers generated in Monte Carlo simulation?
- A
Exponential distribution
- B
Uniform distribution
- C
Poisson distribution
- D
Normal distribution
Correct answer
BUniform distribution
Explanation
The lecture states that random numbers are basically uniformly distributed. They can be generated between ranges like 0-100 or 0-1.
- A
- 4
Which of the following is a method for generating random numbers mentioned in the lecture?
- A
Euler's method
- B
Linear congruential generator
- C
Newton-Raphson method
- D
Gradient descent
Correct answer
BLinear congruential generator
Explanation
The lecture mentions linear congruential generation, mixed congruential generator, and random variate generation as methods for generating random numbers.
- A
- 5
How are random variates generated for a specific probability distribution?
- A
Using the mean and standard deviation only
- B
By solving the differential equation of the distribution
- C
By directly sampling from the probability density function
- D
Using the cumulative distribution function and inverse transform
Correct answer
DUsing the cumulative distribution function and inverse transform
Explanation
The lecture explains that we use the cumulative distribution function for typical distributions and then generate random variates by inverse transform.
- A
- 6
What is the effect of increasing the number of iterations in a Monte Carlo simulation?
- A
The accuracy of the estimate improves
- B
The computational time decreases
- C
The simulation becomes deterministic
- D
The random numbers become non-uniform
Correct answer
AThe accuracy of the estimate improves
Explanation
As we increase the number of iterations, the simulation comes closer to the actual value, improving accuracy.
- A
- 7
Which prerequisite knowledge is required for Monte Carlo simulation?
- A
Knowledge of linear algebra exclusively
- B
Knowledge of relevant probability distributions and the system
- C
Knowledge of advanced calculus only
- D
Knowledge of programming in Python only
Correct answer
BKnowledge of relevant probability distributions and the system
Explanation
The lecture states that one should have knowledge of relevant probability distributions (theoretical or empirical) and about the system being studied.
- A
- 8
In the example of empirical distribution for arrival rates, what is the first step after listing the values and their probabilities?
- A
Calculate the mean arrival rate
- B
Calculate the cumulative frequencies
- C
Generate random numbers directly
- D
Plot the probabilities
Correct answer
BCalculate the cumulative frequencies
Explanation
The lecture shows that we find the cumulative frequency from the given frequencies before assigning random number ranges.
- A
- 9
In the arrival rate example with cumulative frequencies 15, 45, 65, 100, which random number range corresponds to an arrival rate of 5?
- A
15 to 44
- B
65 to 99
- C
0 to 14
- D
45 to 64
Correct answer
D45 to 64
Explanation
The range for arrival rate 5 (with frequency 20) starts at cumulative 45 and ends at 64, since the previous cumulative is 45 and the next is 65.
- A
- 10
What assumption is made about random numbers when assigning them to empirical probability ranges?
- A
They are generated by a linear congruential generator only
- B
They are uniformly distributed
- C
They are normally distributed
- D
They follow the same distribution as the data
Correct answer
BThey are uniformly distributed
Explanation
The lecture states that the random numbers are uniformly distributed, so the probability of picking any number in the domain is equal.
- A
- 11
In the estimation of π using Monte Carlo, what is the area of the square that encloses a circle of radius 1?
- A
π
- B
4
- C
1
- D
2
Correct answer
B4
Explanation
The square extends from -1 to 1 in both x and y, giving side length 2 and area 4.
- A
- 12
How is π estimated from random points uniformly distributed in the square?
- A
2 × (number of points inside circle) / (total points)
- B
π × (number of points inside circle) / (total points)
- C
(number of points inside circle) / (total points)
- D
4 × (number of points inside circle) / (total points)
Correct answer
D4 × (number of points inside circle) / (total points)
Explanation
The ratio of points inside the circle to total points approximates the area ratio (π/4). Multiplying by 4 gives an estimate of π.
- A
- 13
What formula checks whether a point (x, y) is inside the unit circle?
- A
x+y≤1
- B
x2+y2≤1
- C
x2+y2≤2
- D
x2−y2≤1
Correct answer
Bx2+y2≤1
Explanation
The condition for a point to be inside the circle of radius 1 is x2+y2≤1.
- A
- 14
In the Excel demonstration, which function generates a uniform random number between 0 and 1?
- A
RANDBETWEEN(0,1)
- B
RAND()
- C
UNIFORM()
- D
RANDOM()
Correct answer
BRAND()
Explanation
The lecture uses the command 'rand' (RAND() in Excel) to generate a random number between 0 and 1.
- A
- 15
How do you transform a uniform random number from (0,1) to a uniform random number between -1 and 1?
- A
RAND()−1
- B
2×RAND()
- C
RAND()+1
- D
1−2×RAND()
Correct answer
D1−2×RAND()
Explanation
The formula used is '1 - 2 * rand' which maps the interval (0,1) to (-1,1).
- A
- 16
In the lecture's example, what was the estimated value of π from 500 iterations?
- A
3.0
- B
3.14
- C
3.224
- D
3.1428
Correct answer
C3.224
Explanation
With 500 iterations, 403 points were inside the circle, giving ratio 0.806, multiplied by 4 gives 3.224.
- A
- 17
What does the lecture recommend to improve the accuracy of a Monte Carlo estimate?
- A
Use a different random number generator
- B
Use only empirical distributions
- C
Decrease the number of iterations
- D
Increase the number of iterations
Correct answer
DIncrease the number of iterations
Explanation
The lecture emphasizes that as the number of iterations increases, the estimate comes closer to the actual value.
- A

Ask anything
We've read this whole study set, so questions about it get the best answers.