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


How to calculate the sample variance of a bernoulli distribution, with just the sample mean?
S2 = n /(n-1) Ybar(1 - Ybar)



Note: important to use t-dist.





How to compute a Euler scheme? How to get an algorithm?
Set dt := h, dX(t) := X(t + h) - X(t), (and somtimes useful dW(t) = Zsqrt(h), where Z ~ N(0, 1)).
Solve for X(t + h). If you need an algorithm, then simulate while T≥t.
How to construct a replicating portefolio?
Set
Δbest value + (1+r)b = besvt value - strike price (K)
Δworst value + (1 +r )b = 0 (usually or worst value - K if larger then 0)
How to verify the no arbitrage policy?
Compute the profit in best case, and worst case. Note that always it is exactly possible to pay all parties involved.
How to compute option prices using the risk-neutral probability?
best price = u S0 => u = best price / current price (S0)
worst price = d S0 => d = worst price / current price (S0)
p* = (1 + r - d)/(u-d)
Thus C = 1/(1+r) E*[(S1-K)+] = p* · (best price - strike price(K))