Answer the following three interview questions.
1) Basic properties of a Markov (transition) matrix
Let P be a transition matrix of a (time-homogeneous) Markov chain on n states.
-
State the defining properties of
P
(stochasticity, non-negativity, etc.).
-
State key linear-algebra properties that always hold (e.g., eigenvalue facts, stationary distribution existence conditions).
-
Briefly describe conditions under which
Pk
converges as
k→∞
and what it converges to.
2) OLS properties after a rotation (two independent uniforms)
You observe i.i.d. data (xi1,xi2,yi) for i=1,…,n, where
-
xi1,xi2
are independent and identically distributed
Unif(−1,1)
(mean 0),
-
the data follow a linear model
yi=β0+β1xi1+β2xi2+εi
with
E[εi∣xi1,xi2]=0
and
Var(εi∣xi1,xi2)=σ2
.
You fit OLS with an intercept. Now define a rotated feature vector
xi∗=Rxi,xi=(xi1,xi2)⊤,
where R is a 2D rotation matrix (orthonormal: R⊤R=I). You refit OLS using xi∗ (with an intercept).
-
How do the estimated coefficients transform (relationship between
β^
and
β^∗
)?
-
Are the fitted values
y^
invariant to this rotation?
-
Under what conditions (on the design distribution) is the
sampling distribution
of the slope estimator “rotation-invariant” (at least in second moments)?
3) Two players flipping coins in parallel
A and B flip fair coins simultaneously each round.
-
A’s stopping time
TA
: the first round
t≥2
at which A has flipped
two consecutive heads
(i.e., A has
H
at rounds
t−1
and
t
).
-
B’s stopping time
TB
: the first round
t≥1
at which B flips a
tail
.
Compute P(TA<TB). (If both events happen in the same round, that is not counted as “A before B”.)