In his classic, The Theory of Blackjack, Professsor Peter Grifin makes
extensive use of the Unit Normal Linear Loss Integral (UNLLI). But what is UNLLI?
The following gives a mathematical definition:
| Defn of UNLLI |
|---|
ó ¥
|
Since this equation may or may not appear on your browser, I will state it in words. It is the Integral, from t=c to t=infinity, of (t-c)*N(t)*dt, where N(t) is the partial distribution function of standard Normal.
There is another way to decribe this. Let n be a Normally Distributed Random variable. Then UNNLI(c) is just the expectation of the ranndom variable Lc described below:
| Alternate Formula |
|---|
UNNLI(c) = Expectation of Lc
ì n-c if if n>c
|
In typical applications, t corresponds to a count, and Lc is measuring the gain of some play as a function of that count. It is assummed that this gain is a Linear Function, and the c represents the critical value; the gain is negative when t<c. Since the player doesn't make the play here; that is why Lc is set to 0 for this.
Note that what I am calling c is called z in Griffin on Page 91. (However, on page
38, he uses z for something else.) On page 38 of Grffin, the expression for E(n) is merely
Again, the symbol in the numerator |m| is suppossed to be the absolute value of the Greek letter mu.
To carry out the Integration for UNNLI(c), you can break the integral into two pieces: the tN(t) term and the cN(t). In the latter, c is a constant so you just end up with the Normal distribution. The former Integral can actually be evaluated in closed form. You can substitute for u=exp(-Kt^2) and du becomes -2Kt dt (K are the constants in N). This gives rise to the following additional formula:
| Computational Formula |
|---|
UNLLI(z) = pdf(z) - z (1 - cdf(z) )
where pdf(z) = pdf for the Standard Normal Distribution
cdf(z) = cummulate distribution funciton for SND
|
As a special treat, I have provided spreadsheets with the UNLLI function in them.
There are two files, UNLLI.WB2 (Quatrro Pro Format) and UNLLI.XLS (Excel Format and for IE browsers only)
These have been put into the file UNLLI.ZIP,
which you should be able to download using the preceeding link. You will then
need to Unzip the file (with PkZip or WinZip).
May Your Earnings Always Exceed Your Expected Value!