Description and instructions for the use of SAS macros for the selfcontrolled

Similar documents
Self-controlled case-series method

Self controlled case series methods: an alternative to standard epidemiological study designs

Analysis of Meter Reading Validation Tolerances proposed by Project Nexus

GREENWOOD PUBLIC SCHOOL DISTRICT PHYSICAL EDUCATION

Proton pump inhibitors and the risk of pneumonia: a comparison of cohort and self-controlled case series designs

Flu Watch. MMWR Week 4: January 21 to January 27, and Deaths. Virologic Surveillance. Influenza-Like Illness Surveillance

Seasonality of influenza activity in Hong Kong and its association with meteorological variations

Dementia Content Report January Produced By The NHS Choices Reporting Team

Reliability. Scale: Empathy

Timing of vaccination campaigns against pandemic influenza in a population dynamical model of Vancouver, Canada

The Management of PD in Scotland. Mitigating the effect in unvaccinated stock

Review of Influenza Activity in San Diego County

Pandemic H1N Dr. Maria Neira Global Influenza Programme WHO, Geneva

Consultant-led Referral to Treatment (RTT) waiting times collection timetable: outcome of consultation

Flu Watch. MMWR Week 3: January 14 to January 20, and Deaths. Virologic Surveillance. Influenza-Like Illness Surveillance

An Updated Approach to Colon Cancer Screening and Prevention

Lauren DiBiase, MS, CIC Associate Director Public Health Epidemiologist Hospital Epidemiology UNC Hospitals

Assessing Change with IIS. Steve Robison Oregon Immunization Program

New GMS Contract QOF Implementation. Dataset and Business Rules - Dementia Indicator Set

FGSZ Zrt. from 28 February 2019 till 29 February 2020 AUCTION CALENDAR: YEARLY YEARLY BUNDLED AT CROSS BORDER POINTS

Economics Introduction to Econometrics--Spring Term 2124

Full Season Immunization: A New Paradigm Is Evolving Update

Linear Regression in SAS

Instructions for doing two-sample t-test in Excel

New GMS Contract QOF Implementation Dataset And Business Rules - Depression Indicator Set

The Infection Control Doctor and Clostridium difficile infection. Dr David R Jenkins University Hospitals of Leicester NHS Trust, England

Improving Influenza Vaccination Rates in Critical Access Hospitals 10/26/2016

HIV POSITIVE YOUTH: LINKAGE & RETENTION IN CARE

Using Cancer Registration and MDT Data to Provide Information on Recurrent and Metastatic Breast Cancer

Global Fund Approach to Health System Strengthening

FORECASTING DEMAND OF INFLUENZA VACCINES AND TRANSPORTATION ANALYSIS.

Dementia Content Report May Produced By The NHS Choices Reporting Team

Systematic Inductive Method for Imputing Partial Missing Dates in Clinical Trials

Telehealth Data for Syndromic Surveillance

GSK s Candidate Influenza A (H5N1) Virus Monovalent Vaccine

New GMS Contract QOF Implementation. Dataset and Business Rules - Mental Health Indicator Set (MH) Wales

Influenza vaccine effectiveness assessment in the UK. Nick Andrews, Statistics Unit, Health Protection Agency

Cancer Immunotherapy Pilot Program/ Patents 4 Patients. USPTO BCP Customer Partnership Meeting Alexandria, VA August 2, 2017

Weekly Influenza News 2016/17 Season. Communicable Disease Surveillance Unit. Summary of Influenza Activity in Toronto for Week 43

Date : September Permit/License or Registration Application. Permit/License/ Notification/ Registration Description. Remark

18 Week 92% Open Pathway Recovery Plan and Backlog Clearance

Alberta Health. Seasonal Influenza in Alberta. 2016/2017 Season. Analytics and Performance Reporting Branch

Influenza Season, Boston

Update on Pandemic H1N1 2009: Oman

CURRICULUM PACING CHART ACES Subject: Science-Second Grade

Pakistan & Afghanistan: Will we soon see the end of polio?

Advanced Measurement for Improvement Seminar March 20-21, 2017

Touchpoints Prior to Opioid Overdose Death

Durham Region Influenza Bulletin: 2017/18 Influenza Season

Certificate Courses in Biostatistics

OATech+ Network: Using Technology to work towards improving Patient Outcomes. Leanne Sawle

Air Quality Monitoring

