Description Usage Arguments Details
The density and the distribution function of (non-parametric) discrete normal distribution
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
x |
vector of observations, vector of quantiles |
sd |
standard deviation. |
h |
the discretisation parameter. |
log, log.p |
logical; if TRUE, the result will be given in log scale. |
mu0, mean |
the vector of support points |
pi0 |
the vector of weights correponding to the support points |
lower.tail |
logical; if TRUE, the lower probability is computed |
ddiscnorm
gives the density, pdiscnorm
gives the distribution function of
the discrete normal distribution. dnpdiscnorm
gives the density, pnpdiscnorm
gives the distribution function of the non-parametric discrete normal distribution.
The function pnpdiscnorm
uses pnpnorm1
to compute the distribution
function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.