untitled

Similar documents
Network Meta-Analysis

untitled

Microsoft Word - StatsDirectMA Web ver. 2.0.doc

5 Armitage x 1,, x n y i = 10x i + 3 y i = log x i {x i } {y i } 1.2 n i i x ij i j y ij, z ij i j 2 1 y = a x + b ( cm) x ij (i j )

2 H23 BioS (i) data d1; input group patno t sex censor; cards;

H22 BioS (i) I treat1 II treat2 data d1; input group patno treat1 treat2; cards; ; run; I

DATA Sample1 /**/ INPUT Price /* */ DATALINES

y = x 4 y = x 8 3 y = x 4 y = x 3. 4 f(x) = x y = f(x) 4 x =,, 3, 4, 5 5 f(x) f() = f() = 3 f(3) = 3 4 f(4) = 4 *3 S S = f() + f() + f(3) + f(4) () *4


H22 BioS t (i) treat1 treat2 data d1; input patno treat1 treat2; cards; ; run; 1 (i) treat = 1 treat =

スライド 1

こんにちは由美子です

Kaplan-Meierプロットに付加情報を追加するマクロの作成

こんにちは由美子です

kubostat2015e p.2 how to specify Poisson regression model, a GLM GLM how to specify model, a GLM GLM logistic probability distribution Poisson distrib

SRLH01H04.indd

EBM Reviews Ovid Ovid EBM Reviews ACP Journal Club Cochrane Database of Systematic Revie

<30332D D8CB492982D FC95E490E690B62D8FAC8FBC96BE90E690B62E706466>

一般化線形 (混合) モデル (2) - ロジスティック回帰と GLMM

スライド 1

2 The Bulletin of Meiji University of Integrative Medicine 3, Yamashita 10 11

technews2012autumn

ODS GRAPHICS ON; ODS GRAPHICS ON; PROC TTEST DATA=SASHELP.CLASS SIDE=2 DIST=NORMAL H0=58 PLOTS(ONLY SHOWH0)=(SUMMARY); VAR HEIGHT;


GLM PROC GLM y = Xβ + ε y X β ε ε σ 2 E[ε] = 0 var[ε] = σ 2 I σ 2 0 σ 2 =... 0 σ 2 σ 2 I ε σ 2 y E[y] =Xβ var[y] =σ 2 I PROC GLM

: (EQS) /EQUATIONS V1 = 30*V F1 + E1; V2 = 25*V *F1 + E2; V3 = 16*V *F1 + E3; V4 = 10*V F2 + E4; V5 = 19*V99

4703ALL01

II) SIR SMR)

An Interactive Visualization System of Human Network for Multi-User Hiroki Akehata 11N F

JMP V4 による生存時間分析

Presentation Title Goes Here

untitled

/22 R MCMC R R MCMC? 3. Gibbs sampler : kubo/

<928696EC28967B95B6292E696E6464>

4.9 Hausman Test Time Fixed Effects Model vs Time Random Effects Model Two-way Fixed Effects Model

食道がん化学放射線療法後のsalvage手術


EAMS 2014

untitled


kubostat2017e p.1 I 2017 (e) GLM logistic regression : : :02 1 N y count data or

特 集 conditionally essential amino acid, グルタミンジペプチド (Glutamine dipeptide), 多臓器不全 Ⅰ はじめに sepsis RE- DOXS Ⅱ 重症患


untitled

層化

I II III 28 29

生活設計レジメ

44 4 I (1) ( ) (10 15 ) ( 17 ) ( 3 1 ) (2)


1 I EViews View Proc Freeze

生命倫理100_資料4-7