Lung Cancer MCN Work Plan 2017/18

Sleep Market Panel. Results for June 2015

Methodologies for vaccine safety surveillance. Nick Andrews, Statistics Unit Public Health England October 2015

Title page. Adults COM R

100 years of Influenza Pandemic and the prospects for new influenza vaccines

Sexual Health Content Report June Produced By The NHS Choices Reporting Team

Kansas EMS Naloxone (Narcan) Administration

SUPPLIER/MANUFACTURER PERFORMANCE REPORT

Regression. Page 1. Variables Entered/Removed b Variables. Variables Removed. Enter. Method. Psycho_Dum

Lancet 2008; 372 : CDF. N Engl J Med Aug 28;349(9): J Clin Oncol May 15;19(10): Cancer Nov 1;113(9):2471-7

Alberta Health. Seasonal Influenza in Alberta Season. Analytics and Performance Reporting Branch

Accepted for publication by Epilepsia 5 th August 2015

Empowering Weight Loss Charts & Logs Healthy Weight Chart Cholesterol Chart Blood Pressure Chart Exercise Calorie Burning Chart

Lumpy skin disease (LSD) Vaccination Data Collection

Monitoring of Voriconazole levels at University Hospital. Jason Bowling, MD Rachel Rivera, MD

Barriers to Transplantation

Highly Sensitized Patient Registry: Update and Successes

Chi-Square Goodness-of-Fit Test

INFLUENZA IN MANITOBA 2010/2011 SEASON. Cases reported up to October 9, 2010

Middle East respiratory syndrome coronavirus (MERS-CoV) and Avian Influenza A (H7N9) update

8 Public Health Wales CDSC Weekly Influenza Surveillance Report Wednesday 21 August 2013 (covering week )

Global Healthcare User Group GS1 HUG ~ Berlin ~ January 2007

Welcome to Your DSA Action Team Meeting. February 29, 2012

INFLUENZA WATCH Los Angeles County

A Clinical Decision Support Module Significantly Reduces Ambiguity in Reports of Nuclear Medicine Gastric Emptying Studies

FY 2014 ANNUAL MANAGEMENT REPORT

The Australian Homicide Project:

Swine Flu Pandemic Weekly Report Thursday 20 August 2009

MDT IMPROVEMENT PROJECT. Professor Muntzer Mughal, UCLH

LUNG ALLOCATION SCORE SYSTEM UPDATE

Forecasting Dengue Hemorrhagic Fever Cases Using Time Series in East Java Province, Indonesia

The SAS SUBTYPE Macro

RADIATION SAFETY Metrics & Reports 2015

INFLUENZA EPIDEMIOLOGY IN KENYA

Data Visualization - Basics

STRENGTHENING THE COORDINATION, DELIVERY AND MONITORING OF HIV AND AIDS SERVICES IN MALAWI THROUGH FAITH-BASED INSTITUTIONS.

The Influenza Season Stephen L. Cochi, M.D., M.P.H. Acting Director National Immunization Program, CDC

Quality & Safety Committee Date: 22 June 2016 Agenda item: 4.4

Hospital Readmission Ratio

Fact Sheet Flu Vaccine Crisis: The Administration s Response to Recommendations and Warnings

SUPPLEMENTARY APPENDICES FOR ONLINE PUBLICATION. Supplement to: All-Cause Mortality Reductions from. Measles Catch-Up Campaigns in Africa

10/11/2011. H1N1 Influenza Pandemic: Lessons Learned for Today and Tomorrow. H1N1 Influenza Pandemic: Lessons Learned for Today and Tomorrow

Lessons in biostatistics

Scottish Ambulance Service Heather Kenney

INFLUENZA IN MANITOBA 2010/2011 SEASON. Cases reported up to January 29, 2011

FORECASTING THE DEMAND OF INFLUENZA VACCINES AND SOLVING TRANSPORTATION PROBLEM USING LINEAR PROGRAMMING

Trends in Feed and Manure Phosphorus. John Peters Soil Science Department UW-Madison

Transcription:

