plotpi | R Documentation |
Can be used to investigate the strength of balance forced by various values of the tuning parameter k
.
plotpi(k, global = 0.5) addpi(k, global = 0.5, ...)
k |
Balancing parameter. |
global |
Global target for proportion of units treated. |
... |
Parameters in |
The function plotpi
creates a plot of treatment probability against fitted propensity score for values of k
and global
. The function addpi
adds a curve for a new combination of k
and global
to an existing plot.
Travis M. Loux
plotpi(k=3, global=0.5) addpi(k=5/3, lty=2, col='red') plotpi(k=1/3, global=2/3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.