plotps: Visualize propensity score.

Description Usage Arguments Details Author(s)

Description

Multiple plotting functions for helping visualize the propensity score.

Usage

1
plotps(data, plot = 1, ps, a, basepollution = NULL, outcome = NULL)

Arguments

data

dataset

plot

number of plot, see details

ps

string with name of propensity score covariate, e.g. "ps"

a

string with name of intervention covariate, 1 intervention, 0 no intervention

basepollution

string with name of baseline pollution covariate (used with plots 3 and 4)

outcome

string with name of outcome covariate (used with option 4)

Details

1. Plot of propensity score (indexed by observation), intervention group in red. 2. Histogram of propensity score for intervention and no intervention groups. 3. Plot of propensity score versus baseline pollution, intervention group in red. 4. Plot of propensity score versus baseline pollution, highlighting where the missing outcome data is.

Author(s)

Lauren


czigler/HEIfunctions documentation built on May 12, 2017, 2:29 p.m.