摘要
Cumulative distribution function for the normal distribution
|
已授权您依据自由软件基金会发行的无固定段落及封面封底文字(Invariant Sections, Front-Cover Texts, and Back-Cover Texts)的GNU自由文件许可协议1.2版或任意后续版本的条款,复制、传播和/或修改本文件。该协议的副本请见“GNU Free Documentation License”。http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue
|
gnuplot source under GPL:
_ln_dnorm(x, m, s) = -1.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"
|
本作品为自由软件,您可以依据自由软件基金会发行的GNU通用公共许可证第2版或任意后续版本的条款,传播和/或修改本作品。本作品发表时预期有用,但对此无任何保证,亦无隐含的可以销售或适合特定目的的保证。详情请见GNU通用公共许可证第2版和第3版。http://www.gnu.org/licenses/gpl.htmlGPLGNU General Public Licensetruetrue
|
SVG version: Arpad Horvath
许可协议