| plotpi {PropScrRand} | R Documentation |
Plots of piFunction
Description
Can be used to investigate the strength of balance forced by various values of the tuning parameter k.
Usage
plotpi(k, global = 0.5)
addpi(k, global = 0.5, ...)
Arguments
k |
Balancing parameter. |
global |
Global target for proportion of units treated. |
... |
Parameters in |
Details
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.
Author(s)
Travis M. Loux
Examples
plotpi(k=3, global=0.5)
addpi(k=5/3, lty=2, col='red')
plotpi(k=1/3, global=2/3)
[Package PropScrRand version 1.1.2 Index]