dpearsonIII | R Documentation |
Density, cumulative probability, quantiles, and random generation for the Pearson Type III distribution.
dpearsonIII(x, mean = 0, sd = 1, skew = 0) ppearsonIII(q, mean = 0, sd = 1, skew = 0) qpearsonIII(p, mean = 0, sd = 1, skew = 0) rpearsonIII(n, mean = 0, sd = 1, skew = 0)
x, q |
vector of quantiles. Missing values are permitted and result in corresponding missing values in the output. |
mean |
vector of means of the distribution of the data. |
sd |
vector of standard deviation of the distribution of the data. |
skew |
vector of skewness of the distribution of the data. |
p |
vector of probabilities. |
n |
number of observations. If length( |
Elements of x
, q
, or p
that are missing will result in
missing values in the returned data.
Either the density (dpearsonIII
), cumulative probability
(ppearsonIII
), quantile (qpearsonIII
), or random sample
(rpearsonIII
) for the described distribution.
The log-Pearson Type III distribution is used extensively in flood-frequency analysis in the United States. The Pearson Type III forms the basis for that distribution.
dlpearsonIII
, dnorm
## Simple examples dpearsonIII(c(.5, .75, .9), 1.5, .25, 0) ## compare to normal qnorm(c(.5, .75, .9), 1.5, .25) ## Make a skewed distribution dpearsonIII(c(.5, .75, .9), 1.5, .25, 0.25) ## Simple examples ppearsonIII(c(.5, .75, .9), 1.5, .25, 0) ## compare to normal qnorm(c(.5, .75, .9), 1.5, .25) ## Make a skewed distribution ppearsonIII(c(.5, .75, .9), 1.5, .25, 0.25) ## Simple examples qpearsonIII(c(.5, .75, .9), 1.5, .25, 0) ## compare to normal qnorm(c(.5, .75, .9), 1.5, .25) ## Make a skewed distribution qpearsonIII(c(.5, .75, .9), 1.5, .25, 0.25) # Simple examples rpearsonIII(c(.5, .75, .9), 1.5, .25, 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.