compute_var_ratio: Compute the ratio of the variances of propensity score in the...

Description Usage Arguments Value References See Also Examples

View source: R/variance_ratio.R

Description

This function accepts a MatchIt object (i.e., the result of matchit function) , and calculates variance of propensity score in the two groups before and after matching. The variance ratio is an indicator proposed by Rubin (2001) to assess the similarity of distributions between groups.

Usage

1

Arguments

mi_obj

A matchit object derived from MatchIt pacakge

Value

Return a vector of variances and variance ratios

References

Rubin, D. B. (2001). Using propensity scores to help design observational studies: Application to the tobacco litigation. Health Services and Outcomes Research Methodology, 2(3/4), 169-188. https://doi.org/10.1023/A:1020363010465

See Also

compute_res_var_ratio()

Examples

1
2
3
m_out <- MatchIt::matchit(treat ~ re74 + re75 + age + educ + hispan +
black, data = MatchIt::lalonde, method = "nearest")
compute_var_ratio(m_out)

MatchItEXT documentation built on Oct. 28, 2020, 5:06 p.m.