Learn R Programming

LocFDRPois (version 1.0.0)

LLConstructor: Return log-likelihood function giving Poisson version of equation (4.6) in "Microarrays, Empirical Bayes, and the Two-Groups model" by Efron.

Description

Return log-likelihood function giving Poisson version of equation (4.6) in "Microarrays, Empirical Bayes, and the Two-Groups model" by Efron.

Usage

LLConstructor(r0, r1, N0, N)

Arguments

r0
The number of points equal to 0
r1
The number of points equal to 1
N0
The number of points equal to either 0 or 1
N
The total number of points

Value

LL A function of lambda0 and pi0, given the current data log likelihood