Using PROC GENMOD to Analyse Ratio to Placebo in Change of Dactylitis. Irmgard Hollweck / Meike Best 13.OCT.2013

Similar documents
Using PROC GENMOD to Analyse Ratio to Placebo in Change of Dactylitis

You can specify the response in the form of a single variable or in the form of a ratio of two variables denoted events/trials.

Logistic Regression. Interpretation of linear regression. Other types of outcomes. 0-1 response variable: Wound infection. Usual linear regression

Contrasting Marginal and Mixed Effects Models Recall: two approaches to handling dependence in Generalized Linear Models:

Poisson Data. Handout #4

Supplementary materials for:

ESTIMATE PROP. IMPAIRED PRE- AND POST-INTERVENTION FOR THIN LIQUID SWALLOW TASKS. The SURVEYFREQ Procedure

Introduction to SAS proc mixed

Model Based Statistics in Biology. Part V. The Generalized Linear Model. Chapter 18.1 Logistic Regression (Dose - Response)

Models for binary data

Q30b Moyale Observed counts. The FREQ Procedure. Table 1 of type by response. Controlling for site=moyale. Improved (1+2) Same (3) Group only

STAT 705 Generalized linear mixed models

Analyzing Residuals in a PROC SURVEYLOGISTIC Model

UNIVERSITY OF MASSACHUSETTS Department of Mathematics and Statistics Applied Statistics Friday, January 15, 2016

COMPLEMENTARY LOG-LOG MODEL

Lecture 15 (Part 2): Logistic Regression & Common Odds Ratio, (With Simulations)

2 >1. That is, a parallel study design will require

Introduction to SAS proc mixed

Dynamic Determination of Mixed Model Covariance Structures. in Double-blind Clinical Trials. Matthew Davis - Omnicare Clinical Research

Lecture 3.1 Basic Logistic LDA

Models for Binary Outcomes

Multinomial Logistic Regression Models

Faculty of Health Sciences. Correlated data. Count variables. Lene Theil Skovgaard & Julie Lyng Forman. December 6, 2016

Mixed Models Lecture Notes By Dr. Hanford page 199 More Statistics& SAS Tutorial at

Age 55 (x = 1) Age < 55 (x = 0)

Logistic regression analysis. Birthe Lykke Thomsen H. Lundbeck A/S

SAS Analysis Examples Replication C8. * SAS Analysis Examples Replication for ASDA 2nd Edition * Berglund April 2017 * Chapter 8 ;

Chapter 5: Logistic Regression-I

SAS Analysis Examples Replication C11

The GENMOD Procedure (Book Excerpt)

Simple logistic regression

The GENMOD Procedure. Overview. Getting Started. Syntax. Details. Examples. References. SAS/STAT User's Guide. Book Contents Previous Next

STA6938-Logistic Regression Model

(c) Interpret the estimated effect of temperature on the odds of thermal distress.

CHL 5225 H Crossover Trials. CHL 5225 H Crossover Trials

The SEQDESIGN Procedure

Sections 4.1, 4.2, 4.3

Correlated data. Non-normal outcomes. Reminder on binary data. Non-normal data. Faculty of Health Sciences. Non-normal outcomes

Case-control studies C&H 16

jh page 1 /6

GMM Logistic Regression with Time-Dependent Covariates and Feedback Processes in SAS TM

Chapter 1. Modeling Basics

An ordinal number is used to represent a magnitude, such that we can compare ordinal numbers and order them by the quantity they represent.

Stat 587: Key points and formulae Week 15

SAS/STAT 15.1 User s Guide The SEQDESIGN Procedure

Marginal versus conditional effects: does it make a difference? Mireille Schnitzer, PhD Université de Montréal

UNIVERSITY OF TORONTO. Faculty of Arts and Science APRIL 2010 EXAMINATIONS STA 303 H1S / STA 1002 HS. Duration - 3 hours. Aids Allowed: Calculator

Binomial Model. Lecture 10: Introduction to Logistic Regression. Logistic Regression. Binomial Distribution. n independent trials

Lecture 10: Introduction to Logistic Regression

General Linear Model (Chapter 4)

SAS/STAT 13.1 User s Guide. The MIANALYZE Procedure

Testing Indirect Effects for Lower Level Mediation Models in SAS PROC MIXED

Repeated Measures Data

Chapter 14 Logistic and Poisson Regressions

STAT 7030: Categorical Data Analysis

Appendix: Computer Programs for Logistic Regression

Correlated data. Longitudinal data. Typical set-up for repeated measurements. Examples from literature, I. Faculty of Health Sciences