Web XXX.XXX.XXX.XXX - - [02/May/2010:12:52: ] "GET /url/url2/page2.htm HTTP/1.1" " "(compatibl

,, Poisson 3 3. t t y,, y n Nµ, σ 2 y i µ + ɛ i ɛ i N0, σ 2 E[y i ] µ * i y i x i y i α + βx i + ɛ i ɛ i N0, σ 2, α, β *3 y i E[y i ] α + βx i

DATA test; /** **/ INPUT score DATALINES; ; PROC MEANS DATA=test; /** DATA= **/ VAR sc

橡災害.PDF


init: /**/ call notify(., _get_widget_, graph1, graphid); return; graph1: /**/ title1=getnitemc(graphid, title1 ); /**/ call display( title.frame, tit

Ⅰ. 緒言 Suzuki, et al., Ⅱ. 研究方法 1. 対象および方法 1 6 表 1 1, 調査票の内容 図

:... a

日本統計学会誌, 第44巻, 第2号, 251頁-270頁

第3回委員会(2月20日)資料NO

IPSJ SIG Technical Report Vol.2009-BIO-17 No /5/26 DNA 1 1 DNA DNA DNA DNA Correcting read errors on DNA sequences determined by Pyrosequencing

% 10%, 35%( 1029 ) p (a) 1 p 95% (b) 1 Std. Err. (c) p 40% 5% (d) p 1: STATA (1). prtesti One-sample test of pr

講義のーと : データ解析のための統計モデリング. 第5回

untitled

23 Fig. 2: hwmodulev2 3. Reconfigurable HPC 3.1 hw/sw hw/sw hw/sw FPGA PC FPGA PC FPGA HPC FPGA FPGA hw/sw hw/sw hw- Module FPGA hwmodule hw/sw FPGA h

untitled

COE-RES Discussion Paper Series Center of Excellence Project The Normative Evaluation and Social Choice of Contemporary Economic Systems Graduate Scho

スライド 1

12/1 ( ) GLM, R MCMC, WinBUGS 12/2 ( ) WinBUGS WinBUGS 12/2 ( ) : 12/3 ( ) :? ( :51 ) 2/ 71

Y X X Y1 X 2644 Y1 Y2 Y1 Y3 Y1 Y1 Y1 Y2 Y3 Y2 Y3 Y1 Y1 Y2 Y3 Y1 Y2 Y3 Y1 X Lexis X Y X X2 X3 X2 Y2 Y1 Y1

研究シリーズ第40号

医学教育研究とは 2011_10_14 v1

0-表紙

Studies of Foot Form for Footwear Design (Part 9) : Characteristics of the Foot Form of Young and Elder Women Based on their Sizes of Ball Joint Girth

JHN Journal Club 手稲渓仁会病院

Journal Club 2017/05/30 Tomohiro Matsumoto PGY-2

医薬品開発の意思決定における Bayesian Posterior Probability の適用例 ~ Random-Walk Metropolis vs. No-U-Turn Sampler ~ 作井将 清水康平 舟尾暢男 武田薬品工業株式会社日本開発センター生物統計室 Using Bayesi

1 Stata SEM LightStone 4 SEM 4.. Alan C. Acock, Discovering Structural Equation Modeling Using Stata, Revised Edition, Stata Press 3.

X X X Y R Y R Y R MCAR MAR MNAR Figure 1: MCAR, MAR, MNAR Y R X 1.2 Missing At Random (MAR) MAR MCAR MCAR Y X X Y MCAR 2 1 R X Y Table 1 3 IQ MCAR Y I

untitled

本文.indd

10_08.dvi

kubostat2017b p.1 agenda I 2017 (b) probability distribution and maximum likelihood estimation :

mt_4.dvi

時間割引:双曲割引と弱加法性

C/NC : committed/noncommitted

診療ガイドラインのカラクリ

PROC PWENCODE IN=sastrust1 ; RUN ;

EQUIVALENT TRANSFORMATION TECHNIQUE FOR ISLANDING DETECTION METHODS OF SYNCHRONOUS GENERATOR -REACTIVE POWER PERTURBATION METHODS USING AVR OR SVC- Ju

R Commanderを用いたデータ解析


2012_00表紙

untitled

VM-53PA1取扱説明書

untitled


i Armitage Q. Bonferroni 1 SAS ver9.1.3 version up 2 *1 *2 FWE *3 2.1 vs vs vs 2.2 5µg 10µg 20µg 5µg 10µg 20µg vs 5µg vs 10µg vs 20µg *1 *2 *3 FWE 1

com.ibm.etools.egl.jsfsearch.tutorial.doc.ps

̤Äê

Transcription:

SAS 2016 SAS Network Meta-Analysis

SAS Network Meta-Analysis homogeneity consistency Ranking Network Meta-Analysis(homogeneity) (consistency) Ranking 1

Network Meta-Analysis Network Meta-Analysis P Ranking SAS Bayesian Network Meta-Analysis 2

Network Meta-Analysis Meta-Analysis 2 Network Meta-Analysis Multiple Treatments Comparison Mixed Treatments Comparison 3 3

Network Meta-Analysis Network Meta-Analysis Meta-Analysis 1. 2. 2 3. Network Meta-Analysis I. II. homogeneity consistency III. IV. 4. 3 I II SAS 4

Network Meta-Analysis Network Meta-Analysis Network Meta-Analysis 3 multi-arm study Network A vs. B A vs. C B vs. C + A vs. D A B C D 5

Network Meta-Analysis Incomplete Block Design Sequence Incomplete Block Design IBD Period 1 2 1 A B Patient 11,...,1n 1 2 B A Patient 21,...,2n 2 3 C B Patient 31,...,3n 3 4 B C Patient 41,...,4n 4 Network Meta-Analysis NMA 1: A vs. B Study 11,...,1n 1 IBD A B B C A C B A C GLM MIXED A 2: B vs. C Study 21,...,2n 2 B C 6

Network Meta-Analysis Incomplete Block Design Network Meta-Analysis NMA Incomplete Block Design IBD Senn et al. 2013 IBD Sequence Sequence NMA IBD 1 NMA IBD NMA transitivity consistency 7

Network Meta-Analysis Network Meta-Analysis homogeneity consistency Ranking Bayesian Network Meta-Analysis B Treatment Mean Diff. 95% CI A D A B C D -1.75-0.40-0.94 0.00 [-1.94; -1.57] [-0.61; -0.19] [-1.15; -0.74] C -2-1.5-1 -0.5 0 0.5 8

Network Meta-Analysis homogeneity heterogeneity transitivity similarity Network Meta-Analysis Network Meta-Analysis effect modifier consistency Network Meta-Analysis consistency inconsistency 9 Caldwell (2014) Krahn (2013)

Network Meta-Analysis Network Meta-Analysis P Ranking SAS Bayesian Network Meta-Analysis 10

Senn2013 Senn et al. (2013) 26 31 5 Senn et al. (2013) multi-arm study 1 10 acarbose benfluorex metformin miglitol pioglitazone rosiglitazone sitagliptin sulfonylurea alone vildagliptin placebo HbA1c % Senn2013 STUDLAB TREAT1 1 TREAT2 2 TE HbA1c % TREAT1 TREAT2 SETE TE 11

Senn2013 metf 1 benf migl 1 1 acar piog 1 1 3 4 2 2 1 1 vild plac 2 1 sulf 6 rosi 1 sita multi-arm Willms1999 12

Senn2013 TE SETE TREAT1 TREAT2 STUDLAB -0.37 0.1184 metf sulf Alex1998-1.30 0.1014 rosi plac Baksi2004-0.80 0.1432 acar plac Costa1997-1.34 0.1435 rosi plac Davidson2007-1.90 0.1414 metf plac DeFronzo1995 0.10 0.1831 piog rosi Derosa2004-0.70 0.1273 vild plac Garber2008-0.40 0.4356 metf plac Gonzalez-Ortiz2004 0.16 0.0849 piog metf Hanefeld2004-0.57 0.1291 sita plac Hermansen2007-0.74 0.1839 migl plac Johnston1994-1.41 0.2235 migl plac Johnston1998a -0.68 0.2828 migl plac Johnston1998b -0.77 0.1078 rosi plac Kerenyi2004 0.00 0.2339 rosi metf Kim2007-1.30 0.1268 piog plac Kipnes2001-0.82 0.0992 metf plac Lewin2007-1.01 0.1366 benf plac Moulin2006-0.40 0.1549 acar sulf Oyama2008-1.09 0.2263 rosi plac Rosenstock2008-0.23 0.3467 benf plac Stucci1996-1.20 0.1436 rosi sulf Vongthavaravat2002 0.20 0.3579 acar metf Willms1999-1.20 0.3758 metf plac Willms1999-1.00 0.4669 acar plac Willms1999-1.10 0.1141 rosi plac Wolffenbuttel1999-0.14 0.2239 rosi metf Yang2003-1.50 0.1624 rosi plac Zhu2003 13

Senn2013 ID TE SETE TREAT1 TREAT2 STUDLAB s d 1-0.37 0.1184 metf sulf Alex1998 1 1 2-0.80 0.1432 acar plac Costa1997 2 2 3-1.90 0.1414 metf plac DeFronzo1995 3 3 4-0.40 0.4356 metf plac Gonzalez-Ortiz2004 4 3 5 0.20 0.3579 acar metf Willms1999 5 4 6-1.20 0.3758 metf plac Willms1999 5 4 7-1.00 0.4669 acar plac Willms1999 5 4 acar metf 1 2 1 sulf Senn2013 7 5 metf vs. plac 3 multi-arm 1 3 ID=5 plac 14

Network Meta-Analysis, Cov, diag,,,,, plac 1,,5 1,,4 metf acar sulf V 1 V 4 V 5 Y 1 Y 4 Y 5 Willms1999 5 metf acar plac M A P ID=6 SETE Var(M-P) = Var(M) + Var(P) - 2Cov(M,P) ID=5 ID=7 Cov(M-P, A-P) = Cov(M,A) Cov(M,P) Cov(P,A) +Var(P) 15

Network Meta-Analysis 1-step Network Estimate: 1.64, 0.88, 1.27 2-step metf acar sulf, Cov Direct Estimate:,,,, Cov, diag,,, Network Estimate: 1.64, 0.88, 1.27 X 1 X 3 X 4 16

Network Meta-Analysis,Cov,,Cov 1,,5 1,,4 DerSimonian and Laird 0.583 1 1 1 Cov 17 multi-arm τ /2 ID=5(acar vs. metf)

homogeneity consistency heterogeneity Within-designs Q statistic, inconsistency Between-designs Q statistic, 18 100 / heterogeneity

P Ranking Cov( ) Ranking metf metformin P 1. metf p,,,, 2. P : 1, metf metformin P Ranking P P Bayesian Network Meta-Analysis SUCRA Surface Under the Cumulative RAnking 19 Rucker G and Schwarzer G (2015)

Network Meta-Analysis proc iml ; y = {-0.37, -0.8, -1.9, -0.4, -1.2, -1} ; X = {1 0-1, 0 1 0, 1 0 0, 1 0 0, 1 0 0, 0 1 0} ; V = {0.01401856 0 0 0 0 0, 0 0.02050624 0 0 0 0, 0 0 0.01999396 0 0 0, 0 0 0 0.19053225 0 0, 0 0 0 0 0.14122564 0.11556442, 0 0 0 0 0.11556442 0.21799561} ; theta_net = inv(t(x) * inv(v) * X) * t(x) * inv(v) *y ; v_theta_net = inv(t(x) * inv(v) * X) ; result1 = theta_net (theta_net-probit(0.975)#sqrt(vecdiag(v_theta_net))) (theta_net+probit(0.975)#sqrt(vecdiag(v_theta_net))) ; theta_dir = j(5, 1, 0) ; Va = j(5, 5, 0) ; Xa = X[{1 2 3 5 6},] ; theta_dir[1,1] = sum(inv(v[1,1]) * y[1]) # V[1,1] ; Va[1,1] = V[1,1] ; theta_dir[2,1] = sum(inv(v[2,2]) * y[2]) # V[2,2] ; Va[2,2] = V[2,2] ; theta_dir[3,1] = sum(inv(v[{3 4},{3,4}]) * y[{3 4}]) / sum(vecdiag(inv(v[{3 4},{3 4}]))) ; Va[3,3] = 1/sum(vecdiag(inv(V[{3 4},{3 4}]))) ; theta_dir[{4 5},1] = y[{5 6}] ; Va[{4 5},{4 5}] = V[{5 6},{5 6}] ; theta_net_a = inv(t(xa) * inv(va) * Xa) * t(xa) * inv(va) * theta_dir ; v_theta_net_a = inv(t(xa) * inv(va) * Xa) ; result2 = theta_net_a (theta_net_a-probit(0.975)#sqrt(vecdiag(v_theta_net_a))) (theta_net_a+probit(0.975)#sqrt(vecdiag(v_theta_net_a))) ; 20

Network Meta-Analysis Q_net = t(y - X * theta_net) * inv(v) * (y-x * theta_net) ; Q_inc = t(theta_dir - Xa * theta_net_a) * inv(va) * (theta_dir - Xa * theta_net_a) ; Q_het = Q_net - Q_inc ; CC = -1#i(3); CC[,1] = 1; E = CC * theta_net; z = j(1,3,0) ; do i=1 to 3 ; c = CC[i,] ; z[i] = sqrt(t(c * theta_net) * inv(c * v_theta_net * t(c)) * (c * theta_net)) ; if (E[i] < 0) then z[i] = -1*z[i] ; end ; p_metf = 1-(probnorm(z)) ; pscore_metf = p_metf[:] ; title "Treatment estimate (Fixed effect model)" ; print result1 result2, Q_net Q_het Q_inc pscore_metf ; quit ; result1 1-step 1 95%2 3 result2 2-step result1 Q_net Q_het Q_inc pscore_metf metf metformin P 21

inconsistency Detaching a single design inconsistency Krahn 2013 Detaching a single design, 1, 0, Cov 1 0 detach, 22

inconsistency Detaching a single design,,,,,,,,,,,, 0,,,,, 0 inconsistency, 0 inconsistency 23

inconsistency network estimate plac:metf_ plac:acar:metf plac:acar plac:metf plac:acar_ plac:acar:metf plac:metf_ plac:acar:metf direct estimate plac:acar plac:metf plac:acar_ plac:acar:metf 2.5 2.0 1.5 1.0 0.5 (inconsistency) direct estimate network estimate Network estimate 24

inconsistency plac:metf_ plac:acar:metf Detach plac:acar plac:metf plac:acar_ plac:acar:metf Detach plac:metf_ plac:acar:metf plac:acar plac:metf plac:acar_ plac:acar:metf 2.5 2.0 1.5 1.0 0.5 = inconsistent evidence = supportive evidence 25

inconsistency Detach plac:metf_ plac:acar:metf plac:acar plac:metf plac:acar_ plac:acar:metf plac:metf_ plac:acar:metf Detach plac:acar plac:metf plac:acar_ plac:acar:metf 2.5 2.0 1.5 1.0 0.5 multi-arm metf vs. plac inconsistency metf vs. plac network estimate direct estimate metf vs. plac 3 2-arm 2 metf vs. plac 3 inconsistency 26

Network Meta-Analysis Network Meta-Analysis P Ranking SAS Bayesian Network Meta-Analysis 27

iml iml Network Meta-Analysis ranking 500 Q 2 3 R netmeta SAS 28

Network Meta-Analysis SAS 1. R + C: temp 2. %MYNETMETA R Backup Slides http://ftp.yz.yamagata-u.ac.jp/pub/cran/bin/windows/base/ R install.packages("netmeta", dep=t) %MYNETMETA Network Meta-Analysis SAS R output.pdf %MYNETMETA 29

Network Meta-Analysis SAS %macro MYNETMETA(dataset =, sm = MD, level = 0.95, reference =, seq =, small = good, path = C:/temp) ; dataset TE SETE TREAT1 TREAT2 STUDLAB sm TE RD Risk Difference RR Risk Ratio OR Odds Ratio MD Mean Difference SMD Standardized Mean Difference IRR Incidence Rate Ratio IRD Incidence Rate Difference level reference reference=plac seq small good bad path output.pdf 30

Network Meta-Analysis data Senn2013_char ; length STUDLAB $100. ; input TE SETE TREAT1 $ TREAT2 $ STUDLAB $ ; cards ; -1.90 0.1414 metf plac DeFronzo1995-0.82 0.0992 metf plac Lewin2007-0.20 0.3579 metf acar Willms1999-1.34 0.1435 rosi plac Davidson2007-1.10 0.1141 rosi plac Wolffenbuttel1999-1.30 0.1268 piog plac Kipnes2001-0.77 0.1078 rosi plac Kerenyi2004 0.16 0.0849 piog metf Hanefeld2004 0.10 0.1831 piog rosi Derosa2004-1.30 0.1014 rosi plac Baksi2004-1.09 0.2263 rosi plac Rosenstock2008-1.50 0.1624 rosi plac Zhu2003-0.14 0.2239 rosi metf Yang2003-1.20 0.1436 rosi sulf Vongthavaravat2002-0.40 0.1549 acar sulf Oyama2008-0.80 0.1432 acar plac Costa1997-0.57 0.1291 sita plac Hermansen2007-0.70 0.1273 vild plac Garber2008-0.37 0.1184 metf sulf Alex1998-0.74 0.1839 migl plac Johnston1994-1.41 0.2235 migl plac Johnston1998a 0.00 0.2339 rosi metf Kim2007-0.68 0.2828 migl plac Johnston1998b -0.40 0.4356 metf plac Gonzalez-Ortiz2004-0.23 0.3467 benf plac Stucci1996-1.01 0.1366 benf plac Moulin2006-1.20 0.3758 metf plac Willms1999-1.00 0.4669 acar plac Willms1999 ; run ;

Network Meta-Analysis %MYNETMETA(dataset = Senn2013_char, sm = MD, level = 0.95) ; dataset Senn2013_char sm MD Mean Difference level 95% output.pdf TE_FIXED TE_FIXED_LCL TE_FIXED_UCL TE_RANDOM TE_RANDOM_LCL TE_RANDOM_UCL Q1_STATISTICS Q homogeneity / consistency Q1_WITHINDESIGNS Design-specific decomposition of within-designs Q statistic Q1_BETWEENDESIGNS Between-designs Q statistic after detaching of single designs Q1_XXX 3 Q2_STATISTICS Q2_WITHINDESIGNS Q2_BETWEENDESIGNS RANK_FIXED RANK_RANDOM Network Ranking 32

Network Meta-Analysis %MYNETMETA(dataset = Senn2013_char, sm = MD, level = 0.95, reference = plac, seq = %str('plac','acar','benf','metf', 'migl','piog','rosi','sita', 'sulf', 'vild')) ; reference reference=plac seq 33

Network Meta-Analysis PDF metf:sulf rosi:sulf metf:piog plac:piog plac:rosi plac:metf metf:rosi piog:rosi plac:acar_plac:acar:metf plac:metf_plac:acar:metf acar:sulf plac:acar 1 Forest Plot 3 34 metf:sulf rosi:sulf metf:piog plac:piog plac:rosi plac:metf metf:rosi piog:rosi plac:acar_plac:acar:metf plac:metf_plac:acar:metf acar:sulf plac:acar Fixed Effect Model 8 6 4 2 0-2 5 inconsistency multi-arm Willms1999

Network Meta-Analysis PDF acar:sulf plac:acar_plac:acar:metf plac:metf plac:acar metf:rosi piog:rosi plac:metf_plac:acar:metf plac:rosi metf:piog plac:piog metf:sulf rosi:sulf 2 Forest Plot 4 acar:sulf plac:acar_plac:acar:metf plac:metf plac:acar metf:rosi piog:rosi plac:metf_plac:acar:metf plac:rosi metf:piog plac:piog metf:sulf rosi:sulf 1.0 0.8 0.6 0.4 0.2 0.0-0.2 6 inconsistency 35 Random Effect Model multi-arm Willms1999

Network Meta-Analysis TE_FIXED Q1_STATISTICS Q homogeneity / consistency Q1_WITHINDESIGNS Within-designs Q statistic RANK_FIXED Network P Q1_BETWEENDESIGNS Between-designs Q statistic after detaching of single designs 36

Network Meta-Analysis TE_RANDOM Q2_STATISTICS Q homogeneity / consistency Q2_WITHINDESIGNS Within-designs Q statistic RANK_RANDOM Network P Q2_BETWEENDESIGNS Between-designs Q statistic after detaching of single designs 37

Arm-based Contrast-based STUDY Group1 TE1 sete1 Group2 TE2 sete2 Group3 TE3 sete3 1 1-1.22 0.50 3-1.53 0.44 2 1-0.70 0.28 2-2.40 0.26 3 1-0.30 0.50 2-2.60 0.51 4-1.20 0.48 4 3-0.24 0.27 4-0.59 0.35 5 3-0.73 0.34 4-0.18 0.44 6 4-2.20 0.20 5-2.50 0.19 7 4-1.80 0.20 5-2.10 0.25 TE sete treat1 treat2 studlab 0.31 0.67 1 3 1 1.70 0.38 1 2 2 2.30 0.71 1 2 3 0.90 0.69 1 4 3-1.40 0.70 2 4 3 0.35 0.44 3 4 4-0.55 0.56 3 4 5 0.30 0.28 4 5 6 0.30 0.32 4 5 7 contrast-based format arm-based format 38 Dias et. al. (2013) Parkinson

Arm-based Contrast-based %MYCONVERT(dataset =, studlab =, treat =, event =, n =, mean =, sd =, TE =, sete =, time =, sm =, path = C:/temp) ; dataset studlab treat event n mean sd TE sete TE time sm path 39

Arm-based Contrast-based %MYCONVERT(dataset = Parkinson, studlab = STUDY, treat = %str(group1, Group2, Group3), TE = %str(te1, TE2, TE3), sete = %str(sete1, sete2, sete3)) ; dataset studlab treat 1 2 TE sete %MYCONVERT Parkinson Parkinson_contrast 40 treat n mean sd

Arm-based Contrast-based 2 %MYCONVERT(dataset = MYDATA, treat = %str(treat1, treat2, treat3), event = %str(event1, event2, event3), n = %str(n1, n2, n3), sm=rr) ; %MYNETMETA(dataset = MYDATA_contrast, sm=rr) ; 2 OR SAS %str() %MYCONVERT(dataset = MYDATA, treat = %str(treat1, treat2, treat3), event = %str(event1, event2, event3), n = %str(n1, n2, n3), sm=%str(or)) ; %MYNETMETA(dataset = MYDATA_contrast, sm=%str(or)) ; 2 treat event n 41 sm=rd

Arm-based Contrast-based %MYCONVERT(dataset = MYDATA, studlab=id, treat = %str(treat1, treat2, treat3), time = %str(years1, years2, years3), event = %str(d1, d2, d3), sm=ird) ; %MYNETMETA(dataset = MYDATA_contrast, sm=ird) ; %MYCONVERT(dataset = MYDATA, studlab=id, treat = %str(treat1, treat2, treat3), time = %str(years1, years2, years3), event = %str(d1, d2, d3), sm=irr) ; %MYNETMETA(dataset = MYDATA_contrast, sm=irr) ; treat time event 42

Network Meta-Analysis Network Meta-Analysis P Ranking SAS Bayesian Network Meta-Analysis 43

Bayesian Network Meta-Analysis SAS Bayesian Network Meta-Analysis 2014 Bayesian Network Meta-Analysis Network Meta-Analysis ~ 0, 10000 1,,9 : acarbose placebo : vildagliptin placebo : 0 placebo 2-arm study: ~,, 1,, 10 ; : 3-arm study: ~, /2 /2 44

Bayesian Network Meta-Analysis Senn mcmc studlab TE1 TE2 TE3 sete1 sete2 sete3 treat1_1 treat1_2 treat1_3 treat2_1 treat2_2 treat2_3 v1 v2 v3 1-1.90.. 0.1414.. 3.. 10.. 0.0200.. 2-0.82.. 0.0992.. 3.. 10.. 0.0098.. 3-0.20-1.20-1.00 0.3579 0.3758 0.4669 3 3 1 1 10 10 0.1281 0.1412 0.2180 4-1.34.. 0.1435.. 6.. 10.. 0.0206.. 5-1.10.. 0.1141.. 6.. 10.. 0.0130.. 6-1.30.. 0.1268.. 5.. 10.. 0.0161.. 7-0.77.. 0.1078.. 6.. 10.. 0.0116.. 8 0.16.. 0.0849.. 5.. 3.. 0.0072.. 9 0.10.. 0.1831.. 5.. 6.. 0.0335.. 10-1.30.. 0.1014.. 6.. 10.. 0.0103.. 11-1.09.. 0.2263.. 6.. 10.. 0.0512.. 12-1.50.. 0.1624.. 6.. 10.. 0.0264.. 13-0.14.. 0.2239.. 6.. 3.. 0.0501.. 14-1.20.. 0.1436.. 6.. 8.. 0.0206.. 15-0.40.. 0.1549.. 1.. 8.. 0.0240.. 16-0.80.. 0.1432.. 1.. 10.. 0.0205.. 17-0.57.. 0.1291.. 7.. 10.. 0.0167.. 18-0.70.. 0.1273.. 9.. 10.. 0.0162.. 19-0.37.. 0.1184.. 3.. 8.. 0.0140.. 20-0.74.. 0.1839.. 4.. 10.. 0.0338.. 21-1.41.. 0.2235.. 4.. 10.. 0.0500.. 22 0.00.. 0.2339.. 6.. 3.. 0.0547.. 23-0.68.. 0.2828.. 4.. 10.. 0.0800.. 24-0.40.. 0.4356.. 3.. 10.. 0.1898.. 25-0.23.. 0.3467.. 2.. 10.. 0.1202.. 26-1.01.. 0.1366.. 2.. 10.. 0.0187.. 45

Bayesian Network Meta-Analysis ods graphics on ; proc mcmc data=senn nbi=5000 nmc=500000 thin=10 seed=777 missing=ac diagnostics=all plots=all monitor=(theta) ; 46 array te[2] te1 te2 ; array theta[9] ; array s[2,2] ; array mu[2] mu1 mu2 ; parms theta: 0 ; prior theta: ~ normal(0,var=10000) ; if studlab=3 then do ; do i=1 to 9 ; if treat1_1=i then mu1_1=theta[i] ; if treat2_1=i then mu2_1=theta[i] ; if treat1_2=i then mu1_2=theta[i] ; if treat2_2=i then mu2_2=theta[i] ; end ; if treat1_1=10 then mu1_1=0 ; if treat2_1=10 then mu2_1=0 ; if treat1_2=10 then mu1_2=0 ; if treat2_2=10 then mu2_2=0 ; mu[1]=mu1_1-mu2_1 ; mu[2]=mu1_2-mu2_2 ; s[1,1]=v1 ; s[2,2]=v2 ; s[1,2]=(v1+v2-v3)/2 ; s[2,1]=s[1,2] ; ll=lpdfmvn(te,mu,s) ; end ;

Bayesian Network Meta-Analysis else do ; do i=1 to 9 ; if treat1_1=i then mu1_1=theta[i] ; if treat2_1=i then mu2_1=theta[i] ; end ; if treat1_1=10 then mu1_1=0 ; if treat2_1=10 then mu2_1=0 ; mu[1]=mu1_1-mu2_1 ; ll=lpdfnorm(te[1],mu[1],sqrt(v1)) ; end ; model general(ll) ; run ; ods graphics off ; θ 1 θ 2 θ 3 θ 9 47

Bayesian Network Meta-Analysis Bayesian Network Meta-Analysis 48

Bayesian Network Meta-Analysis ~ 0, 10000 1,,9 : acarbose placebo : vildagliptin placebo : 0 placebo ~ igamma 1, 0.000001 2-arm study: ~,, 1,,10 ; : 3-arm study: ~, /2 1 1/2 /2 1/2 1 49

Bayesian Network Meta-Analysis ods graphics on ; proc mcmc data=senn nbi=10000 nmc=5000000 thin=50 seed=777 missing=ac diagnostics=all plots=all stats(percent=(2.5 97.5))=all monitor=(theta var_h sd) ; array te[2] te1 te2 ; array theta[9] ; array s[2,2] ; array g[2,2] ; array mu[2] mu1 mu2 ; array delta[2] delta1 delta2 ; parms theta: 0 ; parms var_h 1; prior theta: ~ normal(0,var=10000) ; prior var_h ~ igamma(1,scale=0.000001) ; if studlab=3 then do ; do i=1 to 9 ; if treat1_1=i then mu1_1=theta[i] ; if treat2_1=i then mu2_1=theta[i] ; if treat1_2=i then mu1_2=theta[i] ; if treat2_2=i then mu2_2=theta[i] ; end ; if treat1_1=10 then mu1_1=0 ; if treat2_1=10 then mu2_1=0 ; if treat1_2=10 then mu1_2=0 ; if treat2_2=10 then mu2_2=0 ; 50

Bayesian Network Meta-Analysis mu[1]=mu1_1-mu2_1 ; mu[2]=mu1_2-mu2_2 ; s[1,1]=v1 ; s[2,2]=v2 ; s[1,2]=(v1+v2-v3)/2 ; s[2,1]=s[1,2] ; g[1,1]=var_h ; g[2,2]=g[1,1] ; g[1,2]=var_h/2 ; g[2,1]=g[1,2] ; random delta ~ mvn(mu,g) subject=_obs_ ; ll=lpdfmvn(te,delta,s) ; end ; else do ; do i=1 to 9 ; if treat1_1=i then mu1_1=theta[i] ; if treat2_1=i then mu2_1=theta[i] ; end ; if treat1_1=10 then mu1_1=0 ; if treat2_1=10 then mu2_1=0 ; mu[1]=mu1_1-mu2_1 ; vt=sqrt(v1) ; random delta3 ~ normal(mu[1],v=var_h) subject=_obs_ ; ll=lpdfnorm(te[1],delta3,vt) ; end ; model general(ll) ; sd=sqrt(var_h) ; run ; ods graphics off ; 51

Bayesian Network Meta-Analysis Bayesian Network Meta-Analysis 52

Network Meta-Analysis Network Meta-Analysis P Ranking SAS Bayesian Network Meta-Analysis 53

Network Meta-Analysis Network Meta-Analysis SAS homogeneity consistency Ranking Bayesian Network Meta-Analysis 54

Caldwell DM (2014) An overview of conducting systematic reviews with network meta-analysis. Systematic Reviews, 3:109. Dias S, Sutton AJ, Ades AE and Welton NJ (2013) Evidence synthesis for decision making 2: A generalized linear modeling framework for pairwise and network meta-analysis of randomized controlled trials. Medical Decision Making, 33, 607-617. Higgins JPT, Jackson D, Barrett JK, Lu G, et. al. (2012) Consistency and inconsistency in network meta-analysis: concepts and models for multi-arm studies. Research Synthesis Methods, 3(2), pages 98-110. Hutton B, Salanti G, Caldwell DM, Chaimani A, et. al. (2015) The PRISMA extension statement for reporting of systematic reviews incorporating network meta-analyses of health care interventions: checklist and explanations. Annals of Internal Medicine, 162(11):777-784. Krahn U, Binder H and Konig J (2013) A graphical tool for locating inconsistency in network meta analyses. BMC Medical Research Methodology, 13:35. Mills EJ, Thorlund K and Ioannidis JP (2013) Demystifying trial networks and network meta-analysis. BMJ. May14; 346:f2914. DerSimonian R and Laird N (1986) Meta-analysis in clinical trials. Controlled Clinical Trials 7:177-188. 55

Rucker G, Schwarzer G, Krahn U and Konig J (2014) Netmeta: network meta-analysis with R. R package (version 0.8-0). License GPL-2+ License GPL-2+ Rucker G and Schwarzer G (2015) Ranking treatments in frequentist network meta-analysis works without resampling methods. BMC Medical Research Methodology, 15:58. Senn S, Gavini F, Magrez D, and Scheen A (2013) Issues in performing a network meta-analysis. Statistical Methods in Medical Research, 22 (2), 169-189.,, (2014). SAS 56

2016/7/20

Backup Files 2016/7/20

Q homogeneity consistency 1 1 1 1 1 1 1 59

Windows R CRAN R https://cran.ism.ac.jp/bin/windows/base/ http://cran.ism.ac.jp/bin/windows/base/ http://ftp.yz.yamagata-u.ac.jp/pub/cran/bin/windows/base/ R-3.2.5.exe 60

Windows R OK (N) > 61

Windows R 1. Message translations 2. PC SAS 64-bit 64-bit Files 32-bit Files 32-bit Files (N) > 62

Windows R SDI 63

Windows R (N) > 64

Windows R R or 65

Windows R R R install.packages("netmeta", dep=t) Japan (Tokyo) OK R 66

Windows R C temp R R.exe C: Program Files R R-3.2.5 bin i386 %MYNETMETA %macro MYNETMETA(dataset =, sm = MD, level = 0.95, reference =, seq =, small = good, path = C:/temp) ; options noxwait xsync ; %let Rexepath='C: Program Files R R-3.2.5 bin i386 R.exe' ; 67