POINT Analysis Code

R Analysis Code

The association between alcohol use and pain in people with chronic non-cancer pain prescribed pharmaceutical opioids – a prospective cohort study. This repository contains R code used in the TMLE analysis of POINT data on the effect of alcohol exposure on chronic pain, by Clare et al. 2019

DescriptionGithub R codeDownload R code
P1 - Multiple imputationMultiple imputation codeDownload code
P2 - Longitudinal sample descriptives (article Table 2)Longitudinal descriptives codeDownload code
P3 - LTMLE primary analysis of alcohol consumption on pain using the package ‘ltmle’ (1).LTMLE analysis codeDownload code
P4 - LTMLE sensitivity analysis excluding those who used alcohol to cope with their painLTMLE sensitivity analysis codeDownload code
P5 - E-Value sensitivity analysis (2)E-value analysis codeDownload code
  1. Lendle SD, Schwab J, Petersen ML, van der Laan MJ. ltmle: An R Package Implementing Targeted Minimum Loss-Based Estimation for Longitudinal Data. Journal of Statistical Software. 2017;81(1):1-21.
  2. VanderWeele TJ, Ding P. Sensitivity Analysis in Observational Research: Introducing the E-Value. Annals of Internal Medicine. 2017;167(4):268-274. J, Petersen ML, van der Laan MJ. ltmle: An R Package Implementing Targeted Minimum Loss-Based Estimation for Longitudinal Data. Journal of Statistical Software. 2017;81(1):1-21.
Avatar
Dr. Philip J Clare, PhD

Biostatistician at the Prevention Research Collaboration, University of Sydney.

Related