Description Usage Arguments Details Author(s) See Also Examples
Plot propensity score density in treatment groups
1 2 3 4 |
x |
an object of class 'pscore'. |
par.dens |
a list of parameters needed for function
|
par.1 |
a list of parameters needed for function |
par.0 |
a list of parameters needed for function |
with.legend |
a logical value for showing a legend. |
legend.cex |
a numeric value indicating the cex of the legend font. |
legend.label |
a vector of two strings labeling treated and untreated individuals. The default is NULL, i.e. c('treated', 'untreated') is used. |
main |
a string indicating the title of the plot. |
ylim |
a vector of two numerics indicating the limits of the y-axis. |
xlim |
a vector of two numerics indicating the limits of the x-axis. |
... |
further arguments for graphics. |
Propensity score methods aim to eliminate imbalances in covariate distributions between treatment groups. Therefore, individuals from both treatments are matched together or individuals are stratified based on their propensity score. To do so, the graphical check of propensity score distributions for treated and untreated individuals is useful.
The use of plot.pscore()
requires the use of (pscore)
.
Susanne Stampf susanne.stampf@usb.ch
plot
1 2 3 4 5 6 7 8 9 10 11 |
Loading required package: lme4
Loading required package: Matrix
Loading required package: colorspace
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.