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

255

Version

1.1.2.2

License

Apache License 2.0 | file LICENSE

Last Published

November 26th, 2020

Functions in LocalControl (1.1.2.2)

LocalControl-deprecated

Deprecated LocalControl functions
SPSoutco

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

Provides a bootstrapped confidence interval estimate for LocalControl LTDs.
LocalControlCompetingRisksConfidence

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

Local Control Classic
SPSloess

LOESS Smoothing of Outcome by Treatment in Supervised Propensiy Scoring
SPSlogit

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

Change the Number of Bins in Supervised Propensiy Scoring
LocalControl

Local Control
UPSLTDdist

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

Artificial Distribution of LTDs from Random Clusters
UPSgraph

Display Sensitivity Analysis Graphic in Unsupervised Propensiy Scoring
UPSboxplot

Returns a series of boxplots comparing LTD distributions given different numbers of clusters.
UPShclus

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

Prepare for Accumulation of (Outcome,Treatment) Results in Unsupervised Propensity Scoring
plot.LocalControlCS

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

Framingham heart study data extract on smoking and hypertension.
lindner

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

Simulated cardiac medication data for survival analysis
plot.LocalControlCR

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

Instrumental Variable LATE Linear Fitting in Unsupervised Propensiy Scoring
SPSbalan

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

Nearest Neighbor Distribution of LTDs in Unsupervised Propensiy Scoring