Felix Henneke
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Notes on the Kelly Criterion Suppose you are given the choice between two bets, one of which has the larger expectation and the other one a larger geometric expectation. You can only bet once. Which bet do you choose? A variant of the question: Suppose you are give the opportunity to take a bet of positive expectation and you are free to choose the bet size. You can only make the bet one time. What bet size should you choose? The answer to the question is not so simple and might depend a lot on additional information. Let us first look at the problem of repeated bets. ## Repeated Bets ### Sums and Maximizing Expectation $$X_t = \sum_{s = 1}^t A_{1, s}$$ $$Y_t = \sum_{s = 1}^t A_{2, s}$$ with $\mathbb E[A_1] > \mathbb E[A_2]$ and $(A_{i, s})_s$ are independent copies of $A_i$. models the following case: - first bet has larger expectation - you can take the bet over and over - bet size fixed, or chosen once - bet size small compared to bankroll or easy to get loan: no risk of ruin the total wealth is the sum of all the outcomes due to the law of large numbers one can show that eventually $X_t > Y_t$, i.e., $$\mathbb P(\exists t_0 \forall t \geq t_0: X_t > Y_t) = 1.$$ (maybe check if this is really true. weaker statements of the form $\lim_{t\to\infty}\mathbb P(X_t > Y_t) = 1$ follow more easily.) ### Products and Maximizing Geometric Growth $$X_t = \prod_{s = 1}^t M_{1, s}$$ $$Y_t = \prod_{s = 1}^t M_{2, s}$$ with $\mathbb E[\log(M_1)] < \mathbb E[\log(M_2)]$ and $(M_{i, s})_s$ are independent copies of $M_i$. models the following case: - second bet has larger geometric expectation - you take the bet over and over - bet changes bankroll in relative manner look at $$\log(X_t) = \sum_{s = 1}^t \log(M_{1, s}), \quad \log(Y_t) = \sum_{s = 1}^t \log(M_{2, s})$$ instead. this is possible since inequalities of the type $X_t < Y_t$ are equivalent to $\ln(X_t) < \ln(Y_t)$ and we can choose to study the latter. in this multiplicative case, working with the logarithm is helpful since sums of random variables fit to the setting of the law of large numbers and are therefore easier to analyse. essentially we can apply the techniques from above to the new bets $A_i^\text{geom} = \log(M_i)$. since $\mathbb E[A_1^\text{geom}] = \mathbb E[\log(M_1)] < \mathbb E[\log(M_2)] = \mathbb E[A_2^\text{geom}]$, by the argument above we eventually have $\log(X_t) < \log(Y_t)$ and thus $$ \mathbb P(\exists t_0 \forall t \geq t_0: X_t < Y_t) = 1.$$ ### Combining Products and Sums $X_{t + 1} = M_t X_t + A_t$ does not easily fall in the categories above. cf. sushi rewards ### A generalization growth compensation function $f \colon [0, \infty[ \times \mathbb R \to \mathbb R$ such that $f$ is monotone in the second argument: $x < y$ implies $f(t, x) < f(t, y)$. if $$\lim_{t \to \infty} \mathbb E[f(t, X_t)] = r_1 < r_2 = \lim_{t \to \infty} \mathbb E[f(t, Y_t)]$$ and $$\lim_{t \to \infty} \mathbb V[f(t, X_t)] = \lim_{t \to \infty} \mathbb V[f(t, Y_t)] = 0$$ then eventually $$X_t < Y_t.$$ - in the case of additive bets, the function $f(t, x) = \frac{x}{t}$ can be used; the bet with higher expectation wins since $$r_1 = \lim_{t \to \infty} \mathbb E[f(t, X_t)] = \lim_{t \to \infty} \mathbb E[\frac{\sum_{s = 1}^t A_{1, s}}{t}] = \lim_{t \to \infty} \frac{1}{t} \sum_{s = 1}^t \mathbb E[A_{1, s}] = \mathbb E[A_1]$$ and similarly $r_2 = \lim_{t \to \infty} \mathbb E[f(t, Y_t)] = \mathbb E[A_2]$ $$\lim_{t \to \infty} \mathbb V[f(t, X_t)] = \lim_{t \to \infty} \mathbb V[\frac{\sum_{s = 1}^t A_{1, s}}{t}] = \lim_{t \to \infty} \frac{1}{t^2} \sum_{s = 1}^t \mathbb V[A_{1, s}] = 0$$ and similarly $\lim_{t \to \infty} \mathbb V[f(t, Y_t)] = 0$ - in the case of multiplicative bets, the function $f(t, x) = \frac{\log(x)}{t}$ can be used; the bet with higher geom. expectation wins since $$r_1 = \lim_{t \to \infty} \mathbb E[f(t, X_t)] = \lim_{t \to \infty} \mathbb E[\frac{\sum_{s = 1}^t \log(M_{1, s})}{t}] = \mathbb E[\log(M_1)]$$ and similarly $r_2 = \lim_{t \to \infty} \mathbb E[f(t, Y_t)] = \mathbb E[\log(M_2)]$ $$\lim_{t \to \infty} \mathbb V[f(t, X_t)] = \lim_{t \to \infty} \mathbb V[\frac{\sum_{s = 1}^t \log(M_{1, s})}{t}] = \lim_{t \to \infty} \frac{1}{t^2} \sum_{s = 1}^t \mathbb V[\log(M_{1, s})] = 0$$ and similarly $\lim_{t \to \infty} \mathbb V[f(t, Y_t)] = 0$ - if one uses the function $f(t, x) = \frac{\log(x)}{t}$ for the additive case, then $r_1 = r_2 = 0$ and one cannot deduce, using this $f$, which strategy is better - if one uses the function $f(t, x) = \frac{x}{t}$ for the multiplicative case, then $r_1 = r_2 = +\infty$ and one cannot deduce, using this $f$, which strategy is better Proposition: Let $(X_t)_{t \in \mathbb N}$ and $(Y_t)_{t \in \mathbb N}$ be families of real valued random variables, let $f\colon \mathbb N \times \mathbb R \to \mathbb R$ be a function which is strictly increasing in the second argument. If $\mathbb E[f(t, X_t)]$, $\mathbb E[f(t, Y_t)]$, $\mathbb V[f(t, X_t)]$, and $\mathbb V[f(t, Y_t)]$ all exist and $$\lim_{t \to \infty} \mathbb E[f(t, X_t)] = r_1 < r_2 = \lim_{t \to \infty} \mathbb E[f(t, Y_t)]$$ and $$\lim_{t \to \infty} \mathbb V[f(t, X_t)] = \lim_{t \to \infty} \mathbb V[f(t, Y_t)] = 0$$ then $$\lim_{t\to\infty}\mathbb P(X_t < Y_t) = 1.$$ Poof: We show that the probability of the complement $\mathbb P(X_t > Y_t)$ becomes small using the [Chebychev's inequality](https://en.wikipedia.org/wiki/Chebyshev%27s_inequality). By the monotonicity of $f$, the inequality $X_t > Y_t$ is equivalent to $f(t, X_t) > f(t, Y_t)$, which is in turn equivalent to $$f(t, X_t) - f(t, Y_t) - \mathbb E[f(t, X_t) - f(t, Y_t)] > -\mathbb E[f(t, X_t) - f(t, Y_t)].$$ Hence the probabilities of the events coincide, $$\mathbb P(X_t > Y_t) = \mathbb P(f(t, X_t) - f(t, Y_t) - \mathbb E[f(t, X_t) - f(t, Y_t)] > -\mathbb E[f(t, X_t) - f(t, Y_t)]).$$ Introducing absolute values only makes the probability larger, $$\mathbb P(X_t > Y_t) \leq \mathbb P(|f(t, X_t) - f(t, Y_t) - \mathbb E[f(t, X_t) - f(t, Y_t)]| > -\mathbb E[f(t, X_t) - f(t, Y_t)]).$$ Since $r_1 < r_2$, for sufficiently large $t$ we will always have $-\mathbb E[f(t, X_t) - f(t, Y_t)] > 0$. Thus we can apply Chebychev's inequality to obtain $$\mathbb P(X_t > Y_t) \leq \frac{\mathbb V[f(t, X_t) - f(t, Y_t)]}{E[f(t, X_t) - f(t, Y_t)]^2}.$$ Since $$\mathbb V[f(t, X_t) - f(t, Y_t)] \leq \mathbb V[f(t, X_t)] + 2\mathbb V[f(t, X_t)]^\frac{1}{2}\mathbb V[f(t, Y_t)]^\frac{1}{2} + \mathbb V[f(t, Y_t)],$$ the numerator converges to $0$ for $t \to \infty$, while the denominator converges to $(r_1 - r_2)^2$. Thus $\lim_{t\to\infty}\mathbb P(X_t > Y_t) = 0$ and consequently $$\lim_{t\to\infty}\mathbb P(X_t < Y_t) = 1.$$ ### Remarks on Utility utility did not play a role in the previous two subsections. this might seem unintuitive. but it is infact so: let $u$ be a (strictly increasing) monotone function and suppose we are interested in maximizing $u(X_t)$ for large $t$. then the monotonicity of $u$ implies that $u(X_t)$ is largest precisely when $X_t$ is. so all the arguments from above apply. #### instructive examples suppose we are in the multiplicative example form above and we are not interested in $X_t$ but only in $\log(X_t)$. looking directly at $\log(X_t) = \sum_{s = 1}^t \log(M_{1, s})$, we have an additive structure. the right tool for the asymptitic behavior is the expectation of the individual summands. it results in the same analysis as above. suppose we are in the additive example from above and we are not interested in $X_t$ but only in $\log(X_t)$. looking direktly at $\log(X_t) = \log(\sum_{s = 1}^t A_{1, s})$ we see that the easy to analyse additive structure emerges after exponentiation. this results in the same analysis as above. ## Single Bet not clear to me at all, might depend on utility, difficult to reason about due to unclear meaning of probabilities

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully