Learn R Programming

LocalControlStrategy (version 1.4)

Local Control Strategy for Robust Analysis of Cross-Sectional Data

Description

Especially when cross-sectional data are observational, effects of treatment selection bias and confounding are revealed by using the Nonparametric and Unsupervised "preprocessing" methods central to Local Control (LC) Strategy. The LC objective is to estimate the "effect-size distribution" that best quantifies a potentially causal relationship between a numeric y-Outcome variable and a t-Treatment or e-Exposure variable. Treatment variables are binary {either 1 = "new" or 0 = "control"}, while Exposure variables vary continuously over a finite range. LC Strategy starts by CLUSTERING experimental units (individual patients, US Counties, etc.) on their X-confounder characteristics. Clusters represent exclusive and exhaustive BLOCKS of relatively well-matched units. The implicit statistical model for LC is thus simple one-way ANOVA. Within-Block measures of effect-size are Local Rank Correlations (LRCs) when Exposure is numeric with (many) more than two levels. Otherwise, Treatment choice is Nested within BLOCKS, and effect-sizes are LOCAL Treatment Differences (LTDs) between Within-Cluster y-Outcome Means ["new" minus "control"]. An Instrumental Variable (IV) method is also provided so that Local Average y-Outcomes (LAOs) within BLOCKS may also contribute information for effect-size inferences ...assuming that X-Covariates influence only Treatment choice or Exposure level and otherwise have no direct effects on y-Outcome. Finally, a "Most-Like-Me" function provides histograms of effect-size distributions to aid Doctor-Patient or Researcher-Society communications about Heterogeneous Outcomes.

Copy Link

Version

Install

install.packages('LocalControlStrategy')

Monthly Downloads

49

Version

1.4

License

GPL-2

Maintainer

Bob Obenchain

Last Published

November 8th, 2022

Functions in LocalControlStrategy (1.4)

LCsetup

Specify KEY parameters used in Local Control (LC) Strategy to "design" analyses of Observational Data.
lrcagg

Calculate the observed Distribution of LRCs in Local Control Strategy
LocalControlStrategy-package

LocalControlStrategy: Unsupervised, Nonparametric Adjustment for Bias and Confounding
ivadj

Instrumental Variable LAO Fitting and Smoothing
confirm

Confirm that Clustering in Covariate X-space yields an "adjusted" LTD/LRC effect-size Distribution
mlme

Create a <<Most-Like-Me>> data.frame for a specified X-Confounder vector: xvec
KSperm

Simulate a p-value for the significance of the Kolmogorov-Smirnov D-statistic from confirm().
LCcluster

Hierarchical Clustering of experimental units (such as patients) in X-covariate Space
plot.mlme

Display a Pair (or Pairs) of Histograms showing LOCAL effect-sizes for Patients "Most-Like-Me".
ltdagg

Calculate the Observed Distribution of LTDs in Local Control Strategy
print.mlme

Print Summary Statistics on Local effect-size Estimates for Patients "Most-Like-Me".
plot.lrcagg

Display Visualizations of an Observed LRC Distribution in Local Control Strategy
plot.ltdagg

Display Visualizations of an Observed LTD Distribution in Local Control Strategy
pci15k

Six-month Survival, Cardiac cost and Baseline Covariate data for 15,487 PCI patients.
plot.ivadj

Display an Instrumental Variable (LAO) plot with Linear and smooth.spline Fits
reveal.data

Create a data.frame for use in Prediction of a LTD/LRC effect-size Distribution
mlme.stats

Print Summary Statistics for One or More "Most-Like-Me" Histogram Pairs.
pmdata

Particulate Matter, Mortality and Other data for 2980 US Counties
radon

Radon exposure and lung cancer mortality data for 2,881 US counties in 46 States.
LCcompare

Display LC Sensitivity Graphic for help in choice of K = Number of Clusters
LCstrategy-internal

Internal LocalControlStrategy functions.