Skip to contents

Unadjusted blocked-design incidence inference using the simple mean-difference point estimate with a block-stratified standard error.

Legacy inference class. This class is retained for backwards compatibility and is not comprehensively tested by the package comprehensive-test harness.

Super class

Inference -> InferenceIncidExtendedRobins

Methods

+ inherited public methods from Inference


InferenceIncidExtendedRobins$compute_asymp_confidence_interval()

Uses the randomization-CI layer's two-sided p-value contract (InferenceRandCI's version, not InferenceRand's): for incidence responses this dispatches to the Zhang exact randomization test where applicable rather than refusing outright, matching this class's pre-migration old-ladder behavior (it inherited from InferenceAllSimpleAverageDiff, whose own pin was already corrected to InferenceRandCI – see that file's identical rationale). This class independently composes the same components rather than truly inheriting InferenceAllSimpleAverageDiff, so it had its own stale copy of the old InferenceRand pin (same bug as InferenceIncidWald/InferenceIncidCMH, fixed alongside them even though this class's own golden test's design doesn't happen to trigger the Zhang-eligible path that would have caught it).

Uses the shared asymptotic confidence-interval contract; see InferenceAsymp.

Usage

InferenceIncidExtendedRobins$compute_asymp_confidence_interval(alpha = 0.05)

Arguments

alpha

Numeric. Significance level (default 0.05).


InferenceIncidExtendedRobins$compute_asymp_two_sided_pval()

Uses the shared asymptotic two-sided p-value contract; see InferenceAsymp.

Usage

InferenceIncidExtendedRobins$compute_asymp_two_sided_pval(delta = 0)

Arguments

delta

Numeric. Null treatment effect value (default 0).


InferenceIncidExtendedRobins$new()

Initialize Extended Robins blocked-design incidence inference.

Usage

InferenceIncidExtendedRobins$new(
  des_obj,
  model_formula = NULL,
  verbose = FALSE
)

Arguments

des_obj

A completed design object.

model_formula

Optional formula for covariate adjustment.

verbose

Logical. Whether to print progress messages.

Returns

A new InferenceIncidExtendedRobins object.


InferenceIncidExtendedRobins$clone()

The objects of this class are cloneable with this method.

Usage

InferenceIncidExtendedRobins$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples