The below examples assume a N(0,1). A link to the R manual is here.

__dnorm__-returns the height of the normal curve at a specified value along the x-axis

__pnorm__-the cumulative density function (CDF) that returns the area to the left of a specified value

__qnorm__-returns quantiles or "critical values"

__rnorm__-generates random numbers from the normal distribution

These are examples for the normal distribution, but as you could imagine R has commands for numerous other distributions such as the chi-square, beta, uniform, and poisson.

If you are curious, here are the commands I used to plot these figures:

## No comments:

## Post a Comment