plot.psregression: Plotting function for Propensity Score Regression.

Description Usage Arguments Details Author(s)

Description

Makes multiple plots after fitting a regression model.

Usage

1
plot.psregression(psmodel, data, a, ps, y = NULL, cov = NULL, plot = 1)

Arguments

psmodel

model of class psregression.

data

dataset used to fit the model

a

string variable with name of the intervention covariate, coded 0 no intervention, 1 intervention.

ps

string variable with name of the propensity score covariate

y

string variable with name of the outcome covariate

cov

string variable with name of additional covariate for plotting

plot

number of plot that will be displayed, see details

Details

Plot options: \ 1. Propensity score versus fitted values from PS regression, with no intervention in black, intervention in red. 2. Propensity score versus counterfactual fitted outcomes, with no intervention in black, intervention in red. 3. Plot of cov versus the fitted values, with no intervention in black, intervention in red. 4. Plot of original outcome y versus the fitted values of y, with no intervention in black, intervention in red.

Author(s)

Lauren


czigler/HEIfunctions documentation built on May 14, 2019, 1:43 p.m.