Exam Questions Flashcards
How to compure an embedded jump chain (based on uniformization)?
# 1. Choose η s.t. η ≥ sup | Q(i,i)| 2. P = I + 1/η Q
Note: you do not have to say what η is, just how we define it.
How to compute a pure jump chain?
Set all diagonal values to zero, divide all others by the absolute value of the diagonal element (per row).
How to describe a simulation algorithm of a continuous Markov chain?
“We sunulate the embedded jump chain. We let X0=x0 as the initial state, and repeat the following:
- Simulate the holding time Tn which is exponentially distributed with mean 1/η
- From state i Xn, we reach new state Xn+1 = j from probability distribution P(i, ·).
For all t ≥ 0, Xt=Xn, Σk=0nTk ≤ t ≤ Σk=0n+1Tk, with T0=0
How to calculate the variance?
Var(x) = E[(x-E(x))(x-E(x))’] (‘ only if matrix)
What are the requirements of ANOVA?
- Normally distributed data
- Equal variances
- Y1, …, Yn are independent
How to test for equal variances?
A statistical test e.g., Levene-test
What to do after ANOVA suggests different means?
Post-hoc analysis, e.g. Tukey test (where you just perform a two-sample test on all pairs of Yi and Yj)
How to provide a SPSA descent algorithm?
A generalized optimization algorithm goes as follows:
θn+1 = θn + εnG(θn)
When using the SPSA descent algorithm we choose εn = 1 / (n + 1), and (G(θn))i = - (J(θn + ηnΔn) - J(θn - ηnΔn))/(2ηnΔn(i)), i = 0, 1, 2, .., k
We need to choose an ηn s.t.:
∑εk2/ηk2 = Σ 1/ ((k+ 1)ηk2)≤∞
What are the requirements of Δk(i) of the SPSA?
Δk(i) and 1/Δk(i) need to be bounded, symmetric around zero and mutually independent.
How to describe the clock structure of a DES model?
How to check the mean of a RNG?
- Get SE = sqrt(Var(x)/n)
- Get 95% (or other) conf. interval (xbar - 1.96SE, xbar + 1.96SE)
- Check if 0.5 in the interval.
Try to generate a random standard normal distribution
λ from an exponential distribution