Calculate log likelihood of BUM model

Share:

Description

The function calculates the log likelihood of the BUM model.

Usage

1
fbumLL(parms, x)

Arguments

parms

Vector of parameters; lambda and a.

x

Numerical vector of p-values.

Value

Log likelihood.

Author(s)

Marcus Dittrich

Examples

1
2
3
4
data(pvaluesExample)
pvals <- pvaluesExample[,1]
bum.mle <- fitBumModel(pvals, plot=FALSE)
fbumLL(parms=c(bum.mle$lambda, bum.mle$a), x=pvals)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.