dlpearsonIII | R Documentation |
Density, cumulative probability, quantiles, and random generation for the log-Pearson Type III distribution.
dlpearsonIII(x, meanlog = 0, sdlog = 1, skew = 0) plpearsonIII(q, meanlog = 0, sdlog = 1, skew = 0) qlpearsonIII(p, meanlog = 0, sdlog = 1, skew = 0) rlpearsonIII(n, meanlog = 0, sdlog = 1, skew = 0)
x, q |
vector of quantiles. |
meanlog |
vector of means of the distribution of the log-transformed data. |
sdlog |
vector of standard deviation of the distribution of the log-transformed data. |
skew |
vector of skewness of the distribution of the log-transformed 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 (dlpearsonIII
), cumulative probability
(plpearsonIII
), quantile (qlpearsonIII
), or random sample
(rlpearsonIII
) for the described distribution.
The log-Pearson Type III distribution is used extensively in flood-frequency analysis in the United States.
dpearsonIII
, dlnorm
## Simple examples dlpearsonIII(c(.5, .75, .9), 1.5, .25, 0) ## compare to normal qlnorm(c(.5, .75, .9), 1.5, .25) ## Make a skewed distribution dlpearsonIII(c(.5, .75, .9), 1.5, .25, 0.25) ## Simple examples plpearsonIII(c(.5, .75, .9), 1.5, .25, 0) ## compare to normal qlnorm(c(.5, .75, .9), 1.5, .25) ## Make a skewed distribution plpearsonIII(c(.5, .75, .9), 1.5, .25, 0.25) ## Simple examples qlpearsonIII(c(.5, .75, .9), 1.5, .25, 0) ## compare to normal qlnorm(c(.5, .75, .9), 1.5, .25) ## Make a skewed distribution qlpearsonIII(c(.5, .75, .9), 1.5, .25, 0.25) ## Simple examples rlpearsonIII(c(.5, .75, .9), 1.5, .25, 0) ## compare to normal qlnorm(c(.5, .75, .9), 1.5, .25) ## Make a skewed distribution rlpearsonIII(c(.5, .75, .9), 1.5, .25, 0.25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.