estimate_effect {RobinCID}R Documentation

Compute Estimates and Covariance Matrix

Description

Compute Estimates and Covariance Matrix

Usage

estimate_effect(
  ret,
  y,
  treatment,
  treatments_for_compare,
  data,
  prob_mat,
  post_strata,
  stabilize
)

Arguments

ret

counterfactual prediction

y

Observed outcome

treatment

name of treatment

treatments_for_compare

description

data

(data.frame) data

prob_mat

(data.frame) treatment assignment probability

post_strata

(character) A string name of post-stratification variable

stabilize

(logical) whether to stabilize

Value

A list of "estimate_effect" object with following elements:


[Package RobinCID version 1.0.0 Index]