SAS/STAT 14.2 User s Guide. The GENMOD Procedure

Bios 6648: Design & conduct of clinical research

STAT 705 Chapters 22: Analysis of Covariance

Confidence Intervals for the Odds Ratio in Logistic Regression with One Binary X

SAS Syntax and Output for Data Manipulation:

Modeling Effect Modification and Higher-Order Interactions: Novel Approach for Repeated Measures Design using the LSMESTIMATE Statement in SAS 9.

17. Example SAS Commands for Analysis of a Classic Split-Plot Experiment 17. 1

SAS PROC NLMIXED Mike Patefield The University of Reading 12 May

ABSTRACT INTRODUCTION. SESUG Paper

Product Held at Accelerated Stability Conditions. José G. Ramírez, PhD Amgen Global Quality Engineering 6/6/2013

" M A #M B. Standard deviation of the population (Greek lowercase letter sigma) σ 2

Changes Report 2: Examples from the Australian Longitudinal Study on Women s Health for Analysing Longitudinal Data

Analysing longitudinal data when the visit times are informative

The GLIMMIX Procedure (Book Excerpt)

Analysis of Incomplete Non-Normal Longitudinal Lipid Data

ST3241 Categorical Data Analysis I Multicategory Logit Models. Logit Models For Nominal Responses

Mixed Models for Longitudinal Binary Outcomes. Don Hedeker Department of Public Health Sciences University of Chicago.

SAS/STAT 14.2 User s Guide. The GLIMMIX Procedure

Cohen s s Kappa and Log-linear Models

ssh tap sas913, sas

SAS Macro for Generalized Method of Moments Estimation for Longitudinal Data with Time-Dependent Covariates

Before and After Models in Observational Research Using Random Slopes and Intercepts

,..., θ(2),..., θ(n)

STA 303 H1S / 1002 HS Winter 2011 Test March 7, ab 1cde 2abcde 2fghij 3

Multilevel Methodology

Tutorial 6: Tutorial on Translating between GLIMMPSE Power Analysis and Data Analysis. Acknowledgements:

Confidence Intervals for the Odds Ratio in Logistic Regression with Two Binary X s

The MIANALYZE Procedure (Chapter)

LISA Short Course Series Generalized Linear Models (GLMs) & Categorical Data Analysis (CDA) in R. Liang (Sally) Shan Nov. 4, 2014

Generalized Models: Part 1

Practice of SAS Logistic Regression on Binary Pharmacodynamic Data Problems and Solutions. Alan J Xiao, Cognigen Corporation, Buffalo NY

PASS Sample Size Software. Poisson Regression

Confidence Intervals for the Interaction Odds Ratio in Logistic Regression with Two Binary X s

Lecture 7 Time-dependent Covariates in Cox Regression

Logistic Regression - problem 6.14

ST3241 Categorical Data Analysis I Logistic Regression. An Introduction and Some Examples

Longitudinal Modeling with Logistic Regression

Chapter 14 Logistic regression

Lecture Outline. Biost 518 Applied Biostatistics II. Choice of Model for Analysis. Choice of Model. Choice of Model. Lecture 10: Multiple Regression:

Introduction to Generalized Models

SAS/STAT 14.3 User s Guide The LOGISTIC Procedure

Analysis of Count Data A Business Perspective. George J. Hurley Sr. Research Manager The Hershey Company Milwaukee June 2013

ECLT 5810 Linear Regression and Logistic Regression for Classification. Prof. Wai Lam

Transcription:

Using PROC GENMOD to Analyse Ratio to Placebo in Change of Dactylitis Irmgard Hollweck / Meike Best 13.OCT.2013

Agenda 2 Introduction to Dactylitis Background Definitions: Trial Definitions:Terms Statistics: Basics Proc Genmod: Basics Implementation: Requirements 2 Solutions Simplification Generalization

Introduction: Dactylitis (general) 3 Associated with many different diseases (e.g. Tuberculosis, Sickle-cell) Precursors for psoriatic arthritis, ankylosing spondylitis, sickle-cell anemia Referred to as sausage digit Swelling and inflammation Direct treat of underlaying disease might prevent long-term deformation of digit.

Introduction: Dactylitis (general) 4 Pictures are from www.diseasespictures. com/dactylitis + The Journal of Rheumatology: Dactylitis of Sausage- Shaped Digit from Ignazio Olivieri, Angela Pdula, Enrico Scarano, Raffaele Scarpa

