MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnquant/comments/1yabyig/quant_interview_question/19tigfqufjq75/
r/learnquant • u/Local_Ad135 • 2d ago
7 comments sorted by
View all comments
1
det(A) = Sum of 5 identical elements There is 5! of such elements (permutations), so Var(det(A)) = 5! Var(a1 a2 a3 a4 a5) where ai are iid.
Now my claim is that k = a1 a2 a3 a4 a5 is also +-1 with 0.5 probability, as for every +1 ocurrence there is a -1 ocurrence.
The variance of k is thus Var(k) = <k2> - <k>2 = <k2>. Since k2=1 and <k>=0, Var(k) = 1 and the answer is 5!
1 u/bartekltg 1d ago Ai are iid, but i would explicitly mention that covariance (a1a2a3a4a5 b1b2b3b4b5) is 0 even when we have repetitions. BTW. Yep, the answer is 120, by the power of calculating 216 matrices (there was a small trick to not calculate all 225)
Ai are iid, but i would explicitly mention that covariance (a1a2a3a4a5 b1b2b3b4b5) is 0 even when we have repetitions.
BTW. Yep, the answer is 120, by the power of calculating 216 matrices (there was a small trick to not calculate all 225)
View all comments
1
u/Cold-Knowledge-4295 1d ago
det(A) = Sum of 5 identical elements There is 5! of such elements (permutations), so Var(det(A)) = 5! Var(a1 a2 a3 a4 a5) where ai are iid.
Now my claim is that k = a1 a2 a3 a4 a5 is also +-1 with 0.5 probability, as for every +1 ocurrence there is a -1 ocurrence.
The variance of k is thus Var(k) = <k2> - <k>2 = <k2>. Since k2=1 and <k>=0, Var(k) = 1 and the answer is 5!