SPSnbins: Change the Number of Bins in Supervised Propensiy Scoring

Description Usage Arguments Details Value Author(s) References See Also

Description

Change the Number of Bins in Supervised Propensiy Scoring

Usage

1
SPSnbins(envir, dframe, prnk, qbin, bins = 8)

Arguments

envir

name of the working local control classic environment.

dframe

Name of data.frame of the form output by SPSlogit().

prnk

Name of PS tied-rank variable from previous call to SPSlogit().

qbin

Name of variable to contain the re-assigned bin number for each patient.

bins

Number of PS bins desired.

Details

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.

Value

An output data.frame with new variables inserted:

Author(s)

Bob Obenchain <[email protected]>

References

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.

See Also

SPSlogit, SPSbalan and SPSoutco.


LocalControl documentation built on May 2, 2019, 7:29 a.m.