Introduction: Dactylitis (clinical studies) 5 Record circumferences and tenderness of the affected digit => 20 digits (10 fingers and 10 toes) might be affected Data stored in SDTM-domain FA Analysis on LDI (Leeds Dactylitis Instrument) = score Number of affected Digits. Presence of Dactylitis.

Definitions: Trial 6 Treatment Groups: Active 200mg(Q2W) Active 400mg(Q4W) Placebo 0mg. Trial Design Parallel Assessment of Dactylitis performed on: Visit: 20, 40, 50, 70, 90,.. from 90 on visit = x +20. Baseline = Visit 20

Definitions: Dactylitis Terms 7 Number of affected digits: 0 to 20 per time point, depending on how many digits are affected. Subject with dactylitis: LDI-score criterion met on Baseline = dactylitis exists according to LDI.

Statistics: Basics 8 5% significance level with a 2-sided p-value is used. Number of affected digits assumes binary values. => 20 x repetition => binomial (20,p) distribution. SAS: Uses Generalized Estimation Equations (GEE) Logistic Regression for repeated measurements. Based on initial values which are generated via generalized linear model.

PROC GENMOD: Basics 9 p-values + repeated measurements provision link function in model statement => different distributions can be used ESTIMATE-statements: Hypothesis is tested by specifying a fixed model matrix L and testing. option E: requests that the L matrix should be displayed. option EXP: confidence limits.

Requirements (SAP) 10 Model will contain treatment group, visit (Baseline vs. the respective post-baseline visit), and the interaction of treatment group and visit. Model will be fitted for each post-baseline visit separately. Number of affected digits will be analyzed for each post-baseline visit separately. assumed to follow Binomial (20, p) distribution, where p is the probability of an individual digit being affected

Requirements (SAP) 11 The model will be a repeated measures logistic regression model Within-subject correlation will be taken into account by allowing an unstructured covariance structure between Baseline and the respective post-baseline visit the difference between each active treatment groups (and both combined) and PBO will be estimated as the ratio of odds ratios between post-baseline and Baseline visits.

Requirements (Mock-Shell) 12

Solution: The model will be fitted for each post-baseline visit separately. 13 Input dataset: Possibilities: macro call with PROC GENMOD per visit loop through the visits with PROC GENMOD in it.

Solution: 'The model will contain treatment group, visit and the interaction.. 14 Input dataset : SOLUTION 1: proc genmod data = ds(where = (trt_no in(4 5 6) and avisitn in(20 &vis))); class usubji trt_no avisitn; model aval/n = trt_no avisitn trt_no*avisitn; repeated subject = usubjid / corr = unstr; estimate "ACT 200 Vs PBO BL &vis" trt_no*avisitn 1-1 -1 1 0 0 / e exp; estimate "ACT 400 Vs PBO BL &vis" trt_no*avisitn 1-1 0 0-1 1 / e exp; estimate "ALL ACT Vs PBO BL &vis" trt_no*avisitn 1-1 -0.5 0.5-0.5 0.5 / e exp; ods output estimates = num_&vis; run; SOLUTION 2: proc genmod data=ds (where=( trt_no IN (4,5,6) AND avisitn IN (20,&&avisitn&visno))) descending; class usubjid trt_no(ref=first) avisitn (ref=first) / param=ref; model aval/n = trt_no avisitn trt_no*avisitn / dist=bin link=logit; repeated subject = usubjid /withinsubject=avisitn type=un; estimate "ACT 200 Vs PBO" trt_no*avisitn 1 0 / exp; estimate "ACT 400 Vs PBO" trt_no*avisitn 0 1 / exp; estimate "ALL ACT Vs PBO" trt_no*avisitn 0.5 0.5 /exp; ods output estimates =_estimatesa; run;

Solution: The model will contain treatment group, visit and the interaction.. 15 Input dataset : SOLUTION 1: proc genmod data = ds(where = (trt_no in(4 5 6) and avisitn in(20 &vis))); class model repeated estimate estimate estimate ods output run; SOLUTION 2: proc genmod data=ds (where=( trt_no IN (4,5,6) AND avisitn IN (20,&&avisitn&visno))) descending; class model repeated estimate estimate estimate ods output run;

Solution: The model will contain treatment group, visit and the interaction.. 16 Input dataset + Loop: SOLUTION 1: proc genmod data class model aval/n = trt_no avisitn trt_no*avisitn; repeated subject = usubjid / corr = unstr; estimate estimate estimate ods output run; SOLUTION 2: proc genmod data= class model aval/n = trt_no avisitn trt_no*avisitn / dist=bin link=logit; repeated subject = usubjid /withinsubject=avisitn type=un; estimate estimate estimate ods output run;

