normalden(z,s) returns the rescaled standard normal density.
normalden(z,s) = normalden(z)/s if s>0 and s not missing, otherwise,the result is missing (.).
normalden(1.95,10)=normalden(1.95)/10
normalden(x,m,s) returns the normal density with mean m and standard deviation s. normalden(x,m,s) = normalden((x-m)/s)/s if s>0, and m and s are not missing, otherwise, the result is missing (.).
normalden(1.95,0,10)=normalden(0.195)/10
[此贴子已经被作者于2007-10-23 22:24:51编辑过]