ProfLogLikelihood {GB2} | R Documentation |
Profile Log-likelihood of the GB2 Distribution
Description
Expression of the parameters shape2
and
shape3
of the GB2 distribution as functions of
shape1
and
scale
,
profile log-likelihood of the GB2 distribution, scores of the profile log-likelihood.
Usage
prof.gb2(x, shape1, scale, w=rep(1, length(x)))
proflogl.gb2(x, shape1, scale, w=rep(1, length(x)))
profscores.gb2(x, shape1, scale, w=rep(1, length(x)))
Arguments
x |
numeric; vector of data values. |
shape1 |
numeric; positive parameter. |
scale |
numeric; positive parameter. |
w |
numeric; vector of weights. Must have the same length as |
Details
Using the full log-likelihood equations for the GB2 distribution, the parameters and
can be estimated as functions of
and
. These functions are plugged into the log-likelihood expression,
which becomes a function of
and
only. This is obtained by reparametrizing the GB2, i.e. we set
and
. More details can be found in Graf (2009).
Value
prof
returns a vector containing the values of ,
,
,
as well as two other parameters used in the calculation of the profile log-likelihood and its first derivatives.
proflogl.gb2
returns the value of the profile log-likelihood and profscores.gb2
returns the vector of the first derivatives of the profile log-likelihhod with respect to and
.
Author(s)
Monique Graf and Desislava Nedyalkova
References
Graf, M. (2009) The Log-Likelihood of the Generalized Beta Distribution of the Second Kind. working paper, SFSO.