Learn R Programming

NU.Learning (version 1.5)

Nonparametric and Unsupervised Learning from Cross-Sectional Observational Data

Description

Especially when cross-sectional data are observational, effects of treatment selection bias and confounding are best revealed by using Nonparametric and Unsupervised methods to "Design" the analysis of the given data ...rather than the collection of "designed data". Specifically, the "effect-size distribution" that best quantifies a potentially causal relationship between a numeric y-Outcome variable and either a binary t-Treatment or continuous e-Exposure variable needs to consist of BLOCKS of relatively well-matched experimental units (e.g. patients) that have the most similar X-confounder characteristics. Since our NU Learning approach will form BLOCKS by "clustering" experimental units in confounder X-space, the implicit statistical model for learning is One-Way ANOVA. Within Block measures of effect-size are then either [a] LOCAL Treatment Differences (LTDs) between Within-Cluster y-Outcome Means ("new" minus "control") when treatment choice is Binary or else [b] LOCAL Rank Correlations (LRCs) when the e-Exposure variable is numeric with (hopefully many) more than two levels. 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 when X-Covariates are assumed to influence Treatment choice or Exposure level but otherwise have no direct effects on y-Outcomes. Finally, a "Most-Like-Me" function provides histograms of effect-size distributions to aid Doctor-Patient (or Researcher-Society) communications about Heterogeneous Outcomes. Obenchain and Young (2013) ; Obenchain, Young and Krstic (2019) .

Copy Link

Version

Install

install.packages('NU.Learning')

Monthly Downloads

133

Version

1.5

License

GPL-2

Maintainer

Bob Obenchain

Last Published

September 30th, 2023

Functions in NU.Learning (1.5)

KSperm

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

Display NU Sensitivity Graphic for help in choice of K = Number of Clusters
NU.Learning-internal

Internal LocalControlStrategy functions.
mlme

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

Specify KEY parameters used in NU.Learning to "design" analyses of Observational Data.
ivadj

Instrumental Variable LAO Fitting and Smoothing
plot.mlme

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

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

Calculate the observed Distribution of LRCs in NU.Learning
NU.Learning-package

NU.Learning: Nonparametric and Unsupervised Adjustment for Bias and Confounding
print.mlme

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

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

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

Display Visualizations of an Observed LRC Distribution in NU.Learning
ltdagg

Calculate the Observed Distribution of LTDs in NU.Learning
pci15k

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

Particulate Matter, Mortality and Other data for 2980 US Counties
reveal.data

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

Display Visualizations of an Observed LTD Distribution in NU.Learning
plot.ivadj

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

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