effectOfTreatmentOnTreated: Number of treatment clusters by stratum

View source: R/harmonic.R

effectOfTreatmentOnTreatedR Documentation

Number of treatment clusters by stratum

Description

Calculate the number of treatment clusters by stratum – these being proportional to "effect of treatment on treated" weights when assignment probabilities are uniform within each stratum.

Usage

effectOfTreatmentOnTreated(data)

Arguments

data

Data.

Details

NB: currently, i.e. as of this inline note's commit, this function is used only in testing.

Value

Cluster count


markmfredrickson/RItools documentation built on Jan. 15, 2024, 10:53 p.m.