Likelihood, score function and information matrix for the r-largest observations likelihood.
Arguments
- par
vector of
loc
,scale
andshape
- dat
an
n
byr
sample 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)
ifdat
is 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