Skip to contents

Encapsulates everything needed to fit per-protein Firth's bias-reduced logistic regression via logistf and extract contrasts.

Value

An R6 class generator.

See also

Other modelling: AnovaExtractor, Contrasts, ContrastsComparison, ContrastsDEqMSFacade, ContrastsDEqMSVoomFacade, ContrastsFacadeBase, ContrastsFirth, ContrastsFirthFacade, ContrastsHurdleFacade, ContrastsHurdleNestedFacade, ContrastsLMFacade, ContrastsLMImputeFacade, ContrastsLimma, ContrastsLimmaFacade, ContrastsLimmaImputeFacade, ContrastsLimmaVoomFacade, ContrastsLimmaVoomImputeFacade, ContrastsLimpaFacade, ContrastsLimpaNestedFacade, ContrastsLmerNestedFacade, ContrastsModerated, ContrastsModeratedDEqMS, ContrastsPlotter, ContrastsRLMFacade, ContrastsROPECA, ContrastsROPECANestedFacade, ContrastsROPECAV2, ContrastsROPECAV2NestedFacade, ContrastsRfitFacade, ContrastsRfitImputeFacade, ContrastsTable, INTERNAL_FUNCTIONS_BY_FAMILY, Model, ModelFirth, ModelLimma, StrategyLM, StrategyLimma, StrategyLimpa, StrategyLmer, StrategyRLM, StrategyRfit, build_contrast_analysis(), build_model(), build_model_glm_protein(), build_model_impute(), build_model_limma(), build_model_limma_impute(), build_model_limma_voom(), build_model_limma_voom_impute(), build_model_limpa(), compute_borrowed_variance(), compute_borrowed_variance_limma(), df.residual.rfit_prolfqua(), group_label(), impute_from_model(), impute_refit_singular(), list_facades(), lookup_facade(), lr_test(), merge_contrasts_results(), new_imputed_model(), nobs.rfit_prolfqua(), pivot_model_contrasts_to_wide(), prolfqua_analysis_methods, register_facade(), sigma.rfit_prolfqua(), strategy_limma(), strategy_limpa(), strategy_logistf(), vcov.rfit_prolfqua()

Super class

StrategyBase -> StrategyLogistf

Methods

Inherited methods


StrategyLogistf$new()

Create a new StrategyLogistf

Usage

StrategyLogistf$new(modelstr, model_name = "logistf", control = list())

Arguments

modelstr

model formula string

model_name

name of model

control

named list of convergence controls, see strategy_logistf


StrategyLogistf$df_residual()

Degrees of freedom of the Wald tests: Inf, so contrasts use the normal distribution (z), as the coefficient table, confint() and logistf itself do

Usage

StrategyLogistf$df_residual(model)

Arguments

model

fitted model


StrategyLogistf$isSingular()

Check if model is singular (NA coefficients or fewer than two observations beyond the coefficients)

Usage

StrategyLogistf$isSingular(model)

Arguments

model

fitted model


StrategyLogistf$sigma()

Get residual standard error (always 1 for logistic)

Usage

StrategyLogistf$sigma(model)

Arguments

model

fitted model


StrategyLogistf$clone()

The objects of this class are cloneable with this method.

Usage

StrategyLogistf$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

strat <- StrategyLogistf$new("bin_resp ~ condition")
strat$formula
#> bin_resp ~ condition
#> <environment: 0x614045b89488>