Description and instructions for the use of SAS macros for the selfcontrolled case series analyses Two SAS macros have been developed to analyse self-controlled case series (SCCS) data. The macro %SCCSDTA creates the analysis dataset (providing more flexibility than %SCCS) and %SCCS_MOD estimates the case series model for censored, perturbed, or curtailed post-event exposures on the basis of estimating equations with the sandwich variance estimates (Farrington 2). The macros %SCCSDTA and %SCCS_MOD were developed in the context of a study assessing the association between a specific vaccine and the risk of solid organ transplant (SOT) rejection (Cohet et al. 216), and adjusted for the time since transplantations (categorised). Therefore examples will be based on this study. Description of %SCCSDTA The macro %SCCSDTA creates the analysis dataset to be used with %POISREG or %SCCS_MOD. The output dataset of the macro includes several rows for each subject, each row corresponding to the time intervals defined by risk periods of the time-varying covariates, and including the number of events and the time of follow-up during each interval. Example of input dataset Input data are listed by Event, which includes both adverse events and exposures. An example of one subject in the analysis of the risk of SOT rejection within 3 days after vaccination, and adjusted for the time since transplantation (categorized in -, 1-18 and >18 days) is given below. Event types in this study included the date of transplant Transpl (time since transplantation was included as a time-varying covariate), vaccine doses Dose 1, Dose 2 the exposures, and solid organ transplant (SOT) rejections Rejection the adverse event of interest. Patid Event Eventdate 1 Transpl 5AUG2 1 Dose1 15OCT2 1 Dose2 28NOV2 1 Rejection 21JAN21 Note: The observation period starts on 1-Oct-2 (beginning of the vaccination campaign) and ends on 3-Sep-21; one risk period of days is associated with the transplantation; effect of all vaccine doses assumed to be the same Example of output dataset Patid start end Dose1 _3_ Dose 2_3 _ Transpl Transpl _18_ cnt_evt fu_days Dose 1 1OCT2 14OCT2 1 14 1 15OCT2 3NOV2 1 1 2 1 1 4NOV2 14NOV2 1 1 11 1 1 15NOV2 27NOV2 1 13 1 1 28NOV2 28DEC2 1 1 31 2 1 2DEC2 1FEB21 1 1 35 2 1 2FEB21 3SEP21 241 2 Dose1_3_: flag for the period -3 days after the first dose of vaccine Dose2_3_: flag for the period -3 days after the second dose of vaccine 1

Transpl : flag for the period - days after transplantation Transpl_18_: flag for the period 1-18 days after transplantation Cnt_evt: Number of rejections Fu_days: Time in the period (days) Dose: variable indicating which dose precedes the period Macro parameters: in_dta: name of the input dataset. This dataset should include one row per event or covariate of interest needed for the analyses. In the example, the dataset included the rejections (at least one per subject), the transplantation and the vaccination dates. The datasets should at minimum include the variables patid (subject identifier), event (type of event, including exposures), eventdate (start date of the event). sccs_evt: start: outcome event. In the example it was the SOT rejections (Rejection). start of the observation period. Only outcome events and follow-up time between start and end will be considered for the analyses. This day is included in the observation period. 1-Oct-2 in the example end: end of the observation period. This day is included in the observation period. 3- Sept-21 in the example prior: cens_sec: cond_var: period before the observation period in which the exposures are assessed. For example, transplantations occurring less than days before the start of the observation period have an associated risk period overlapping the observation period. In the example input data set, the transplantation occurred before the start of the observation period (5/8/2), but the risk periods (- and 1-18 days) end after the beginning of the observation period (1/1/2). Censoring at the second event (Y or N). The case series model for censored, perturbed, or curtailed post-event exposures allows only one outcome event per subject. In this example the follow-up of the subjects was censored at the subsequent event, but this censoring should only be used in rare situations because the end of the observation period must be independent of outcome event times. Default=Y, but most studies should set cens_sec = N. Event determining the period at risk of an outcome event. In the example, cond_var=transpl because subjects are at risk of rejection only after the transplantation. In addition, subjects are censored at any new transplantation following the rejection considered for the analysis. Note: when the observation period is defined by the ages at the beginning and at the end, this variable can be the dates when the subject reached these ages. In this case the input dataset would include age events with the dates of ages at the beginning and at the end of the observation period. cond_main: Y or N. If Y then the censoring according to cond_var is done according to the occurrence of the main exposure ( Vaccination in the example). For instance, when cond_main = Y and the subject experienced several transplantations during the 2

