compute_cluster_se: Compute point estimate and standard error with clustered...

View source: R/clustered_weights.R

compute_cluster_seR Documentation

Compute point estimate and standard error with clustered weights

Description

Compute point estimate and standard error with clustered weights

Usage

compute_cluster_se(y, wts, trt, clusters, m1hat, m0hat)

Arguments

y

Vector of outcomes

wts

Vector of weight

trt

Vector of treatment assignments

clusters

Vector of cluster assignments

m1hat

Vector of model predictions of E[Y(1) | covariates]

m0hat

Vector of model predictions of E[Y(0) | covariates]

Value

Data.Frame with the point estimate and standard error


ebenmichael/balancer documentation built on Jan. 17, 2024, 2:56 p.m.