propensity_score_linear: propensity_score_linear

Description Usage Arguments Value

View source: R/propensity_score_linear.R

Description

Function to predict treatment using glm (binomial) or lm.

Usage

1
propensity_score_linear(use_linear_lm = FALSE)

Arguments

use_linear_lm

Whether to use lm or glm.

Value

returns a function that accepts train_test_list and this returns a vector of predictions for the test data


rzgross/uRbanmatching documentation built on Dec. 22, 2021, 8:20 p.m.