BBUM_loglik | R Documentation |
BBUM_loglik
computes the total log-likelihood of the given BBUM
parameters, given data points with and without the primary beta component.
This is the maximization target for fitting the BBUM model to data (MLE).
BBUM_loglik(params, posSet, negSet, limits = list(), rcap, pBBUM.alpha)
params |
Named vector of BBUM parameters. |
posSet |
Vector of values following a BBUM distribution including the primary beta component ("signal set" or "sample set"). |
negSet |
Vector of values following a BBUM distribution without the primary beta component, i.e. a BUM distribution with the secondary beta distribution ("background set"). |
limits |
Named list of custom limits for specific paramters. Parameters not mentioned would be default values. |
rcap |
Whether the parameter r should have a stringent upper bound in this instance (for smart toggling of outlier detection). |
pBBUM.alpha |
Cutoff level of BBUM-FDR-adjusted p values for significance testing. Only used here to generate appropriate default limits. |
p values lower than .Machine$double.xmin*10
are constrained
to that limit value before evaluation to avoid zero and machine limit
issues.
The value of the total log-likelihood. The logarithm used is the natural logarithm.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.