From Wikipedia, the free encyclopedia
Size of this preview: 800 × 600 pixelsFull resolution (1,300 × 975 pixels, file size: 25 KB, MIME type: image/png)
Cumulative distribution function for the normal distribution
gnuplot source under GPL:
_ln_dnorm(x, m, s) = -0.5 * log(2*pi) - log(s) - 0.5*((x-m)*1.0/s)**2
dnorm(x, mean, sd) = exp(_ln_dnorm(x, mean, sd))
pnorm(x, mean, sd) = norm((x-mean) * 1.0/sd)
set samples 1001
set terminal postscript enhanced color solid lw 2 "Times-Roman" 20
set output
set xrange [-5:5]
set xtics 1
set yrange [0:1]
set ytics 0.1
#f(x,y,z) = dnorm(x, y, sqrt(z)) #use variance, not sd!
#set key 3.8,0.94
f(x,y,z) = pnorm(x, y, sqrt(z))
set key 3.8,0.2
plot \
f(x, 0, 0.2) title "{/Symbol m} = 0, {/Symbol s}^2 = 0.2", \
f(x, 0, 1) title "{/Symbol m} = 0, {/Symbol s}^2 = 1.0", \
f(x, 0, 5) title "{/Symbol m} = 0, {/Symbol s}^2 = 5.0", \
f(x, -2, 0.5) title "{/Symbol m} = -2, {/Symbol s}^2 = 0.5"
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Dimensions | User | Comment |
| current | 11:48, 15 October 2006 | 1,300×975 (25 KB) | D.328 | |
| 03:40, 22 March 2005 | 1,300×975 (136 KB) | MarkSweep | |
File links
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):