
Abstract Conditional Logistic GLMM Inference
Source:R/inference_incidence_KK_cond_logit_glmm_abstract.R
InferenceAbstractKKCondLogitGLMM.RdFits one likelihood with a conditional-logistic contribution from discordant matched pairs and a random-intercept logistic GLMM contribution from concordant matched pairs and reservoir subjects.
Super class
Inference -> InferenceAbstractKKCondLogitGLMM
Methods
Public methods
+ inherited public methods from Inference
Inference$capabilities()Inference$compute_exact_confidence_interval()Inference$compute_exact_two_sided_pval_for_treatment_effect()Inference$duplicate()Inference$get_analysis_data()Inference$get_covariates()Inference$get_design_object()Inference$get_model_formula()Inference$get_nonestimable_reason()Inference$get_nonestimable_stage()Inference$get_optimization_alg()Inference$get_response()Inference$get_response_type()Inference$get_treatment()Inference$is_nonestimable()Inference$set_optimization_alg()Inference$set_seed()Inference$supports()
InferenceAbstractKKCondLogitGLMM$new()
Initialize KK conditional-logit GLMM incidence
inference, validate the binary response, and prepare the matched-pair
conditional likelihood and reservoir mixed-model components. See
InferenceAbstractKKCondLogitGLMM.
Usage
InferenceAbstractKKCondLogitGLMM$new(
des_obj,
model_formula = NULL,
max_abs_reasonable_coef = 50,
max_abs_reasonable_se = 10,
max_abs_log_sigma = 8,
verbose = FALSE,
smart_cold_start_default = NULL,
optimization_alg = NULL
)Arguments
des_objA completed
Designobject with an incidence or proportion response.model_formulaOptional formula for covariate adjustment.
max_abs_reasonable_coefCap for reasonable coefficient estimates.
max_abs_reasonable_seCap for reasonable treatment standard errors.
max_abs_log_sigmaCap for reasonable log random effect variance.
verboseLogical. Whether to print progress messages.
smart_cold_start_defaultLogical. Whether to use smart starting values for the optimizer.
optimization_algCharacter. Optimization algorithm (default "lbfgs").
InferenceAbstractKKCondLogitGLMM$compute_estimate()
Computes the class-specific treatment-effect estimate; see
Inference.
InferenceAbstractKKCondLogitGLMM$compute_estimate_with_bootstrap_weights()
Recomputes the class-specific treatment estimate for a bootstrap sample; see
InferenceNonParamBootstrap.
InferenceAbstractKKCondLogitGLMM$compute_asymp_confidence_interval()
Uses the shared asymptotic confidence-interval contract; see
InferenceAsymp.
InferenceAbstractKKCondLogitGLMM$compute_asymp_two_sided_pval()
Uses the shared asymptotic two-sided p-value contract; see
InferenceAsymp.