Create a Firth-penalized quasibinomial detection-count strategy
Source:R/BinomialNested.R
strategy_binomial_firth.RdAs strategy_binomial(), with Firth's penalty instead of a pseudo-count, so estimates stay finite when all or
none of a protein's peptides are detected. Used by the binomial_firth_nested method.
Usage
strategy_binomial_firth(
modelstr,
model_name = "binomial_firth_nested",
control = list()
)Arguments
- modelstr
right-hand-side model formula
- model_name
model identity
- control
maxit(default 100) andtol(default 1e-8): iteration limit of the Firth adjustment and the largest coefficient change (log odds) that stops it; log odds of detection range over about -10 to 10, so 1e-8 is far below any reported precision.
Value
A StrategyBinomialFirth object.