Displaying 1 result from an estimated 1 matches for "fomular".
Did you mean:
formular
2009 Aug 19
3
R function for Probabilities for the (standard) normal distribution
...,
I need to write an R function which computes values of Probabilities for
the (standard) normal distribution, ¦µ(z) for z > 0 by summing this power
series. (We should accumulate terms until the sum doesn't change). I also
need to make the function work for vector of values z.
The initial fomular is
¦µ(z) = ( 1/ sqrt(2¦Ð) )* ¡Ò e^(-t^2/2)dt (¡Ò is from -¡Þ, z)
= 1/ 2 + ( 1/ sqrt(2¦Ð) )* ¡Ò e^(-t^2/2)dt (¡Ò is from 0 to z)
I can substituting x = -t^2/2 into the series expansion for the exponential
function
e^x = ¡Æ x^n/n! (¡Æ is from n=0 to ¡Þ)...