Skip to content
Prev 247816 / 398503 Next

function of probability for normal distribution

On Wed, 19 Jan 2011, JClark wrote:

            
On

 	http://en.wikipedia.org/wiki/Truncated_normal_distribution

it says (by copy-and-paste)

"The density function involves \scriptstyle{\phi(\cdot)} \ , which is the 
probability density function of the standard normal distribution and 
\scriptstyle{\Phi(\cdot)} \ , its cumulative distribution function."

There are some links there that you can follow to get up to speed.
Hmmm. Try the posting guide's suggestions. This seems to help:

 	?distribution
 	[stuff deleted]
 	For the normal distribution see dnorm.

and
 	?dnorm
 	[stuff deleted]
 	dnorm gives the density, pnorm gives the distribution function,
 	qnorm gives the quantile function, and rnorm generates random
 	deviates.

so match up 'density' and 'distribution function' in the ?dnorm page and 
the wiki page and you should be able to put it together.

(FWIW, ?density and ??density are not so helpful.)

BTW

 	 \frac{\frac{1}{\sigma}\phi(\frac{x - \mu}{\sigma})}

(copy and pasted from the wiki page) can be rendered as

 	dnorm(x , mu, sigma ) in R.

HTH,

Chuck
Charles C. Berry                            Dept of Family/Preventive Medicine
cberry at tajo.ucsd.edu			    UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901