Learn R Programming

cem (version 1.1.31)

pscoreSelect: Heuristic search of the best propensity score model specification

Description

Heuristic search of the best propensity score model specification

Usage

pscoreSelect(formula, data, C.L=2*(pnorm(-1,0,1)), C.Q=0.1,verbose=1)

Value

val

an invisible object of class list.

Arguments

data

the original data.

formula

formula type specification.

C.L

if at leat one likelihood ration test statistic is greater than C.L, then the covariate with higher likelihood ration test statistic is added linearly to the model.

C.Q

if the highest likelihood ratio statistic is greater than C.Q, then interaction terms are included in the pscore model specification.

verbose

integer, prints more info on screen.

Author

Richard Nielsen

Details

This is a tool to help the user to the search for the best propensity score model specification along the lines suggested by Imbens and Rubin (forthcoming). The output of the function is a model formula to be passed to glm or such, in order to estimate the propensity score model and then perform propensity score matching.

This tool is useful in combination with imbspace.plot.

References

Iacus, King, Porro (2011) tools:::Rd_expr_doi("10.1198/jasa.2011.tm09599")

Iacus, King, Porro (2012) tools:::Rd_expr_doi("10.1093/pan/mpr013")

Iacus, King, Porro (2019) tools:::Rd_expr_doi("10.1017/pan.2018.29")

Imbens, Rubin (2015) tools:::Rd_expr_doi("10.1017/CBO9781139025751")

See Also

cemspace

Examples

Run this code
# \donttest{
set.seed(123)
data(LL)
mod <- pscoreSelect( treated ~ age + education + black+ married + nodegree + 
 re74 + re75 + hispanic + u74 + u75, data=LL)
print(mod)
# }

Run the code above in your browser using DataLab