benchmark: Helper function to benchmark an instance

View source: R/helper_functions.R

benchmarkR Documentation

Helper function to benchmark an instance

Description

Returns the benchmarking results for a single covariate (or a single group of covariates)

Usage

benchmark(
  omit,
  weights,
  data,
  sigma2,
  estimand = "ATT",
  weighting_method = "ebal",
  weight_max = Inf
)

Arguments

omit

Variable to omit

weights

Vector of estimated weights

data

data.frame containing outcomes and covariate information

sigma2

Variance of the outcome variable

estimand

Specifies estimand; possible parameters include "ATT" or "PATE",

weighting_method

Weighting method. Supports weighting methods from the package WeightIt.

weight_max

Maximum weight to trim at. Default set to Inf

Value

Benchmarking results for a single covariate


senseweight documentation built on Aug. 23, 2025, 1:11 a.m.