Change the Number of Bins in Supervised Propensiy Scoring
SPSnbins(envir, dframe, prnk, qbin, bins = 8)
name of the working local control classic environment.
Name of data.frame of the form output by SPSlogit().
Name of PS tied-rank variable from previous call to SPSlogit().
Name of variable to contain the re-assigned bin number for each patient.
Number of PS bins desired.
An output data.frame with new variables inserted:
dframe2Modified version of the data.frame specified as the first argument to SPSnbins().
Part or all of the first phase of Supervised Propensity Scoring will need to be redone if SPSbalan() detects dependence of within-bin X-covariate distributions upon treatment choice. Use SPSnbins() to change (increase) the number of adjacent PS bins. If this does not achieve balance, invoke SPSlogit() again to modify the form of your PS logistic model, typically by adding interaction and/or curvature terms in continuous X-covariates.
Cochran WG. (1968) The effectiveness of adjustment by subclassification in removing bias in observational studies. Biometrics 24: 205-213.
Obenchain RL. (2011) USPSinR.pdf USPS R-package vignette, 40 pages.
Rosenbaum PR, Rubin DB. (1984) Reducing Bias in Observational Studies Using Subclassification on a Propensity Score. J Amer Stat Assoc 79: 516-524.