Description Usage Arguments Value Note Author(s) References Examples
The function BP()
defines the BP distribution, a two
parameter distribution, for a gamlss.family object to be used in GAMLSS
fitting using using the function gamlss()
, with mean equal to the
parameter mu
and sigma
equal the precision parameter. The
functions dBP
, pBP
, qBP
and rBP
define the density
, distribution function, quantile function and random generation for the
BP
parameterization of the BP distribution.
1 2 3 4 5 6 7 8 9 |
mu.link |
object for which the extraction of model residuals is meaningful. |
sigma.link |
type of residual to be used. |
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 at 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.