Description Usage Arguments Value Note Author(s) References Examples
The function BP()
defines the Reparameterized BP distribution
for a gamlss.family object to be used in gamlss. The
functions dBP
, pBP
, qBP
and rBP
define the
density, distribution function, quantile function and random generation
of the BP distribution.
1 2 3 4 5 6 7 8 9 |
mu.link |
Defines the mu.link, with "log" link as the default for the mu parameter. |
sigma.link |
Defines the sigma.link, with "log" link as the default for the sigma parameter. |
x, q |
vector of quantiles. |
mu |
vector of scale parameter values. |
sigma |
vector of shape parameter values. |
log |
logical; if TRUE, quantiles are given as log. |
lower.tail |
logical; if TRUE (default), probabilities are P[X <= x], otherwise, P[X > x]. |
log.p |
log.p logical; if TRUE, probabilities p are given as log(p). |
n |
number of observations. If |
p |
vector of probabilities. |
returns a gamlss.family
object which can be used to fit a BP
distribution in the gamlss function.
For the function BP(), mu is the mean and sigma is the precision parameter of the BP distribution.
Manoel Santos-Neto manoel.ferreira@professor.ufcg.edu.br
Rigby, R.A., Stasinopoulos, D.M., Heller, G.Z., and De Bastiani, F. Distributions for modeling location, scale, and shape: Using GAMLSS in R, London: Chapman and Hall/CRC, 2019.
Stasinopoulos D.M., Rigby R.A., Heller G., Voudouris V., and De Bastiani F. Flexible Regression and Smoothing: Using GAMLSS in R, London: Chapman and Hall/CRC, 2017
Bourguignon, M., Santos-Neto, M. and Castro, M. A new regression model for positive random variables with skewed and long tail. METRON, v. 79, p. 33–55, 2021. doi: 10.1007/s40300-021-00203-y
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.