{"id":514,"date":"2018-08-16T22:13:49","date_gmt":"2018-08-16T13:13:49","guid":{"rendered":"https:\/\/best-biostatistics.com\/toukei-er\/entry\/multiple-comparison-by-using-non-parametric-test\/"},"modified":"2024-10-13T19:22:41","modified_gmt":"2024-10-13T10:22:41","slug":"multiple-comparison-by-using-non-parametric-test","status":"publish","type":"post","link":"https:\/\/best-biostatistics.com\/toukei-er\/entry\/multiple-comparison-by-using-non-parametric-test\/","title":{"rendered":"R \u3067\u30ce\u30f3\u30d1\u30e9\u30e1\u30c8\u30ea\u30c3\u30af\u691c\u5b9a\u306e\u591a\u91cd\u6bd4\u8f03\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"\n<p>\u30ce\u30f3\u30d1\u30e9\u30e1\u30c8\u30ea\u30c3\u30af\u306e\u591a\u91cd\u6bd4\u8f03\u3092R\u3067\u5b9f\u65bd\u3059\u308b\u65b9\u6cd5\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u30ce\u30f3\u30d1\u30e9\u30e1\u30c8\u30ea\u30c3\u30af\u3068\u306f\u4f55\u304b\">\u30ce\u30f3\u30d1\u30e9\u30e1\u30c8\u30ea\u30c3\u30af\u3068\u306f\u4f55\u304b\uff1f<\/h2>\n\n\n\n<p>\u30ce\u30f3\u30d1\u30e9\u30e1\u30c8\u30ea\u30c3\u30af\u3068\u306f\u30d1\u30e9\u30e1\u30c8\u30ea\u30c3\u30af\u3067\u306f\u306a\u3044\u3068\u3044\u3046\u610f\u5473\u3002<\/p>\n\n\n\n<p>\u30d1\u30e9\u30e1\u30c8\u30ea\u30c3\u30af\u3068\u306f\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u4f7f\u3046\u3068\u3044\u3046\u610f\u5473\u3060\u3002<\/p>\n\n\n\n<p>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3068\u306f\u3001\u65e5\u672c\u8a9e\u3067\u306f\u6bcd\u6570\uff08\u307c\u3059\u3046\uff09\u3068\u8a00\u308f\u308c\u3066\u3001\u6bcd\u96c6\u56e3\u3092\u8868\u3059\u6570\u5024\u3001\u4f8b\u3048\u3070\u6bcd\u5e73\u5747\u3001\u6bcd\u5206\u6563\u306a\u3069\u3092\u6307\u3059\u3002<\/p>\n\n\n\n<p>\u305f\u3068\u3048\u3070Tukey\u691c\u5b9a\u3084Dunnett\u691c\u5b9a\u306f\u3001\u6bcd\u5e73\u5747\u3001\u6bcd\u5206\u6563\u306e\u524d\u63d0\u306e\u4e0b\u3001\u5b9f\u65bd\u3055\u308c\u308b\u591a\u91cd\u6bd4\u8f03\u691c\u5b9a\u3060\u3002<\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2018\/08\/boxplot_example_warpbreak-300x300.png\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/best-biostatistics.com\/toukei-er\/entry\/how-to-do-tukey-test\/\">R \u3067\u30c1\u30e5\u30fc\u30ad\u30fc\u691c\u5b9a\u3092\u884c\u3046\u65b9\u6cd5<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Tukey HSD\u691c\u5b9a\u3092R\u3067\u884c\u3046\u65b9\u6cd5\u306e\u89e3\u8aac\u3002 Tukey HSD\u691c\u5b9a\u3092R\u3067\u884c\u3046\u65b9\u6cd5 aov()\u3068TukeyHSD()\u3068\u3044\u3046\u4e8c\u3064\u306e\u95a2\u6570\u3092\u4f7f\u3046\u3002 \u30c0\u30cd\u30c3\u30c8\u691c\u5b9a\u306e\u3068\u304d\u3068\u540c\u3058\u3088\u3046\u306b\u3001\u4f8b\u3068\u3057\u3066warpbreaks\u3068&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2018\/08\/boxplot_example_warpbreak-1-300x300.png\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/best-biostatistics.com\/toukei-er\/entry\/dunnett-test-in-r\/\">R \u3067\u30c0\u30cd\u30c3\u30c8\u691c\u5b9a\u3092\u884c\u3046\u65b9\u6cd5<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">\u30c0\u30cd\u30c3\u30c8\u691c\u5b9a\u306f\u3001\u6bd4\u8f03\u5bfe\u7167\u7fa4\u3068\u3044\u304f\u3064\u304b\u306e\u5b9f\u9a13\u7fa4\u3092\u591a\u91cd\u6bd4\u8f03\u3059\u308b\u65b9\u6cd5\u3002 R\u3067\u30c0\u30cd\u30c3\u30c8\u691c\u5b9a\u3092\u3059\u308b\u306b\u306f\u3069\u3046\u3057\u305f\u3089\u3088\u3044\u304b\uff1f R\u3067\u30c0\u30cd\u30c3\u30c8\u691c\u5b9a\u3092\u3059\u308b\u306b\u306f\uff1f \u307e\u305amultcomp\u30d1\u30c3\u30b1\u30fc&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\n<p>\u307e\u305f\u3001Welch\u306e\u65b9\u6cd5\u3067\u4e8c\u7fa4\u6bd4\u8f03\u3092\u7e70\u308a\u8fd4\u3057\u3066\u3001Bonferroni\u578b\u306ep\u5024\u8abf\u6574\u3092\u884c\u3046\u591a\u91cd\u6bd4\u8f03\u3082\u3001Welch\u306e\u65b9\u6cd5\u304c\u30d1\u30e9\u30e1\u30c8\u30ea\u30c3\u30af\u306a\u306e\u3067\u3001\u30d1\u30e9\u30e1\u30c8\u30ea\u30c3\u30af\u691c\u5b9a\u3060\u3002<\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2024\/08\/1920x1080-video-Excel-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/best-biostatistics.com\/toukei-er\/entry\/multiple-comparison-of-mean-with-bonferroni-type-adjustment-in-r\/\">R \u3067\u30dc\u30f3\u30d5\u30a7\u30ed\u30fc\u30cb\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">\u691c\u8a3c\u8a66\u9a13\u306b\u304a\u3044\u3066\u3001\u4e09\u7fa4\u4ee5\u4e0a\u306e\u5e73\u5747\u5024\u3092\u6bd4\u8f03\u3057\u305f\u3044\u3068\u304d\u306b\u3001\u5358\u7d14\u306b\u4e8c\u7fa4\u6bd4\u8f03\u3092\u7e70\u308a\u8fd4\u3059\u3068\u6709\u610f\u6c34\u6e96\u304c\u7518\u304f\u306a\u308b\u3002 \u6709\u610f\u6c34\u6e96\u306e\u8abf\u6574\u306b\u3088\u3063\u3066\u7c21\u5358\u306b\u51e6\u7406\u3059\u308b\u65b9\u6cd5\u304c\u30dc\u30f3\u30d5\u30a7\u30ed\u30fc\u30cb&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\n\n\n\n\n<p>\u6bcd\u5e73\u5747\u3001\u6bcd\u5206\u6563\u304c\u524d\u63d0\u3067\u306f\u306a\u3044\u65b9\u6cd5\u304c\u3001\u30ce\u30f3\u30d1\u30e9\u30e1\u30c8\u30ea\u30c3\u30af\u691c\u5b9a\u3060\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u30ce\u30f3\u30d1\u30e9\u30e1\u30c8\u30ea\u30c3\u30af\u306e\u591a\u91cd\u6bd4\u8f03\u3068\u306f\">\u30ce\u30f3\u30d1\u30e9\u30e1\u30c8\u30ea\u30c3\u30af\u306e\u591a\u91cd\u6bd4\u8f03\u3068\u306f\uff1f<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"\u4e00\u822c\u7684\u306a\u65b9\u6cd5\">\u4e00\u822c\u7684\u306a\u65b9\u6cd5<\/h3>\n\n\n\n<p>\u4e8c\u7fa4\u306e\u30ce\u30f3\u30d1\u30e9\u30e1\u30c8\u30ea\u30c3\u30af\u691c\u5b9a\u306e\u4ee3\u8868\u683c\u306f\u3001Wilcoxon \u30a6\u30a3\u30eb\u30b3\u30af\u30bd\u30f3\u9806\u4f4d\u548c\u691c\u5b9a\u3060\u3002<\/p>\n\n\n\n<p>Mann-Whitney \u30de\u30f3\u30fb\u30db\u30a4\u30c3\u30c8\u30cb\u30fc\u306eU\u691c\u5b9a\u3068\u3082\u8a00\u3046\u3002<\/p>\n\n\n\n<p>\u591a\u91cd\u6bd4\u8f03\u306f\u4e8c\u7fa4\u6bd4\u8f03\u3092\u7e70\u308a\u8fd4\u3057\u3001Bonferroni\u578b\u306ep\u5024\u8abf\u6574\u3092\u884c\u3046\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"Bonferroni\u578b\u306ep\u5024\u8abf\u6574\u3068\u306f\">Bonferroni\u578b\u306ep\u5024\u8abf\u6574\u3068\u306f\uff1f<\/h4>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2024\/08\/1920x1080-video-Excel-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/best-biostatistics.com\/toukei-er\/entry\/multiple-comparison-of-mean-with-bonferroni-type-adjustment-in-r\/\">R \u3067\u30dc\u30f3\u30d5\u30a7\u30ed\u30fc\u30cb\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">\u691c\u8a3c\u8a66\u9a13\u306b\u304a\u3044\u3066\u3001\u4e09\u7fa4\u4ee5\u4e0a\u306e\u5e73\u5747\u5024\u3092\u6bd4\u8f03\u3057\u305f\u3044\u3068\u304d\u306b\u3001\u5358\u7d14\u306b\u4e8c\u7fa4\u6bd4\u8f03\u3092\u7e70\u308a\u8fd4\u3059\u3068\u6709\u610f\u6c34\u6e96\u304c\u7518\u304f\u306a\u308b\u3002 \u6709\u610f\u6c34\u6e96\u306e\u8abf\u6574\u306b\u3088\u3063\u3066\u7c21\u5358\u306b\u51e6\u7406\u3059\u308b\u65b9\u6cd5\u304c\u30dc\u30f3\u30d5\u30a7\u30ed\u30fc\u30cb&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\n<p>R\u306b\u306f\u3001pairwise.wilcox.test()\u3068\u3044\u3046\u95a2\u6570\u304c\u6e96\u5099\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>\u305f\u3068\u3048\u3070\u3001warpbreaks\u3068\u3044\u3046\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u3066\u3001tension\u306e\u9ad8\u3055\u306b\u3088\u3063\u3066breaks\u306e\u6570\u306b\u9055\u3044\u304c\u3042\u308b\u304b\u691c\u5b9a\u3092\u3057\u3066\u307f\u308b\u3002<\/p>\n\n\n\n<p>warpbreaks\u306e\u8aac\u660e\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u53c2\u7167\uff08\u6587\u4e2d\u306b\u7c21\u5358\u306a\u8aac\u660e\u3042\u308a\uff09<\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/best-biostatistics.com\/toukei-er\/wp-content\/uploads\/2018\/08\/boxplot_example_warpbreak-1-300x300.png\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/best-biostatistics.com\/toukei-er\/entry\/dunnett-test-in-r\/\">R \u3067\u30c0\u30cd\u30c3\u30c8\u691c\u5b9a\u3092\u884c\u3046\u65b9\u6cd5<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">\u30c0\u30cd\u30c3\u30c8\u691c\u5b9a\u306f\u3001\u6bd4\u8f03\u5bfe\u7167\u7fa4\u3068\u3044\u304f\u3064\u304b\u306e\u5b9f\u9a13\u7fa4\u3092\u591a\u91cd\u6bd4\u8f03\u3059\u308b\u65b9\u6cd5\u3002 R\u3067\u30c0\u30cd\u30c3\u30c8\u691c\u5b9a\u3092\u3059\u308b\u306b\u306f\u3069\u3046\u3057\u305f\u3089\u3088\u3044\u304b\uff1f R\u3067\u30c0\u30cd\u30c3\u30c8\u691c\u5b9a\u3092\u3059\u308b\u306b\u306f\uff1f \u307e\u305amultcomp\u30d1\u30c3\u30b1\u30fc&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\n\n\n\n\n<p>Wilcoxon\u306e\u9806\u4f4d\u548c\u691c\u5b9a\u3092\u4e09\u56de\u7e70\u308a\u8fd4\u3057\u3001Holm\u306e\u65b9\u6cd5\u3067p\u5024\u3092\u8abf\u6574\u3057\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>\u7d50\u679c\u306e\u6700\u5f8c\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>\u540c\u9806\u4f4d\u304c\u3042\u3063\u3066\u6b63\u78ba\u306b\u8a08\u7b97\u3067\u304d\u3066\u3044\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u3060\u3002<\/p>\n\n\n\n<p>\u540c\u9806\u4f4d\u304c\u3042\u308b\u5834\u5408\u306f\u6b63\u78ba\u78ba\u7387\u6cd5\u304c\u671b\u307e\u3057\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><span class=\"synStatement\">><\/span> <span class=\"synIdentifier\">with<\/span><span class=\"synSpecial\">(<\/span>warpbreaks<span class=\"synSpecial\">,<\/span> <span class=\"synSpecial\">(<\/span><span class=\"synIdentifier\">pairwise.wilcox.test<\/span><span class=\"synSpecial\">(<\/span>breaks<span class=\"synSpecial\">,<\/span> tension<span class=\"synSpecial\">)))<\/span>\nPairwise comparisons using Wilcoxon rank sum test\ndata<span class=\"synSpecial\">:<\/span>  breaks and tension\n  L      M\nM <span class=\"synConstant\">0.1470<\/span> <span class=\"synStatement\">-<\/span>\nH <span class=\"synConstant\">0.0052<\/span> <span class=\"synConstant\">0.1470<\/span>\nP value adjustment method<span class=\"synSpecial\">:<\/span> holm\nWarning messages<span class=\"synSpecial\">:<\/span>\n<span class=\"synConstant\">1<\/span><span class=\"synSpecial\">:<\/span> In <span class=\"synIdentifier\">wilcox.test.default<\/span><span class=\"synSpecial\">(<\/span>xi<span class=\"synSpecial\">,<\/span> xj<span class=\"synSpecial\">,<\/span> paired <span class=\"synStatement\">=<\/span> paired<span class=\"synSpecial\">,<\/span> ...<span class=\"synSpecial\">)<\/span> <span class=\"synSpecial\">:<\/span>\ncannot compute exact p<span class=\"synStatement\">-<\/span>value with ties\n<span class=\"synConstant\">2<\/span><span class=\"synSpecial\">:<\/span> In <span class=\"synIdentifier\">wilcox.test.default<\/span><span class=\"synSpecial\">(<\/span>xi<span class=\"synSpecial\">,<\/span> xj<span class=\"synSpecial\">,<\/span> paired <span class=\"synStatement\">=<\/span> paired<span class=\"synSpecial\">,<\/span> ...<span class=\"synSpecial\">)<\/span> <span class=\"synSpecial\">:<\/span>\ncannot compute exact p<span class=\"synStatement\">-<\/span>value with ties\n<span class=\"synConstant\">3<\/span><span class=\"synSpecial\">:<\/span> In <span class=\"synIdentifier\">wilcox.test.default<\/span><span class=\"synSpecial\">(<\/span>xi<span class=\"synSpecial\">,<\/span> xj<span class=\"synSpecial\">,<\/span> paired <span class=\"synStatement\">=<\/span> paired<span class=\"synSpecial\">,<\/span> ...<span class=\"synSpecial\">)<\/span> <span class=\"synSpecial\">:<\/span>\ncannot compute exact p<span class=\"synStatement\">-<\/span>value with ties\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"\u6b63\u78ba\u78ba\u7387\u3092\u7528\u3044\u305f\u65b9\u6cd5\">\u6b63\u78ba\u78ba\u7387\u3092\u7528\u3044\u305f\u65b9\u6cd5<\/h3>\n\n\n\n<p>\u540c\u9806\u4f4d\u304c\u3042\u308b\u5834\u5408\u306e\u4e0d\u6b63\u78ba\u3055\u3092\u4e57\u308a\u8d8a\u3048\u308b\u305f\u3081\u306b\u3001\u6b63\u78ba\u78ba\u7387\u691c\u5b9a Exact Test\u3092\u7528\u3044\u308b\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001Exact Test\u306f\u3001\u7b49\u5206\u6563\u6027\u3092\u4eee\u5b9a\u3057\u306a\u304f\u3066\u3082\u3044\u3044\u306e\u3067\u9069\u5fdc\u7bc4\u56f2\u304c\u5e83\u304f\u3001\u305d\u306e\u70b9\u3067\u3082\u3088\u308a\u9069\u5207\u306a\u65b9\u6cd5\u3060\u3002<\/p>\n\n\n\n<p>Wilcoxon Exact Test\u306f\u3001coin\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001wilcox_test()\u3068\u3044\u3046\u95a2\u6570\u3067\u5b9f\u65bd\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u6700\u521d\u306e\u4e00\u56de\u3060\u3051\u3060\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><span class=\"synIdentifier\">install.packages<\/span><span class=\"synSpecial\">(<\/span><span class=\"synConstant\">\"coin\"<\/span><span class=\"synSpecial\">)<\/span>\n<\/code><\/pre>\n\n\n\n<p>\u8ffd\u52a0\u3057\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001\u4f7f\u3046\u6642\u306b\u547c\u3073\u51fa\u3059\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><span class=\"synPreProc\">library<\/span><span class=\"synSpecial\">(<\/span>coin<span class=\"synSpecial\">)<\/span>\n<\/code><\/pre>\n\n\n\n<p>pairwise.wilcox.test()\u306e\u3088\u3046\u306b\u81ea\u52d5\u3067\u5168\u30da\u30a2\u3092\u8a08\u7b97\u3057\u3066\u304f\u308c\u306a\u3044\u306e\u3067\u3001\u624b\u52d5\u3067\u4e09\u56de\u691c\u5b9a\u3092\u884c\u3046\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n\n\n\n<p>warpbreaks\u304b\u3089\u3001tension\u306eH\u629c\u304d\u3001L\u629c\u304d\u3001M\u629c\u304d\u306e\u4e09\u3064\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4f5c\u308a\u3001\u305d\u308c\u305e\u308cwilcox_coin()\u3067\u691c\u5b9a\u3059\u308b\u3002<\/p>\n\n\n\n<p>distribution=&#8221;exact&#8221;\u304c\u6b63\u78ba\u78ba\u7387\u691c\u5b9a\u306e\u6307\u5b9a\u3060\u3002<\/p>\n\n\n\n<p>\u7d50\u679c\u306f\u3001<\/p>\n\n\n\n<p>L\u3068H\uff1a p = 0.001147<\/p>\n\n\n\n<p>L\u3068M\uff1ap = 0.07194<\/p>\n\n\n\n<p>M\u3068H\uff1ap = 0.08857<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><span class=\"synStatement\">&gt;<\/span> warpbreaks.LM <span class=\"synStatement\">&lt;-<\/span> <span class=\"synIdentifier\">subset<\/span><span class=\"synSpecial\">(<\/span>warpbreaks<span class=\"synSpecial\">,<\/span> warpbreaks<span class=\"synSpecial\">$<\/span>tension<span class=\"synStatement\">!=<\/span><span class=\"synConstant\">\"H\"<\/span><span class=\"synSpecial\">)<\/span>\n<span class=\"synStatement\">&gt;<\/span> warpbreaks.MH <span class=\"synStatement\">&lt;-<\/span> <span class=\"synIdentifier\">subset<\/span><span class=\"synSpecial\">(<\/span>warpbreaks<span class=\"synSpecial\">,<\/span> warpbreaks<span class=\"synSpecial\">$<\/span>tension<span class=\"synStatement\">!=<\/span><span class=\"synConstant\">\"L\"<\/span><span class=\"synSpecial\">)<\/span>\n<span class=\"synStatement\">&gt;<\/span> warpbreaks.HL <span class=\"synStatement\">&lt;-<\/span> <span class=\"synIdentifier\">subset<\/span><span class=\"synSpecial\">(<\/span>warpbreaks<span class=\"synSpecial\">,<\/span> warpbreaks<span class=\"synSpecial\">$<\/span>tension<span class=\"synStatement\">!=<\/span><span class=\"synConstant\">\"M\"<\/span><span class=\"synSpecial\">)<\/span>\n<span class=\"synStatement\">&gt;<\/span> <span class=\"synIdentifier\">wilcox_test<\/span><span class=\"synSpecial\">(<\/span>breaks<span class=\"synStatement\">~<\/span>tension<span class=\"synSpecial\">,<\/span> data<span class=\"synStatement\">=<\/span>warpbreaks.LM<span class=\"synSpecial\">,<\/span> distribution<span class=\"synStatement\">=<\/span><span class=\"synConstant\">\"exact\"<\/span><span class=\"synSpecial\">)<\/span>\nExact Wilcoxon<span class=\"synStatement\">-<\/span>Mann<span class=\"synStatement\">-<\/span>Whitney Test\ndata<span class=\"synSpecial\">:<\/span>  breaks by <span class=\"synIdentifier\">tension <\/span><span class=\"synSpecial\">(<\/span>L<span class=\"synSpecial\">,<\/span> M<span class=\"synSpecial\">)<\/span>\nZ <span class=\"synStatement\">=<\/span> <span class=\"synConstant\">1.8056<\/span><span class=\"synSpecial\">,<\/span> p<span class=\"synStatement\">-<\/span>value <span class=\"synStatement\">=<\/span> <span class=\"synConstant\">0.07194<\/span>\nalternative hypothesis<span class=\"synSpecial\">:<\/span> true mu is not equal to <span class=\"synConstant\">0<\/span>\n<span class=\"synStatement\">&gt;<\/span> <span class=\"synIdentifier\">wilcox_test<\/span><span class=\"synSpecial\">(<\/span>breaks<span class=\"synStatement\">~<\/span>tension<span class=\"synSpecial\">,<\/span> data<span class=\"synStatement\">=<\/span>warpbreaks.MH<span class=\"synSpecial\">,<\/span> distribution<span class=\"synStatement\">=<\/span><span class=\"synConstant\">\"exact\"<\/span><span class=\"synSpecial\">)<\/span>\nExact Wilcoxon<span class=\"synStatement\">-<\/span>Mann<span class=\"synStatement\">-<\/span>Whitney Test\ndata<span class=\"synSpecial\">:<\/span>  breaks by <span class=\"synIdentifier\">tension <\/span><span class=\"synSpecial\">(<\/span>M<span class=\"synSpecial\">,<\/span> H<span class=\"synSpecial\">)<\/span>\nZ <span class=\"synStatement\">=<\/span> <span class=\"synConstant\">1.7117<\/span><span class=\"synSpecial\">,<\/span> p<span class=\"synStatement\">-<\/span>value <span class=\"synStatement\">=<\/span> <span class=\"synConstant\">0.08857<\/span>\nalternative hypothesis<span class=\"synSpecial\">:<\/span> true mu is not equal to <span class=\"synConstant\">0<\/span>\n<span class=\"synStatement\">&gt;<\/span> <span class=\"synIdentifier\">wilcox_test<\/span><span class=\"synSpecial\">(<\/span>breaks<span class=\"synStatement\">~<\/span>tension<span class=\"synSpecial\">,<\/span> data<span class=\"synStatement\">=<\/span>warpbreaks.HL<span class=\"synSpecial\">,<\/span> distribution<span class=\"synStatement\">=<\/span><span class=\"synConstant\">\"exact\"<\/span><span class=\"synSpecial\">)<\/span>\nExact Wilcoxon<span class=\"synStatement\">-<\/span>Mann<span class=\"synStatement\">-<\/span>Whitney Test\ndata<span class=\"synSpecial\">:<\/span>  breaks by <span class=\"synIdentifier\">tension <\/span><span class=\"synSpecial\">(<\/span>L<span class=\"synSpecial\">,<\/span> H<span class=\"synSpecial\">)<\/span>\nZ <span class=\"synStatement\">=<\/span> <span class=\"synConstant\">3.1507<\/span><span class=\"synSpecial\">,<\/span> p<span class=\"synStatement\">-<\/span>value <span class=\"synStatement\">=<\/span> <span class=\"synConstant\">0.001147<\/span>\nalternative hypothesis<span class=\"synSpecial\">:<\/span> true mu is not equal to <span class=\"synConstant\">0<\/span>\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Holm\u3068Hochberg\u306e\u65b9\u6cd5\u3067\u8abf\u6574\u3059\u308b\u3068\">Holm\u3068Hochberg\u306e\u65b9\u6cd5\u3067\u8abf\u6574\u3059\u308b\u3068\uff1f<\/h3>\n\n\n\n<p>\u7d50\u8ad6\u3068\u3057\u3066\u3001L\u3068H\u3060\u3051\u304c\u7d71\u8a08\u5b66\u7684\u6709\u610f\u306b\u7570\u306a\u308b\u3068\u3044\u3046\u7d50\u679c\u3060\u3002<\/p>\n\n\n\n<p>\u4e0b\u8868\u306e\u9ec4\u8272\u30cf\u30a4\u30e9\u30a4\u30c8\u306e\u90e8\u5206\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"Holm\u306e\u65b9\u6cd5\">Holm\u306e\u65b9\u6cd5<\/h4>\n\n\n\n<p>Holm\u306e\u65b9\u6cd5\u306f\u3001\u4e09\u3064\u306ep\u5024\u306e\u3046\u3061\u3082\u3063\u3068\u3082\u5c0f\u3055\u3044p\u5024\u304b\u3089\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3044\u304f\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306e\u3088\u3046\u306b\u4e09\u30da\u30a2\u3042\u308b\u306a\u3089\u3001\u3082\u3063\u3068\u3082\u5c0f\u3055\u3044p\u5024\u30923\u500d\u3057\u30660.05\u3068\u6bd4\u8f03\u3059\u308b\u3002<\/p>\n\n\n\n<p>0.05\u3088\u308a\u5c0f\u3055\u3044\u306e\u3067\u3001\u7b2c\u4e00\u6bb5\u968e\u7a81\u7834\uff01<\/p>\n\n\n\n<p>\u6b21\u306b\u5927\u304d\u3044L\u3068M\u306ep\u5024\u306e\u30c1\u30a7\u30c3\u30af\u306b\u79fb\u308b\u3002<\/p>\n\n\n\n<p>L\u3068M\u306ep\u5024\u306f2\u500d\u3057\u30660.05\u3068\u6bd4\u8f03\u3059\u308b\u3002<\/p>\n\n\n\n<p>0.05\u3088\u308a\u5927\u304d\u304f\u3044\u306e\u3067\u3001\u3053\u3053\u3067\u30c1\u30a7\u30c3\u30af\u7d42\u4e86\u3002<\/p>\n\n\n\n<p>Holm\u306e\u65b9\u6cd5\u3067\u306f\u3001L\u3068H\u30da\u30a2\u306e\u307f\u7d71\u8a08\u5b66\u7684\u6709\u610f\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"Hochberg\u306e\u65b9\u6cd5\">Hochberg\u306e\u65b9\u6cd5<\/h4>\n\n\n\n<p>Hochberg\u306e\u65b9\u6cd5\u306f\u3001\u3082\u3063\u3068\u3082\u5927\u304d\u3044p\u5024\u304b\u3089\u30c1\u30a7\u30c3\u30af\u958b\u59cb\u3002<\/p>\n\n\n\n<p>\u3082\u3063\u3068\u3082\u5927\u304d\u3044p\u5024\u30680.05\u3092\u6bd4\u8f03\u3059\u308b\u3002<\/p>\n\n\n\n<p>0.05\u3088\u308a\u5927\u304d\u3044\u306e\u3067\u3001\u6b21\u306b\u79fb\u308b\u3002<\/p>\n\n\n\n<p>\u6b21\u306b\u5927\u304d\u3044p\u5024\u30922\u500d\u3057\u30660.05\u3068\u6bd4\u8f03\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u30820.05\u3088\u308a\u5927\u304d\u3044\u306e\u3067\u3001\u3082\u3063\u3068\u3082\u5c0f\u3055\u3044p\u5024\u306b\u79fb\u308b\u3002<\/p>\n\n\n\n<p>\u3082\u3063\u3068\u3082\u5c0f\u3055\u3044p\u5024\u30923\u500d\u3057\u30660.05\u3068\u6bd4\u8f03\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u306f0.05\u3088\u308a\u5c0f\u3055\u3044\u306e\u3067\u3001\u3053\u306e\u30da\u30a2\u306f\u7d71\u8a08\u5b66\u7684\u6709\u610f\u306b\u7570\u306a\u308b\u3068\u3044\u3048\u308b\u3002<\/p>\n\n\n\n<p>\u3082\u3057\u3001\u3082\u3063\u3068\u5c0f\u3055\u3044p\u5024\u306e\u30da\u30a2\u304c\u3042\u308b\u5834\u5408\u3001\u3082\u3063\u3068\u5c0f\u3055\u3044p\u5024\u306f\u30c1\u30a7\u30c3\u30af\u306a\u3057\u3067\u7d71\u8a08\u5b66\u7684\u6709\u610f\u306b\u306a\u308b\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u304cHochberg\u306e\u65b9\u6cd5\u3060\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u3001\u7d50\u679c\u3068\u3057\u3066Holm\u3082Hochberg\u3082\u540c\u3058\u3060\u3063\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u30da\u30a2<\/th><th>\u8abf\u6574\u306a\u3057<\/th><th>Holm<\/th><th>Hochberg<\/th><\/tr><\/thead><tbody><tr><td>L\u3068H<\/td><td>0.001147<\/td><td>(1) \\begin{array}{lcl} 0.00147 \\times 3 \\\\ = 0.003441 \\\\ \\lt 0.05 \\end{array}<\/td><td>(3) \\begin{array}{lcl} 0.001147 \\times 3 \\\\ = 0.003441 \\\\ \\lt 0.05 \\end{array}<\/td><\/tr><tr><td>L\u3068M<\/td><td>0.07194<\/td><td>(2)  \\begin{array}{lcl} 0.07194 \\times 2 \\\\ = 0.14388 \\\\ \\gt 0.05 \\end{array}<\/td><td>(2) \\begin{array}{lcl} 0.07194 \\times 2 \\\\ = 0.14388 \\\\ \\gt 0.05 \\end{array}<\/td><\/tr><tr><td>M\u3068H<\/td><td>0.08857<\/td><td><\/td><td>(1) \\begin{array}{lcl} 0.08857 \\times 1 \\\\ = 0.08857 \\\\ \\gt 0.05 \\end{array}<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<div id=\"biost-1822096000\" class=\"biost- biost-entity-placement\"><p style=\"text-align: center;\"><span style=\"font-size: 20px;\"><strong><a href=\"https:\/\/best-biostatistics.com\/kmhl\">\uff1e\uff1e\u3082\u3046\u7d71\u8a08\u3067\u60a9\u3080\u306e\u306f\u7d42\u308f\u308a\u306b\u3057\u307e\u305b\u3093\u304b\uff1f\u00a0<\/a><\/strong><\/span><\/p>\r\n<a href=\"https:\/\/best-biostatistics.com\/kmhl\"><img class=\"aligncenter wp-image-2794 size-full\" src=\"https:\/\/best-biostatistics.com\/wp\/wp-content\/uploads\/2023\/11\/bn_r_03.png\" alt=\"\" width=\"500\" height=\"327\" \/><\/a>\r\n<p style=\"text-align: center;\"><span style=\"color: #ff0000; font-size: 20px;\"><strong><span class=\"marker2\">\u21911\u4e07\u4eba\u4ee5\u4e0a\u306e\u533b\u7642\u5f93\u4e8b\u8005\u304c\u8cfc\u8aad\u4e2d<\/span><\/strong><\/span><\/p><\/div><h2 class=\"wp-block-heading\" id=\"\u307e\u3068\u3081\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u6e2c\u5b9a\u5024\u306e\u3088\u3046\u306a\u6570\u5024\u30c7\u30fc\u30bf\u3067\u3001\u4e09\u7fa4\u4ee5\u4e0a\u3092\u591a\u91cd\u6bd4\u8f03\u3057\u305f\u3044\u5834\u5408\u3001\u30c7\u30fc\u30bf\u304c\u6b63\u898f\u5206\u5e03\u3057\u3066\u3044\u308b\u304b\u4e0d\u660e\u306a\u3089\u3001\u30ce\u30f3\u30d1\u30e9\u30e1\u30c8\u30ea\u30c3\u30af\u691c\u5b9a\u3092\u4f7f\u3046\u3068\u3088\u3044\u3002<\/p>\n\n\n\n<p>\u9069\u5207\u306a\u65b9\u6cd5\u306fWilcoxon Exact Test\u3092\u7e70\u308a\u8fd4\u3057\u3066\u884c\u3044\u3001Bonferroni\u578b\u306ep\u5024\u8abf\u6574\u3092\u884c\u3046\u65b9\u6cd5\u3060\u3002<\/p>\n\n\n\n<p>p\u5024\u8abf\u6574\u6cd5\u306f\u3001Holm\u304bHochberg\u304c\u304a\u3059\u3059\u3081\u3060\u304c\u3001\u691c\u51fa\u529b\u306e\u9ad8\u3044Hochberg\u306e\u65b9\u6cd5\u304c\u3088\u308a\u304a\u3059\u3059\u3081\u3060\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30ce\u30f3\u30d1\u30e9\u30e1\u30c8\u30ea\u30c3\u30af\u306e\u591a\u91cd\u6bd4\u8f03\u3092R\u3067\u5b9f\u65bd\u3059\u308b\u65b9\u6cd5\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5,19,49],"tags":[],"class_list":["post-514","post","type-post","status-publish","format-standard","hentry","category-r","category-19","category-49"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/posts\/514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/comments?post=514"}],"version-history":[{"count":10,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/posts\/514\/revisions"}],"predecessor-version":[{"id":2820,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/posts\/514\/revisions\/2820"}],"wp:attachment":[{"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/media?parent=514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/categories?post=514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/tags?post=514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}