betting odds
by a k
23 Apr 2006
(Updated 24 Apr 2006)
Given an input of n odds for a sporting event, it calculates the bet spread to minimize losses.
|
Watch this File
|
| File Information |
| Description |
The function takes in n money line odds. For example a soccer match, +100 for an underdog win, -125 for the favored team to win, and +220 for a draw. The function calculates the percentage of your bet that should go to each outcome in order to minimize your loss no matter what event actually occurs.
I'm mainly curious if I coded it correctly, so I would really like some input. I am convinced that for n=2 it works, but I'm not sure about highr n's. |
| MATLAB release |
MATLAB 7.0.1 (R14SP1)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Tag Activity for this File |
| Tag |
Applied By |
Date/Time |
| games |
a k |
22 Oct 2008 08:22:59 |
| bet |
a k |
22 Oct 2008 08:22:59 |
| odds |
a k |
22 Oct 2008 08:22:59 |
| money |
a k |
22 Oct 2008 08:22:59 |
| game |
a k |
22 Oct 2008 08:22:59 |
|
Contact us at files@mathworks.com