Learn R Programming

⚠️There's a newer version (1.1.4) of this package.Take me there.

LocalControl

Introduction

LocalControl is an R package implementing novel nonparametric approaches to address biases and confounding when comparing treatments or exposures in observational studies of outcomes.

See R help pages for examples on how to run each of the package functions.

Getting Involved

  • Package manual: LocalControl manual
  • Developer questions/comments/feedback: OHDSI Forum
  • We use the GitHub issue tracker for all bugs/issues/enhancements

License

LocalControl is licensed under Apache License 2.0

Development

Development status

Stable? (Let people know what their expectations should be)

Copy Link

Version

Install

install.packages('LocalControl')

Monthly Downloads

247

Version

1.1.2

License

Apache License 2.0 | file LICENSE

Maintainer

Christophe Lambert

Last Published

February 24th, 2019

Functions in LocalControl (1.1.2)

LocalControl

Local Control
SPSnbins

Change the Number of Bins in Supervised Propensiy Scoring
SPSoutco

Examine Treatment Differences on an Outcome Measure in Supervised Propensiy Scoring
UPSLTDdist

Plot the LTD distribution as a function of the number of clusters.
SPSbalan

Test for Within-Bin X-covariate Balance in Supervised Propensiy Scoring
LocalControlNearestNeighborsConfidence

Provides a bootstrapped confidence interval estimate for LocalControl LTDs.
SPSloess

LOESS Smoothing of Outcome by Treatment in Supervised Propensiy Scoring
SPSlogit

Propensity Score prediction of Treatment Selection from Patient Baseline X-covariates
lindner

Lindner Center for Research and Education study on Abciximab cost-effectiveness and survival
UPSaccum

Prepare for Accumulation of (Outcome,Treatment) Results in Unsupervised Propensity Scoring
UPSgraph

Display Sensitivity Analysis Graphic in Unsupervised Propensiy Scoring
plot.LocalControlCR

Plot cumulative incidence functions (CIFs) from Local Control.
UPShclus

Hierarchical Clustering of Patients on X-covariates for Unsupervised Propensiy Scoring
cardSim

Simulated cardiac medication data for survival analysis
framingham

Framingham heart study data extract on smoking and hypertension.
plot.LocalControlCS

Plots the local treatment difference as a function of radius for LocalControl.
LocalControlClassic

Local Control Classic
LocalControlCompetingRisksConfidence

Calculate confidence intervals around the cumulative incidence functions (CIFs) generated by LocalControl when outcomeType = "survival".
UPSaltdd

Artificial Distribution of LTDs from Random Clusters
UPSboxplot

Returns a series of boxplots comparing LTD distributions given different numbers of clusters.
LocalControl-deprecated

Deprecated LocalControl functions
UPSivadj

Instrumental Variable LATE Linear Fitting in Unsupervised Propensiy Scoring
UPSnnltd

Nearest Neighbor Distribution of LTDs in Unsupervised Propensiy Scoring