observation period, only data from the last transplantation before vaccination to the next transplantation is considered (if it includes a rejection), even if there are previous rejections in the observation period. If cond_main = N, the period from the last transplantation before the first rejection to the next transplantation is considered, no matter whether there are vaccinations and rejections later. Default=N. rsk_lst: rsk_time: List of independent variables to consider in the SCCS model, including main exposure. If there are several doses and the case series model for censored, perturbed, or curtailed post-event exposures will be used, then there should be one separate variable for each dose even if the effect is assumed to be the same for all doses. In the example: rsk_lst:dose1 Dose2 Transpl List of risk periods associated to each of the exposures or covariates in the same order as the independent variables listed in rsk_lst. When a covariate is associated with several risk periods, the ends of each of them is separated by. In the example: rsk_time=3 3 18 (-3 days after Dose 1, -3 days after Dose 2 and -, 1-18 days after Transpl). Note: when gaps are needed (wash-out period for instance), the period of the gap can be created in the output dataset as any risk period and then removed. main_rsk: end_cond: end_var: out: Main exposure variables. One variable per dose for the case series model for censored, perturbed, or curtailed post-event exposures. In the example: main_rsk=dose1 Dose2. Covariates for which the end date of the condition is taken into account for determining the risk period. For instance, if chemotherapy is one of the covariates, the risk period associated may include the period of treatment plus an additional following period (mentioned in rsk_time). Variable with the end date of the covariate mentioned in end_cond. For instance end of the chemotherapy treatment. Name of the output dataset for the SCCS analyses. Default=sccsstd. Description of %SCCS_MOD The macro %SCCS_MOD fits the case series model for censored, perturbed, or curtailed post-event exposures, using the estimating equation approach and computing the sandwich variance estimates of the parameters. There is no limit for the number of doses. Macro parameters: in_dta: input dataset, created by %SCCSDTA. In addition to the variables needed for the macro %POISREG, the dataset must include a variable dose identifying whether the period is before the first dose, between first and second dose, after second dose (in case of two doses but the macro can handle more than two doses). dep_v: dependent variable: count of events during each period. Default=cnt_evt 3

expos: common: covar: start_b: eps: alpha: min_cse: min_cov: out_dta: list of dummy variables for the risk periods associated with each dose. There should be one variable per dose. In the example: dep_v=dose1_3_ Dose2_3_ common (=Y) or separate (=N) main exposure effect. Separate effect means that distinct relative incidences will be computed for dose 1 and dose 2. Default=Y covariates to include in the model. Only continuous variables are valid. Categorical variables should be handled through the use of dummy variables. In the example: covar= Transpl Transpl_18_ starting values for the parameters in the iteration process. The parameters of the doses should be the first one(s). There should be one parameter per dose and per covariate. When the effect of the doses is common for all doses (parameter common=y), the parameters should be equal. In the example: start_b= criteria for convergence. Default=1e-8 significance level for the confidence interval. Default=.5 Sometimes it can be planned a priori that if the sample size is too low, the model should not be estimated. This parameter is the minimum number of exposed cases to perform the analysis. Default=1 minimum number of cases by covariate to perform the analysis. Default=5 output dataset. Default=par_cov Call of macros for example %SCCSDTA(dta_in=sccs_1, sccs_evt=rejection, start=1oct2, end=3sep21, prior=18, cens_sec=n, cond_var= Transpl, cond_main=n, rsk_lst= Dose1 Dose2 Transpl, rsk_time=3 3 18, main_rsk= Dose1 Dose2, end_cond=, end_var=, out=sccsstd); %SCCS_MOD(in_dta=sccsstd, dep_v=cnt_evt, expos= Dose1_3_ Dose2_3_, common=y, covar= Transpl Transpl_18_, start_b=, eps=1e-8, alpha=.5, min_cse=1, min_cov=5, out_dta=par_cov); 4

References Farrington CP. Relative incidence estimation from case series for vaccine safety evaluation. Biometrics 15;51:228-35. Farrington CP, Whitaker HJ, Hocine MN. Case series analysis for censored, perturbed, or curtailed post-event exposures. Biostatistics 2;1:3-16. Whitaker HJ, Farrington CP, Spiessens B, Musonda P. Tutorial in biostatistics: the self-controlled case series method. Stat Med 26;25:1768-7. Cohet C. et al. Effect of the adjuvanted (AS3) A/H1N1 2 pandemic influenza vaccine on the risk of rejection in solid organ transplant recipients in England: a self-controlled case series. BMJ Open 216. Accepted for publication. 5