• Skip to primary navigation
  • Skip to content
  • Skip to footer
Home
  • Posts
  • Categories
  • Tags
  • About
    Kevin Fry

    Kevin Fry

    • GitHub

    Gambler’s ruin

    less than 1 minute read

    If $X_0=0$, and goes up or down one at each time step with equal probability, what is the probability $X$ hits $4$ before $X$ hits $-6$?

    Solution

    This is a very standard problem. The general solution is $a/(a+b)$, in this case $2/5$.

    Tags: mental math, probability

    Categories: quant-question-bank

    Updated: May 21, 2025

    Share on

    X Facebook LinkedIn Bluesky
    Previous Next

    You May Also Enjoy

    Solving an underdetermined system

    less than 1 minute read

    A lot of firms will ask questions that are variations on the following: Suppose you have a $p$ -dimensional parameter $x$ you want to estimate, and you have...

    Rotating regression data

    less than 1 minute read

    We have $X \sim U[-2,2], Y \sim U[-1,1]$. If we apply rotation matrix

    OLS on a desert island

    1 minute read

    Without any package imports, how would you compute OLS?

    Store-bought extracts for at-home drinks

    2 minute read

    I have recently been watching videos from Darcy O’Neil’s YouTube channel Art of Drink. In it, he goes through techniques for how to extract flavor compounds ...

    • Twitter
    • GitHub
    • Instagram
    • Feed
    © 2025 Home. Powered by Jekyll & Minimal Mistakes.