Likelihood, score function and information matrix for the r-largest observations likelihood.
Arguments
- par
vector of
loc,scaleandshape- dat
an
nbyrsample matrix, ordered from largest to smallest in each row- method
string indicating whether to use the expected (
'exp') or the observed ('obs'- the default) information matrix.- nobs
number of observations for the expected information matrix. Default to
nrow(dat)ifdatis provided.- r
number of order statistics kept. Default to
ncol(dat)
Usage
rlarg.ll(par, dat, u, np)
rlarg.score(par, dat)
rlarg.infomat(par, dat, method = c('obs', 'exp'), nobs = nrow(dat), r = ncol(dat))Functions
rlarg.ll: log likelihoodrlarg.score: score vectorrlarg.infomat: observed or expected information matrix