Stratified Covariate Balancing Using R

Slides:



Advertisements
Similar presentations
Logistic Regression Psy 524 Ainsworth.
Advertisements

Statistical Analysis and Data Interpretation What is significant for the athlete, the statistician and team doctor? important Will Hopkins
Understanding Statistics in Research Articles Elizabeth Crabtree, MPH, PhD (c) Director of Evidence-Based Practice, Quality Management Assistant Professor,
Tutorial on Risk Adjusted P-chart Farrokh Alemi, Ph.D.
Logit & Probit Regression
HSRP 734: Advanced Statistical Methods July 24, 2008.
April 25 Exam April 27 (bring calculator with exp) Cox-Regression
Ordinal Logistic Regression
Farrokh Alemi Ph.D. Defining Probability. Element Event Definition.
Descriptive Statistics: Part One Farrokh Alemi Ph.D. Kashif Haqqi M.D.
Discussion Gitanjali Batmanabane MD PhD. Do you look like this?
Analysis of Categorical Data
Principles of Epidemiology Dona Schneider, PhD, MPH, FACE.
G Lecture 121 Analysis of Time to Event Survival Analysis Language Example of time to high anxiety Discrete survival analysis through logistic regression.
Biostatistics Case Studies 2005 Peter D. Christenson Biostatistician Session 4: Taking Risks and Playing the Odds: OR vs.
Methods Inverse probability weighting –Can you predict probability of response? –Difficulties if more than one missing outcome or covariate Joint model.
Statistics 1 The Basics Sherril M. Stone, Ph.D. Department of Family Medicine OSU-College of Osteopathic Medicine.
Single-Factor Experimental Designs
Zhangxi Lin ISQS Texas Tech University Note: Most slides are from Decision Tree Modeling by SAS Lecture Notes 5 Auxiliary Uses of Trees.
S TATISTICS Dr. Omar Al Jadaan Assistant Professor – Computer Science & Mathematics.
Linear correlation and linear regression + summary of tests
1 THE ROLE OF COVARIATES IN CLINICAL TRIALS ANALYSES Ralph B. D’Agostino, Sr., PhD Boston University FDA ODAC March 13, 2006.
Unit 1 – Intro to Statistics Terminology Sampling and Bias Experimental versus Observational Studies Experimental Design.
Some key developments in data analysis Michael Babyak, PhD.
Categorical Independent Variables STA302 Fall 2013.
Chapter 3 Discrete Random Variables and Probability Distributions  Random Variables.2 - Probability Distributions for Discrete Random Variables.3.
Organization of statistical research. The role of Biostatisticians Biostatisticians play essential roles in designing studies, analyzing data and.
Using Propensity Score Matching in Observational Services Research Neal Wallace, Ph.D. Portland State University February
1 Statistical Review of the Observational Studies of Aprotinin Safety Part II: The i3 Drug Safety Study CRDAC and DSaRM Meeting September 12, 2007 P. Chris.
Logistic Regression & Elastic Net
THE ROLE OF SUBGROUPS IN CLINICAL TRIALS Ralph B. D’Agostino, Sr., PhD Boston University September 13, 2005.
Risk Adjusted X-bar Chart Farrokh Alemi, Ph.D. Based on Work of Eric Eisenstein and Charles Bethea, The use of patient mix-adjusted control charts to compare.
DATA BASICS By Farrokh Alemi, Ph.D.. How best to collect data? Statistics Is.
Date of download: 9/18/2016 Copyright © 2016 American Medical Association. All rights reserved. From: Effect of Structured Physical Activity on Prevention.
Date of download: 9/18/2016 Copyright © The American College of Cardiology. All rights reserved. From: Gastrointestinal Bleeding in Patients With Atrial.
Date of download: 9/19/2016 Copyright © 2016 American Medical Association. All rights reserved. From: Glycated Hemoglobin Measurement and Prediction of.
Research and Evaluation Methodology Program College of Education A comparison of methods for imputation of missing covariate data prior to propensity score.
Logistic Regression APKC – STATS AFAC (2016).
October 20, 2016 Farrokh Alemi, PhD.
Sec 9C – Logistic Regression and Propensity scores
Discrete random variable X Examples: shoe size, dosage (mg), # cells,…
Chapter 3 Discrete Random Variables and Probability Distributions
Confounding and Effect Modification
Outcome Based Prescribing of Citalopram
Normal Distribution Many things closely follow a Normal Distribution:
Searching CSCE 121 J. Michael Moore.
Diagnosis II Dr. Brent E. Faught, Ph.D. Assistant Professor
Has Payment, for AMI, to above National Average Hospitals, Increased?
Chapter 3 Discrete Random Variables and Probability Distributions
P-Chart Farrokh Alemi, Ph.D..
SQL for Predicting from Likelihood Ratios
SQL for Calculating Likelihood Ratios
SQL for Cleaning Data Farrokh Alemi, Ph.D.
Discrete random variable X Examples: shoe size, dosage (mg), # cells,…
Receiver Operating Curves
Saturday, August 06, 2016 Farrokh Alemi, PhD.
Using Ordinary Regression for Logit Transformed Data
Constructing a Multi-Morbidity Index from Simulated Data
Dead Patients Visiting
Multivariate Analysis Project
Chapter 3 Discrete Random Variables and Probability Distributions
Selecting the Right Predictors
Graphical Representation of Independence among 3 Variables
Improving Overlap Farrokh Alemi, Ph.D.
Expectation Farrokh Alemi Ph.D.
Acupuncture for Chronic Pain
Exponential Distribution Ends Up Normal
Stratified Covariate Balancing Using R
Wednesday, October 05, 2016 Farrokh Alemi, PhD.
Almost-Exact Matching for Causal Inference
Presentation transcript:

Stratified Covariate Balancing Using R Farrokh Alemi, PhD

Download Stratified Balancing Note Capital Letters

Load Package into Library

Remove Impossible Values Prepare Your Data Remove Impossible Values Visit after Death Negative ID Zero Blood Pressure Pregnant Males

Predict from Other Variables Prepare Your Data Impute Missing Values Predict from Other Variables Use Mode Use Average No Report No Diagnosis

Prepare Your Data Binary Indicators Initial Analysis Binary Indicators More cases match to controls Use R discretization software Above or below average Worst category vs. all others No report then no diagnosis

Prepare Your Data Binary Indicators Initial Analysis Binary Indicators More cases match to controls Use R discretization software Above or below average Worst category vs. all others No report then no diagnosis

Read Simulated Data Download from Read into directory http://openonlinecourses.com/causalanalysis/simulated%20bundled%20data.csv Read into directory

Look at Data Using fix(data)

Select Subset of Data for Analysis Data should list only treatment and covariates to be balanced

Don’t Stratify Variables on Causal Path Examine sequence of events Avoid complications of treatment Don’t stratify mediators Conduct Collider Tests

Balance Data > balanced=stratadisc(4,5,subset)

Common Odds Ratio does not include one so it is significant Balance Data Common Odds Ratio does not include one so it is significant

In large data, effect size should at least doubling Balance Data In large data, effect size should at least doubling

60% of cases matched to controls Balance Data 60% of cases matched to controls

Check the Strata You Created # Check the strata you have created fix(balanced)

Check Balance

Conduct Sensitivity Analysis # Sensitivity analysis of treatment in column 4 # Outcome in column 5 # In data set called subset revised=sensdisc(4,5,subset) revised