getVar: Compute Propensity Score Variance

View source: R/getVar.R

getVarR Documentation

Compute Propensity Score Variance

Description

Given a data set and vector of indices for treated units, computes the variance of the propensity score fitted via logistic regression.

Usage

getVar(covs, tIndex)

Arguments

covs

A data frame of baseline covariates.

tIndex

A vector indicating which units are to receive treatment.

Value

Returns the variance of the fitted propensity scores.

Author(s)

Travis M. Loux


PropScrRand documentation built on April 24, 2022, 1:05 a.m.