Solution: ratio of odds ratios 17

Solution: The model will contain treatment group, visit and the interaction.. 18 Input dataset SOLUTION 1: proc genmod data = ds(where = (trt_no in(4 5 6) and avisitn in(20 &vis))); class usubji trt_no avisitn; model repeated estimate "ACT 200 Vs PBO BL &vis" trt_no*avisitn 1-1 -1 1 0 0 / e exp; estimate "ACT 400 Vs PBO BL &vis" trt_no*avisitn 1-1 0 0-1 1 / e exp; estimate "ALL ACT Vs PBO BL &vis" trt_no*avisitn 1-1 -0.5 0.5-0.5 0.5 / e exp; ods output run; SOLUTION 2: proc genmod data=ds (where=( trt_no IN (4,5,6) AND avisitn IN (20,&&avisitn&visno))) descending; class usubjid trt_no(ref=first) avisitn (ref=first) / param=ref; model repeated subject estimate "ACT 200 Vs PBO" trt_no*avisitn 1 0 / exp; estimate "ACT 400 Vs PBO" trt_no*avisitn 0 1 / exp; estimate "ALL ACT Vs PBO" trt_no*avisitn 0.5 0.5 /exp; ods output run;

Solution: The model will contain treatment group, visit and the interaction... 19 Output: For ACT 200 visit 40 SOLUTION 1: Standard 95% Confidence Parameter Estimate Error Limits Z Pr > Z Intercept -3.1841 TRT_NO 4 0.0359 TRT_NO 5-0.1954 TRT_NO 6 0.0000 AVISITN 20 0.4391 AVISITN 40 0.0000 TRT_NO*AVISITN 4 20-0.2990 TRT_NO*AVISITN 4 40 0.0000 TRT_NO*AVISITN 5 20-0.1507 TRT_NO*AVISITN 5 40 0.0000 TRT_NO*AVISITN 6 20 0.0000 TRT_NO*AVISITN 6 40 0.0000 Coefficients for Contrast ACT 200 Vs PBO 40 Prm1 - Prm12 ACT 200 Vs PBO vis 40 0 0 0 0 0 0 1-1 -1 1 0 0 SOLUTION 2: Standard 95% Confidence Parameter Estimate Error Limits Z Pr > Z Intercept -3.0082 TRT_NO 5-0.0829 TRT_NO 6 0.2632 AVISITN 40-0.1400 TRT_NO*AVISITN 5 40-0.1484 TRT_NO*AVISITN 6 40-0.2990 For ACT 200 vs PBO vis 40 : 0 + 0 + 0 + 0 + 1*(-0.1484) + 0 = -0.1484

Solution: The model will contain treatment group, visit and the interaction... output: For ACT 200 visit 40 20

Solution: The model will contain treatment group, visit and the interaction... output: For ACT 200 visit 40 21 Interpretation: Odds ratio =1 Odds ratio < 1 => ACTIVE = PLACEBO => ACTIVE has negative effect on response = treatment is positive (see obs 4+5: ACT 400 + ALL, significant) Odds ratio > 1 =>ACTIVE is not better than PLACEBO Note: ACT 200 is not significant and has confidence interval > 1 => doubtful treatment

Simplification of Code in SAS 9.3 22 Solution 1: LSMESTIMATE: combining features of both the LSMEANS and the ESTIMATE statement. In this case the confidence interval has to be stated explicitly in the options (cl) lsmestimate trt_no*avisitn "ACT 200 Vs PBO vis &vis" 1-1 -1 1 0 0, "ACT 400 Vs PBO vis &vis" 1-1 0 0-1 1, "ALL ACT Vs PBO vis &vis" 1-1 -0.5 0.5-0.5 0.5 / e exp cl; Output: shows 3 lines instead of 6 but with less information: Least Squares Means Estimates Standard Effect Label Estimate Error z Value Pr > z TRT_NO*AVISITN ACT 200 Vs PBO vis 40-0.1484 0.1374-1.08 0.2802 Exponentiated Exponentiated Alpha Lower Upper Exponentiated Lower Upper 0.05-0.4177 0.1209 0.8621 0.6586 1.1286

Generalization of Code 23 Results could also be obtained by linearly combining results from LSMEANS differences using slice option, details in paper. ods output SliceDiffs=diffs ; proc genmod data = ds; class... ; model... ; repeated... ; slice trt_no*avisitn / sliceby=avisitn diff oddsratio cl; run ;

Questions? 24

Thanks!