{"id":861,"date":"2020-05-29T17:24:14","date_gmt":"2020-05-29T08:24:14","guid":{"rendered":"https:\/\/info.zanet.biz\/?p=861"},"modified":"2020-05-29T21:10:22","modified_gmt":"2020-05-29T12:10:22","slug":"mac%e3%81%a7r-jags-rjags%e3%82%92%e4%bd%bf%e3%81%86network-meta-analysis%e3%82%92%e3%82%84%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b","status":"publish","type":"post","link":"https:\/\/info.zanet.biz\/?p=861","title":{"rendered":"Mac\u3067R, JAGS, rjags\u3092\u4f7f\u3046Network meta-analysis\u3092\u3084\u3063\u3066\u307f\u308b"},"content":{"rendered":"\n<p>R\u306f\u30d5\u30ea\u30fc\u306e\u7d71\u8a08\u89e3\u6790\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u304a\u3088\u3073\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u3059\u304c\u3001\u4eca\u306f\u76f8\u5f53\u666e\u53ca\u3057\u3066\u3044\u3066\u3001\u30a2\u30ab\u30c7\u30df\u30a2\u3067\u3082\u3001\u4f7f\u3063\u3066\u3044\u308b\u4eba\u304c\u5927\u52e2\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u3002<a href=\"https:\/\/cran.r-project.org\/\">The Comprehensive R Archive <\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/cran.r-project.org\/\" target=\"_blank\">Network<\/a>\u3067\u306fWindows\u7248\u306e\u307f\u306a\u3089\u305aMac\u7248\u3001Linux\u7248\u304c\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u666e\u6bb5Windows10\u306e\u30ce\u30fc\u30c8PC\u3092\u4f7f\u3046\u3053\u3068\u304c\u591a\u3044\u306e\u3067\u3059\u304c\u3001\u5468\u308a\u306b\u306fMac\u3092\u4f7f\u3046\u4eba\u3082\u591a\u304f\u3001\u79c1\u81ea\u8eab\u3082\u4ee5\u524d\u306fMac\u3092\u4e3b\u306b\u4f7f\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u4eca\u3082\u6642\u3005iMac\u3092\u4f7f\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3057\u3070\u3089\u304fMac\u3067R\u3092\u4f7f\u3046\u3053\u3068\u306f\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u4eca\u65e5\u306fMac\u3067R\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u3055\u3089\u306bXQuartz\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001Bayesian\u63a8\u5b9a\u306b\u4f7f\u308f\u308c\u308b<a rel=\"noreferrer noopener\" href=\"http:\/\/mcmc-jags.sourceforge.net\/\" target=\"_blank\">JAGS<\/a> (Just Another Gibbs Sampler)\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001R\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3042\u308b<a rel=\"noreferrer noopener\" href=\"https:\/\/cran.r-project.org\/web\/packages\/rjags\/index.html\" target=\"_blank\">rjags<\/a>\u3068<a rel=\"noreferrer noopener\" href=\"https:\/\/cran.r-project.org\/web\/packages\/gemtc\/index.html\" target=\"_blank\">gemtc<\/a>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u52d5\u304b\u3057\u3066\u898b\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>Network meta-analysis\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30e1\u30bf\u30a2\u30ca\u30ea\u30b7\u30b9\u306b\u306f\u3059\u3067\u306b\u7d39\u4ecb\u3057\u305f\u3053\u3068\u306e\u3042\u308b\u3001OpenBUGS\u304c\u4f7f\u308f\u308c\u308b\u4e8b\u304c\u591a\u3044\u306e\u3067\u3059\u304c\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30e1\u30bf\u30a2\u30ca\u30ea\u30b7\u30b9\u7528\u306eR\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3042\u308bgemtc\u3068pcnetmeta\u306fR\u304b\u3089rjags\u3092\u4ecb\u3057\u3066JAGS\u3092\u52d5\u304b\u3057\u3066Markov Chain Monte Carlo (MCMC) simulation\u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002gemtc\u306f\u30b3\u30f3\u30c8\u30e9\u30b9\u30c8\u30d9\u30fc\u30b9contrast-based\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30e1\u30bf\u30a2\u30ca\u30ea\u30b7\u30b9\u3001pcnetmeta\u306f\u30a2\u30fc\u30e0\u30d9\u30fc\u30b9arm-based\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30e1\u30bf\u30a2\u30ca\u30ea\u30b7\u30b9\u304c\u3067\u304d\u308bR\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n\n\n\n<p>rjags\u3068JAGS\u3092\u4f7f\u3046\u4e8b\u3067\u3001Windows\u3060\u3051\u3067\u306a\u304fMac\u3067\u3082\u540c\u3058\u3088\u3046\u306b\u30c7\u30fc\u30bf\u89e3\u6790\u304c\u3067\u304d\u308b\u3068\u3044\u3046\u306e\u304c\u6700\u5927\u306e\u5229\u70b9\u3060\u308d\u3046\u3068\u601d\u3044\u307e\u3059\u3002<a rel=\"noreferrer noopener\" href=\"http:\/\/www.openbugs.net\/w\/FrontPage\" target=\"_blank\">OpenBUGS<\/a>\u306f\u3082\u3068\u3082\u3068WinBUGS\u3068\u547c\u3070\u308c\u3066\u3044\u305f\u3082\u306e\u3067\u3001Windows\u3067\u3057\u304b\u52d5\u304d\u307e\u305b\u3093\u304c\u3001JAGS\u306f\u540c\u3058\u30b3\u30fc\u30c9\u304cMac\u3067\u3082Windows\u3067\u3082\u52d5\u304f\u306e\u3067\u3001Mac\u306e\u5229\u7528\u8005\u306e\u3053\u3068\u3092\u8003\u3048\u3066\u3053\u306e\u3088\u3046\u306a\u9078\u629e\u306b\u306a\u3063\u305f\u306e\u3060\u308d\u3046\u3068\u601d\u3044\u307e\u3059\u3002Windows\u3067\u3042\u308c\u3070\u3001R\u304b\u3089OpenBUGS\u3092\u52d5\u304b\u3057\u3066\u30c7\u30fc\u30bf\u306e\u3084\u308a\u53d6\u308a\u3092\u3059\u308b\u306b\u306f<a rel=\"noreferrer noopener\" href=\"https:\/\/cran.r-project.org\/web\/packages\/BRugs\/\" target=\"_blank\">BRugs<\/a>\u3068\u3044\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>Mac\u7528\u306eR\u306fR-4.0.0.pkg\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u306f4.0.0\u306b\u306a\u3063\u3066\u3044\u307e\u3059(2020.5.22\u6642\u70b9)\u3002CRAN\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u304b\u3089\u5de6\u30b5\u30a4\u30c9\u30d0\u30fc\u306eMirrors\u3092\u958b\u304d\u3001Japan\u306e\u30b5\u30a4\u30c8\u306e\u3044\u305a\u308c\u304b\u3092<a rel=\"noreferrer noopener\" href=\"https:\/\/cran.ism.ac.jp\/\" target=\"_blank\">\u9078\u3073\u307e\u3059<\/a>\u3002Download R for (Mac) OS X\u306e\u30da\u30fc\u30b8\u3092\u958b\u304d\u3001R-4.0.0.pkg\u3092\u30c0\u30a6\u30f3\u30c9\u30fc\u30c9\u3057\u3066\u4ed6\u306eMac\u7528\u30bd\u30d5\u30c8\u3068\u540c\u3058\u3088\u3046\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u7d9a\u3044\u3066\u3001\u540c\u3058\u30da\u30fc\u30b8\u306b\u3042\u308bXQuartz\u306e<a rel=\"noreferrer noopener\" href=\"https:\/\/www.xquartz.org\/\" target=\"_blank\">\u30ea\u30f3\u30af<\/a>\u3092\u958b\u304d\u3001XQuartz-2.7.22.dmg\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>JAGS\u306f\u4e0a\u8a18\u306e<a rel=\"noreferrer noopener\" href=\"http:\/\/mcmc-jags.sourceforge.net\/\" target=\"_blank\">\u30ea\u30f3\u30af<\/a>\u3092\u958b\u3044\u3066\u3001Downloads\u306e\u9805\u306efiles page\u306e\u30ea\u30f3\u30af\u3092\u958b\u304d\u3001JAGS\u306e\u30ea\u30f3\u30af\u3092\u958b\u304d\u30014.x\u3092\u958b\u304d\u3001MacOS\u3092\u958b\u3044\u3066\u3001JAGS-4.4.0.dmg\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002JAGS\u306fR\u3068\u306f\u72ec\u7acb\u3057\u305f\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3067\u5f8c\u306fR\u3092\u8d77\u52d5\u3057\u3066\u3001R\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3067\u3042\u308brjags\u3068gemtc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u500b\u5225\u306b\u3001\u81ea\u5206\u3067R\u306e&#8221;\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u30c7\u30fc\u30bf&#8221;\u30e1\u30cb\u30e5\u30fc \u304b\u3089&#8221;\u30d1\u30c3\u30b1\u30fc\u30b8\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9&#8221;\u3092\u9078\u3093\u3067\u3001\u305d\u3053\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3057\u3001\u4ee5\u4e0b\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092R\u306e\u30d5\u30a1\u30a4\u30eb\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u65b0\u898f\u6587\u66f8\u3067\u958b\u304b\u308c\u308b\u30a8\u30c7\u30a3\u30bf\u306b\u8cbc\u308a\u4ed8\u3051\u3066\u5b9f\u884c\uff08command+return)\u3059\u308b\u3053\u3068\u3067\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u4e8b\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u884c\u306b\u30ab\u30fc\u30bd\u30eb\u3092\u7f6e\u3044\u3066command+return\u3067\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002\uff08Windows\u3060\u3068ctrl+r\u307e\u305f\u306f\u5b9f\u884c\u30dc\u30bf\u30f3\uff09\u3002packneed=c(   )\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u3092\u5909\u66f4\u3059\u308b\u4e8b\u3067\u4ed6\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u3082\u4f7f\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"has-background has-light-gray-background-color\">packneed=c(&#8220;gemtc&#8221;,&#8221;rjags&#8221;);current=installed.packages();addpack=setdiff(packneed,rownames(current));url=&#8221;https:\/\/cran.ism.ac.jp\/&#8221;;if(length(addpack)&gt;0){install.packages(addpack,repos=url)};if(length(addpack)==0){print(&#8220;Already installed.&#8221;)}<\/p>\n\n\n\n<p>\u3053\u3053\u3067\u306f<a rel=\"noreferrer noopener\" href=\"https:\/\/stat.zanet.biz\/useRs\/\" target=\"_blank\">useRs<\/a>\u3067\u79c1\u304c\u7d39\u4ecb\u3057\u3066\u3044\u308bgemtc\u3092\u52d5\u304b\u3059\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u305f\u7d50\u679c\u3092\u793a\u3057\u307e\u3059\u3002&#8221;#4. GeMTC\u3092\u7528\u3044\u308b\u30d9\u30a4\u30b8\u30a2\u30f3\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30e1\u30bf\u30a2\u30ca\u30ea\u30b7\u30b9&#8221;\u306eScript\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u51fa\u3066\u304f\u308b\u30d0\u30fc\u306eD\uff1a\u306e\u53f3\u306e\u56db\u89d2\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u5185\u5bb9\u304c\u30b3\u30d4\u30fc\u3055\u308c\u308b\u306e\u3067\u3001Excel\u3092\u958b\u3044\u3066\u8cbc\u308a\u4ed8\u3051\u3001\u30c7\u30fc\u30bf\u3092\u78ba\u8a8d\u3057\u3066\u4e0b\u3055\u3044\u3002\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u306e\u5f62\u5f0f\u3067\u30c7\u30fc\u30bf\u3092\u7528\u610f\u3059\u308c\u3070\u3001\uff08\u4e0a\u304c\u4e8c\u5024\u5909\u6570\u3001\u4e0b\u304c\u9023\u7d9a\u5909\u6570\u306e\u30c7\u30fc\u30bf\u30b5\u30f3\u30d7\u30eb\u3067\u3059\uff09\u3002\u4e8c\u5024\u5909\u6570\u30a2\u30a6\u30c8\u30ab\u30e0\u3067\u3082\u9023\u7d9a\u5909\u6570\u30a2\u30a6\u30c8\u30ab\u30e0\u3067\u3082\u3069\u3061\u3089\u3082\u89e3\u6790\u53ef\u80fd\u3067\u3059\u3002\u52b9\u679c\u6307\u6a19\u306e\u5024\u304c\u5c0f\u3055\u3044\u307b\u3046\u304c\u671b\u307e\u3057\u3044\u5834\u5408\u306f\u3001\u4e0a\u306e#4-1\u306eScript\u3001\u5024\u304c\u5927\u304d\u3044\u65b9\u304c\u671b\u307e\u3057\u3044\u5834\u5408\u306f\u3001\u4e0b\u306e#4-2\u306eScript\u3092\u4f7f\u3044\u307e\u3059\u3002W:\u304cWindows\u7528\u3001M:\u304cMac\u7528\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-16.56.05-1024x618.png\" alt=\"\" class=\"wp-image-862\" width=\"768\" height=\"464\" srcset=\"https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-16.56.05-1024x618.png 1024w, https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-16.56.05-300x181.png 300w, https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-16.56.05-768x464.png 768w, https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-16.56.05-1536x927.png 1536w, https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-16.56.05-2048x1236.png 2048w, https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-16.56.05-1200x724.png 1200w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/figure>\n\n\n\n<p>\u3053\u306e\u4f8b\u306f\u9023\u7d9a\u5909\u6570\u306e\u30a2\u30a6\u30c8\u30ab\u30e0\u3067\u3001\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u3092\u7528\u3044\u3066\u3044\u307e\u3059\u3002Node-splitting\u30e2\u30c7\u30eb\u306e\u30d7\u30ed\u30c3\u30c8\u3082\u51fa\u529b\u3059\u308b\u306e\u3067\u3001\u76f4\u63a5\u6bd4\u8f03\u3068\u9593\u63a5\u6bd4\u8f03\u306e\u52b9\u679c\u63a8\u5b9a\u5024\u306e\u30a4\u30f3\u30b3\u30d2\u30ec\u30f3\u30b9incoherence\u306e\u8a55\u4fa1\u304c\u3084\u308a\u3084\u3059\u304f\u306a\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-17.00.15.png\" alt=\"\" class=\"wp-image-863\" width=\"750\" height=\"185\" srcset=\"https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-17.00.15.png 1000w, https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-17.00.15-300x74.png 300w, https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-17.00.15-768x190.png 768w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/figure>\n\n\n\n<p>\u81ea\u5206\u3067\u30c7\u30fc\u30bf\u3092\u7528\u610f\u3059\u308b\u3068\u304d\u306f\u3001Excel\u3067\u540c\u3058\u5f62\u5f0f\u3067\u7528\u610f\u3057\u3001\u30c7\u30fc\u30bf\u7bc4\u56f2\u3092\u9078\u629e\u3057\uff08\u3053\u306e\u4f8b\u3067\u306f\u30bb\u30ebA1\u304b\u3089M11\uff09\u3001\u30b3\u30d4\u30fc\u64cd\u4f5c\u3092\u3057\u3066\u304b\u3089\u3001R\u306b\u623b\u308a\u4ee5\u4e0b\u306e\u3044\u305a\u308c\u304b\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\uff08\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u4e0a\u306b\u30ab\u30fc\u30bd\u30eb\u3092\u7f6e\u3044\u3066\u3001command+enter\u3092\u62bc\u3059\uff09\u3002\u4e0a\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u5024\u304c\u5c0f\u3055\u3044\u65b9\u304c\u671b\u307e\u3057\u3044\u52b9\u679c\u6307\u6a19\u306e\u5834\u5408\u3001\u4e0b\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u5024\u304c\u5927\u304d\u3044\u65b9\u304c\u671b\u307e\u3057\u3044\u52b9\u679c\u6307\u6a19\u306e\u5834\u5408\u3067\u3059\u3002\u3053\u308c\u3089\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306fuseRs\u3067Script\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u51fa\u3066\u304f\u308b\u30d0\u30fc\u306eM:\u306e\u53f3\u306e\u56db\u89d2\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u307e\u3059\u3002\uff08Windows\u306e\u5834\u5408\u306fW:\u306e\u53f3\u306e\u56db\u89d2\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\uff09\u3002<\/p>\n\n\n\n<p class=\"has-background has-light-gray-background-color\">exdat=read.delim(pipe(&#8220;pbpaste&#8221;),sep=&#8221;\\t&#8221;,header=TRUE);source(&#8220;http:\/\/zanet.biz\/med\/stat\/ma\/nma_gemtc_simpleL.R&#8221;)<\/p>\n\n\n\n<p class=\"has-background has-light-gray-background-color\">exdat=read.delim(pipe(&#8220;pbpaste&#8221;),sep=&#8221;\\t&#8221;,header=TRUE);source(&#8220;http:\/\/zanet.biz\/med\/stat\/ma\/nma_gemtc_simpleH.R&#8221;)<\/p>\n\n\n\n<p>\u3053\u308c\u3089\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306f\u3001\u79c1\u304c\u5229\u7528\u3057\u3066\u3044\u308b\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u306b\u7f6e\u3044\u3066\u3042\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u3092source( )\u95a2\u6570\u3067\u8aad\u307f\u8fbc\u3093\u3067\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u305f\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066\u3001\u30c7\u30fc\u30bf\u51e6\u7406\u3001\u89e3\u6790\u304c\u884c\u308f\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u306fhttp\u30d7\u30ed\u30c8\u30b3\u30fc\u30eb\u3067\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3092\u4ecb\u3057\u3066\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u3001\u305d\u306e\u307e\u307eR\u3067\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002R\u306f\u81ea\u5206\u306ePC\u306b\u7f6e\u304b\u308c\u3066\u3044\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u3060\u3051\u3067\u306a\u304f\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3092\u4ecb\u3057\u5225\u306e\u30b5\u30fc\u30d0\u30fc\u306b\u7f6e\u304b\u308c\u3066\u3044\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3067\u304d\u308b\u4ed5\u7d44\u307f\u304c\u3042\u308a\u3001\u307e\u305f\u30c7\u30fc\u30bf\u3082\u305d\u306e\u3088\u3046\u306a\u4ed5\u7d44\u307f\u3067\u53d6\u308a\u6271\u3048\u3001\u9060\u9694\u3067\u306e\u5171\u540c\u4f5c\u696d\u304c\u3084\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u70b9\u304c\u7d20\u6674\u3089\u3057\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6700\u5f8c\u306b\u3001\u4e8c\u5024\u5909\u6570\u306e\u30a2\u30a6\u30c8\u30ab\u30e0\u306e\u5834\u5408\u306e\u30c7\u30fc\u30bf\u30b5\u30f3\u30d7\u30eb\u3068\u305d\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b0\u30e9\u30d5\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-17.22.50.png\" alt=\"\" class=\"wp-image-864\" width=\"587\" height=\"397\" srcset=\"https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-17.22.50.png 783w, https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-17.22.50-300x203.png 300w, https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-17.22.50-768x519.png 768w\" sizes=\"auto, (max-width: 587px) 85vw, 587px\" \/><\/figure>\n\n\n\n<p>\u89e3\u6790\u30c7\u30fc\u30bf\u306f1\u884c\u306b\u4e00\u3064\u306e\u784f\u7a76\u306e\u30c7\u30fc\u30bf\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u30c7\u30fc\u30bf\u306e\u5185t[,1], t[,2], t[,3]\u306b\u306f\u6cbb\u7642\u756a\u53f7\u306e\u30c7\u30fc\u30bf\u304c\u5165\u529b\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u6cbb\u7642\u756a\u53f71\u304c\u53c2\u7167\u6cbb\u7642comparator\u306b\u306a\u308a\u307e\u3059\u3002\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u3001\u30ab\u30e9\u30e0\u3084\u884c\u3092\u5897\u3084\u3057\u3066\u4f7f\u3046\u4e8b\u304c\u3067\u304d\u307e\u3059na[]\u306f\u6cbb\u7642\u30a2\u30fc\u30e0\u6570\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4e0a\u306e\u4f8b\u3067\u306f\u30012\u884c\u76ee\u30683\u884c\u76ee\u306e\u7814\u7a76\u306f3\u30a2\u30fc\u30e0\u3067\u540c\u6642\u306b\uff13\u3064\u306e\u6cbb\u7642\u304c\u6bd4\u8f03\u3055\u308c\u305f\u30e9\u30f3\u30c0\u30e0\u5316\u6bd4\u8f03\u8a66\u9a13\u3067\u3059\u3002\u305d\u308c\u4ee5\u5916\u306e\u7814\u7a76\u306f2\u30a2\u30fc\u30e0\u306a\u306e\u3067t[,3]\u306fNA\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u884c3,\u3068\u884c22\u306e2\u3064\u306e\u7814\u7a76\u306f\u6cbb\u76422\u30683\u3092\u76f4\u63a5\u6bd4\u8f03\u3057\u305f\u7814\u7a76\u3067\u3059\u3002\u6cbb\u76422\u30683\u3092\u6cbb\u76421\u3092\u4ecb\u3057\u3066\u9593\u63a5\u6bd4\u8f03\u3067\u304d\u308b\u7814\u7a76\u306f\u6cbb\u76421\u30683\u3092\u76f4\u63a5\u6bd4\u8f03\u3057\u305f\u884c2, 4\u301c10, 13\u301c15, 18\u301c21\u306e15\u7814\u7a76\u3068\u6cbb\u76421\u3068\u6cbb\u76422\u3092\u76f4\u63a5\u6bd4\u8f03\u3057\u305f\u884c11,12,17\u306e3\u7814\u7a76\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u6cbb\u76421\u30682\u306e\u76f4\u63a5\u6bd4\u8f03\u3068\u6cbb\u76422\u30683\u306e\u76f4\u63a5\u6bd4\u8f03\u304b\u3089\u5f97\u3089\u308c\u308b\u52b9\u679c\u63a8\u5b9a\u5024\u3092\u5dee\u3092\u6c42\u3081\u308b\u3053\u3068\u3067\u3001\u6cbb\u76422\u30683\u306e\u9593\u63a5\u6bd4\u8f03\u306e\u52b9\u679c\u63a8\u5b9a\u5024\u304c\u5f97\u3089\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u308c\u3089\u76f4\u63a5\u6bd4\u8f03\u306e\u52b9\u679c\u63a8\u5b9a\u5024\u3068\u9593\u63a5\u6bd4\u8f03\u306e\u52b9\u679c\u63a8\u5b9a\u5024\u306e\u4e00\u81f4\u306e\u7a0b\u5ea6\u3092\u8a55\u4fa1\u3059\u308b\u4e8b\u304c\u5fc5\u8981\u306b\u306a\u308b\u306e\u3067\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30e1\u30bf\u30a2\u30ca\u30ea\u30b7\u30b9\u306b\u57fa\u3065\u304f\u30a8\u30d3\u30c7\u30f3\u30b9\u306e\u78ba\u5b9f\u6027\u306e\u8a55\u4fa1\u306f\u4f5c\u696d\u91cf\u304c\u591a\u304f\u306a\u308a\u5927\u5909\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-18.02.29-1.png\" alt=\"\" class=\"wp-image-869\" width=\"572\" height=\"584\" srcset=\"https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-18.02.29-1.png 762w, https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-18.02.29-1-293x300.png 293w\" sizes=\"auto, (max-width: 572px) 85vw, 572px\" \/><\/figure>\n\n\n\n<p>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b0\u30e9\u30d5\u3067\u9589\u3058\u3089\u308c\u305f\u30eb\u30fc\u30d7\u304c\u3042\u308b\u3068\u3001\u76f4\u63a5\u6bd4\u8f03\u306e\u52b9\u679c\u63a8\u5b9a\u5024\u3060\u3051\u3067\u306a\u304f\u9593\u63a5\u6bd4\u8f03\u306e\u52b9\u679c\u63a8\u5b9a\u5024\u304c\u5f97\u3089\u308c\u308b\u4e8b\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u3053\u306e\u4f8b\u3067\u306f\u30012\u30683\u3092\u7d50\u3076\u7dda\u3088\u308a\u30013\u30681\u3092\u7d50\u3076\u7dda\u304c\u592a\u304f\u3001\u305d\u3053\u306b\u591a\u304f\u306e\u7814\u7a76\u304c\u3042\u308b\u4e8b\u304c\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\uff12\u30681\u3092\u7d50\u3076\u7dda\u3082\u3042\u308b\u306e\u3067\u30012\u30683\u3092\u6bd4\u8f03\u3059\u308b\u9593\u63a5\u6bd4\u8f03\u306e\u30c7\u30fc\u30bf\u304c\u5f97\u3089\u308c\u30012\u30683\u3092\u6bd4\u8f03\u3059\u308b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u52b9\u679c\u63a8\u5b9a\u5024\u306b\u306f\u9593\u63a5\u6bd4\u8f03\u306e\u30c7\u30fc\u30bf\u304c\u304b\u306a\u308a\u5f71\u97ff\u3059\u308b\u3067\u3042\u308d\u3046\u3068\u8003\u3048\u3089\u308c\u307e\u3059\u3002\u5b9f\u969b\u3001Node-splitting\u30e2\u30c7\u30eb\u306e\u30d7\u30ed\u30c3\u30c8\u3092\u898b\u308b\u3068\u30013 vs 2\u306enetwork estimate\u306findirect\u306eestimate\u306e\u5f71\u97ff\u3067\u3001\u30aa\u30c3\u30ba\u6bd4\u304c0.93 (0.22-3.9)\u304b\u30891.4 (0.63-3.3)\u3068\u5927\u304d\u306a\u5024\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-18.29.09.png\" alt=\"\" class=\"wp-image-870\" width=\"569\" height=\"584\" srcset=\"https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-18.29.09.png 758w, https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-18.29.09-292x300.png 292w\" sizes=\"auto, (max-width: 569px) 85vw, 569px\" \/><\/figure>\n\n\n\n<p>\u306a\u304a\u3001\u3053\u306e\u89e3\u6790\u7d50\u679c\u306f#4-1\u306e\u30c7\u30fc\u30bf\u3092#4-2\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u89e3\u6790\u3057\u305f\u3082\u306e\u3067\u3059\u3002\u3064\u307e\u308a\u3001\u30aa\u30c3\u30ba\u6bd4\u306e\u5024\u304c\u5927\u304d\u3044\u65b9\u304c\u671b\u307e\u3057\u3044\u7d50\u679c\u3067\u3059\u3002Rankogram\u3092\u898b\u308b\u3068\u3001\u6cbb\u76424\u304c\u6700\u3082\u6cbb\u7642\u52b9\u679c\u304c\u9ad8\u3044\u78ba\u7387\u304c\u6700\u3082\u9ad8\u3044\u4e8b\u304c\u8a00\u3048\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u4e0a\u306eNode-splitting\u30e2\u30c7\u30eb\u306e4 vs 3\u306e\u6bd4\u8f03\u3092\u898b\u308b\u3068\u3001\u9593\u63a5\u6bd4\u8f03\u306e\u70b9\u63a8\u5b9a\u5024\u304c\u304b\u306a\u308a\u5927\u304d\u304f\u3001\u76f4\u63a5\u6bd4\u8f03\u3068\u306e\u9593\u306e\u691c\u5b9a\u3067\u306fP=0.0819\u3067\u3059\u304c\u3001\u30d0\u30a4\u30a2\u30b9\u3001\u975e\u76f4\u63a5\u6027\u3001\u975e\u79fb\u884c\u6027intransitivity\u306a\u3069\u306b\u3088\u3063\u3066\u504f\u308a\u304c\u751f\u3058\u3066\u3044\u308b\u53ef\u80fd\u6027\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u8a00\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-18.31.50.png\" alt=\"\" class=\"wp-image-871\" width=\"567\" height=\"581\" srcset=\"https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-18.31.50.png 756w, https:\/\/info.zanet.biz\/wp\/wp-content\/uploads\/2020\/05\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2020-05-29-18.31.50-293x300.png 293w\" sizes=\"auto, (max-width: 567px) 85vw, 567px\" \/><\/figure>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30e1\u30bf\u30a2\u30ca\u30ea\u30b7\u30b9\u306b\u57fa\u3065\u304f\u30a8\u30d3\u30c7\u30f3\u30b9\u306e\u78ba\u5b9f\u6027\u306e\u8a55\u4fa1\u306f\u304b\u306a\u308a\u306e\u4f5c\u696d\u91cf\u304c\u5fc5\u8981\u3068\u306a\u308b\u4e8b\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304c\u3082\u3063\u3068\u5927\u304d\u304f\u3001\u8907\u96d1\u306b\u306a\u308b\u3068\u30da\u30a2\u6bd4\u8f03\u306e\u6570\u3082\u591a\u304f\u306a\u308a\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u69cb\u9020\u304c\u8907\u96d1\u306b\u306a\u308a\u3001\u9593\u63a5\u6bd4\u8f03\u3068\u76f4\u63a5\u6bd4\u8f03\u306e\u52b9\u679c\u63a8\u5b9a\u5024\u3092\u6bd4\u8f03\u3059\u308b\u4e8b\u3082\u5927\u5909\u306a\u4f5c\u696d\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>R\u306f\u30d5\u30ea\u30fc\u306e\u7d71\u8a08\u89e3\u6790\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u304a\u3088\u3073\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u3059\u304c\u3001\u4eca\u306f\u76f8\u5f53\u666e\u53ca\u3057\u3066\u3044\u3066\u3001\u30a2\u30ab\u30c7\u30df\u30a2\u3067\u3082\u3001\u4f7f\u3063\u3066\u3044\u308b\u4eba\u304c\u5927\u52e2\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u3002The Comprehensive R Archive Network\u3067\u306fWin &hellip; <a href=\"https:\/\/info.zanet.biz\/?p=861\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Mac\u3067R, JAGS, rjags\u3092\u4f7f\u3046Network meta-analysis\u3092\u3084\u3063\u3066\u307f\u308b&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,2],"tags":[],"class_list":["post-861","post","type-post","status-publish","format-standard","hentry","category-statistics","category-sr"],"_links":{"self":[{"href":"https:\/\/info.zanet.biz\/index.php?rest_route=\/wp\/v2\/posts\/861","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/info.zanet.biz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/info.zanet.biz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/info.zanet.biz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/info.zanet.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=861"}],"version-history":[{"count":6,"href":"https:\/\/info.zanet.biz\/index.php?rest_route=\/wp\/v2\/posts\/861\/revisions"}],"predecessor-version":[{"id":875,"href":"https:\/\/info.zanet.biz\/index.php?rest_route=\/wp\/v2\/posts\/861\/revisions\/875"}],"wp:attachment":[{"href":"https:\/\/info.zanet.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=861"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/info.zanet.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=861"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/info.zanet.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}