Skip to contents

This class uses the same fit() result contract as InferenceCustomAsymp, but only promises estimate/randomization behavior.

Super class

Inference -> InferenceCustomRand

Methods

+ inherited public methods from Inference


InferenceCustomRand$fit()

Calls the user-defined fit callback for this custom inference path; see InferenceCustomAsymp.

Usage

InferenceCustomRand$fit(estimate_only = FALSE)

Arguments

estimate_only

If TRUE, skip variance calculations.

Returns

A list with fit results.


InferenceCustomRand$compute_estimate()

Compute the treatment-effect estimate by delegating to the user-supplied custom bootstrap estimator. See InferenceCustomBoot and InferenceNonParamBootstrap.

Usage

InferenceCustomRand$compute_estimate(estimate_only = FALSE)

Arguments

estimate_only

If TRUE, skip variance calculations.

Returns

The treatment estimate.


InferenceCustomRand$clone()

The objects of this class are cloneable with this method.

Usage

InferenceCustomRand$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.