{"id":4201,"date":"2025-07-11T17:03:07","date_gmt":"2025-07-11T08:03:07","guid":{"rendered":"https:\/\/best-biostatistics.com\/toukei-er\/?p=4201"},"modified":"2025-07-11T17:03:08","modified_gmt":"2025-07-11T08:03:08","slug":"bootstrap-factor-analysis-exploring-more-robust-factor-structures","status":"publish","type":"post","link":"https:\/\/best-biostatistics.com\/toukei-er\/entry\/bootstrap-factor-analysis-exploring-more-robust-factor-structures\/","title":{"rendered":"\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u56e0\u5b50\u5206\u6790\uff1a\u3088\u308a\u30ed\u30d0\u30b9\u30c8\u306a\u56e0\u5b50\u69cb\u9020\u3092\u63a2\u308b"},"content":{"rendered":"\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u7d71\u8a08\u5206\u6790\u306f\u5965\u6df1\u304f\u3001\u6642\u306b\u306f\u7d50\u679c\u306e\u4fe1\u983c\u6027\u306b\u7591\u554f\u3092\u62b1\u304f\u3053\u3068\u3082\u3042\u308b\u3002\u7279\u306b\u3001\u5fc3\u7406\u5b66\u3084\u793e\u4f1a\u79d1\u5b66\u306e\u5206\u91ce\u3067\u5e83\u304f\u7528\u3044\u3089\u308c\u308b\u56e0\u5b50\u5206\u6790\u306f\u3001\u305d\u306e\u6027\u8cea\u4e0a\u3001\u30b5\u30f3\u30d7\u30eb\u306e\u5909\u52d5\u306b\u5f71\u97ff\u3092\u53d7\u3051\u3084\u3059\u3044\u3068\u3044\u3046\u5074\u9762\u3092\u6301\u3064\u3002\u3057\u304b\u3057\u3001\u3082\u3057\u305d\u306e\u5f71\u97ff\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u3001\u3088\u308a\u5b89\u5b9a\u3057\u305f\u3001\u4fe1\u983c\u6027\u306e\u9ad8\u3044\u56e0\u5b50\u69cb\u9020\u3092\u5c0e\u304d\u51fa\u3059\u65b9\u6cd5\u304c\u3042\u308b\u3068\u3057\u305f\u3089\u3069\u3046\u3060\u308d\u3046\u304b\uff1f \u672c\u8a18\u4e8b\u3067\u306f\u3001\u305d\u306e\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3067\u3042\u308b\u300c<strong>\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u56e0\u5b50\u5206\u6790<\/strong>\u300d\u306b\u7126\u70b9\u3092\u5f53\u3066\u3001\u305d\u306e\u6982\u8981\u304b\u3089\u5177\u4f53\u7684\u306a\u4f7f\u3044\u65b9\u3001R\u3092\u7528\u3044\u305f\u8a08\u7b97\u4f8b\u307e\u3067\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3059\u308b\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u56e0\u5b50\u5206\u6790\u306e\u6982\u8981<\/h2>\n\n\n\n<p>\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u56e0\u5b50\u5206\u6790\u306f\u3001\u7d71\u8a08\u7684\u63a8\u8ad6\u624b\u6cd5\u306e\u4e00\u3064\u3067\u3042\u308b<strong>\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u6cd5\u3092\u56e0\u5b50\u5206\u6790\u306b\u5fdc\u7528<\/strong>\u3057\u305f\u3082\u306e\u3067\u3042\u308b\u3002\u901a\u5e38\u306e\u56e0\u5b50\u5206\u6790\u304c\u5358\u4e00\u306e\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u306b\u57fa\u3065\u3044\u3066\u56e0\u5b50\u69cb\u9020\u3092\u63a8\u5b9a\u3059\u308b\u306e\u306b\u5bfe\u3057\u3001\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u56e0\u5b50\u5206\u6790\u3067\u306f\u3001\u5143\u306e\u30c7\u30fc\u30bf\u304b\u3089\u7e70\u308a\u8fd4\u3057\uff08\u901a\u5e38\u306f\u6570\u5343\u56de\uff09\u518d\u6a19\u672c\u5316\uff08\u30ea\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\uff09\u3092\u884c\u3044\u3001\u305d\u308c\u305e\u308c\u306e\u518d\u6a19\u672c\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066\u56e0\u5b50\u5206\u6790\u3092\u5b9f\u884c\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u7e70\u308a\u8fd4\u3057\u5206\u6790\u306b\u3088\u3063\u3066\u5f97\u3089\u308c\u308b\u591a\u6570\u306e\u56e0\u5b50\u69cb\u9020\u306e\u7d50\u679c\u3092\u7d71\u5408\u3059\u308b\u3053\u3068\u3067\u3001\u4ee5\u4e0b\u306e\u5229\u70b9\u304c\u5f97\u3089\u308c\u308b\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u56e0\u5b50\u69cb\u9020\u306e\u5b89\u5b9a\u6027\u8a55\u4fa1:<\/strong> \u5404\u518d\u6a19\u672c\u30c7\u30fc\u30bf\u304b\u3089\u5f97\u3089\u308c\u308b\u56e0\u5b50\u8ca0\u8377\u91cf\u3084\u56fa\u6709\u5024\u306e\u3070\u3089\u3064\u304d\u3092\u898b\u308b\u3053\u3068\u3067\u3001\u63a8\u5b9a\u3055\u308c\u305f\u56e0\u5b50\u69cb\u9020\u304c\u3069\u306e\u7a0b\u5ea6\u5b89\u5b9a\u3057\u3066\u3044\u308b\u304b\u3092\u8a55\u4fa1\u3067\u304d\u308b\u3002<\/li>\n\n\n\n<li><strong>\u4fe1\u983c\u533a\u9593\u306e\u63a8\u5b9a:<\/strong> \u56e0\u5b50\u8ca0\u8377\u91cf\u3084\u56fa\u6709\u5024\u306a\u3069\u3001\u5404\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u4fe1\u983c\u533a\u9593\u3092\u63a8\u5b9a\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3042\u308b\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u63a8\u5b9a\u5024\u306e\u4e0d\u78ba\u5b9f\u6027\u3092\u5b9a\u91cf\u7684\u306b\u793a\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/li>\n\n\n\n<li><strong>\u30b5\u30f3\u30d7\u30eb\u5909\u52d5\u3078\u306e\u30ed\u30d0\u30b9\u30c8\u6027:<\/strong> \u7279\u5b9a\u306e\u30b5\u30f3\u30d7\u30eb\u306b\u904e\u5ea6\u306b\u4f9d\u5b58\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u3088\u308a\u666e\u904d\u7684\u306a\u56e0\u5b50\u69cb\u9020\u3092\u5c0e\u304d\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u7279\u306b\u3001\u30b5\u30f3\u30d7\u30eb\u30b5\u30a4\u30ba\u304c\u5c0f\u3055\u3044\u5834\u5408\u3084\u3001\u30c7\u30fc\u30bf\u306b\u5916\u308c\u5024\u304c\u542b\u307e\u308c\u308b\u5834\u5408\u306b\u6709\u52b9\u3067\u3042\u308b\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u56e0\u5b50\u5206\u6790\u306e\u4f7f\u3044\u6240<\/h2>\n\n\n\n<p>\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u56e0\u5b50\u5206\u6790\u306f\u3001\u4ee5\u4e0b\u306e\u72b6\u6cc1\u3067\u7279\u306b\u305d\u306e\u5a01\u529b\u3092\u767a\u63ee\u3059\u308b\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u56e0\u5b50\u69cb\u9020\u306e\u9811\u5065\u6027\u3092\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408:<\/strong> \u5f93\u6765\u306e\u56e0\u5b50\u5206\u6790\u3067\u5f97\u3089\u308c\u305f\u56e0\u5b50\u69cb\u9020\u304c\u3001\u4ed6\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u3082\u540c\u69d8\u306b\u518d\u73fe\u3055\u308c\u308b\u304b\u3092\u78ba\u8a8d\u3057\u305f\u3044\u6642\u3002<\/li>\n\n\n\n<li><strong>\u5c0f\u898f\u6a21\u306a\u30b5\u30f3\u30d7\u30eb\u3067\u56e0\u5b50\u5206\u6790\u3092\u884c\u3046\u5834\u5408:<\/strong> \u30b5\u30f3\u30d7\u30eb\u30b5\u30a4\u30ba\u304c\u5c0f\u3055\u3044\u3068\u3001\u56e0\u5b50\u5206\u6790\u306e\u7d50\u679c\u304c\u4e0d\u5b89\u5b9a\u306b\u306a\u308a\u304c\u3061\u3067\u3042\u308b\u3002\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u56e0\u5b50\u5206\u6790\u306f\u3001\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u306b\u63a8\u5b9a\u306e\u4fe1\u983c\u6027\u3092\u9ad8\u3081\u308b\u306e\u306b\u5f79\u7acb\u3064\u3002<\/li>\n\n\n\n<li><strong>\u56e0\u5b50\u8ca0\u8377\u91cf\u3084\u5171\u901a\u6027\u306a\u3069\u306e\u4fe1\u983c\u533a\u9593\u3092\u63a8\u5b9a\u3057\u305f\u3044\u5834\u5408:<\/strong> \u63a8\u5b9a\u3055\u308c\u305f\u56e0\u5b50\u8ca0\u8377\u91cf\u3084\u5171\u901a\u6027\u304c\u3069\u306e\u7a0b\u5ea6\u306e\u7bc4\u56f2\u3067\u5909\u52d5\u3057\u3046\u308b\u306e\u304b\u3001\u305d\u306e\u4e0d\u78ba\u5b9f\u6027\u3092\u5b9a\u91cf\u7684\u306b\u793a\u3057\u305f\u3044\u6642\u3002<\/li>\n\n\n\n<li><strong>\u7814\u7a76\u306e\u518d\u73fe\u6027\u3092\u9ad8\u3081\u305f\u3044\u5834\u5408:<\/strong> \u5206\u6790\u7d50\u679c\u304c\u7279\u5b9a\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u4f9d\u5b58\u3057\u306a\u3044\u3053\u3068\u3092\u793a\u3057\u3001\u7814\u7a76\u306e\u4fe1\u983c\u6027\u3068\u518d\u73fe\u6027\u3092\u5411\u4e0a\u3055\u305b\u305f\u3044\u6642\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div id=\"biost-300893867\" 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\">\u5177\u4f53\u4f8b\u3068 R \u306e\u8a08\u7b97\u4f8b<\/h2>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u3001\u67b6\u7a7a\u306e\u5fc3\u7406\u5c3a\u5ea6\u30c7\u30fc\u30bf\u3092\u7528\u3044\u3066\u3001R\u3067\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u56e0\u5b50\u5206\u6790\u3092\u5b9f\u884c\u3059\u308b\u4f8b\u3092\u793a\u3059\u3002<\/p>\n\n\n\n<p><strong>\u30b7\u30ca\u30ea\u30aa:<\/strong> \u3042\u308b\u5fc3\u7406\u5b66\u8005\u304c\u30015\u3064\u306e\u9805\u76ee\u304b\u3089\u306a\u308b\u300c\u30b9\u30c8\u30ec\u30b9\u5c3a\u5ea6\u300d\u3092\u4f5c\u6210\u3057\u3001\u56e0\u5b50\u5206\u6790\u3092\u7528\u3044\u3066\u305d\u306e\u6f5c\u5728\u7684\u306a\u69cb\u9020\u3092\u660e\u3089\u304b\u306b\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p><strong>R\u3067\u306e\u8a08\u7b97\u4f8b:<\/strong><\/p>\n\n\n\n<p>\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u56e0\u5b50\u5206\u6790\u306b\u306f<code>psych<\/code>\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u4fbf\u5229\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff08\u521d\u56de\u306e\u307f\uff09\n# install.packages(\"psych\")\n# install.packages(\"boot\") # \u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u5168\u822c\u306b\u4f7f\u3048\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\n\n# \u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u8aad\u307f\u8fbc\u307f\nlibrary(psych)\nlibrary(boot)\n\n# \u67b6\u7a7a\u306e\u30c7\u30fc\u30bf\u4f5c\u6210\nset.seed(123) # \u518d\u73fe\u6027\u306e\u305f\u3081\u306e\u30b7\u30fc\u30c9\u8a2d\u5b9a\ndata &lt;- data.frame(\n    item1 = round(rnorm(100, 30, 10)),\n    item2 = round(rnorm(100, 32, 9)),\n    item3 = round(rnorm(100, 28, 11)),\n    item4 = round(rnorm(100, 40, 12)),\n    item5 = round(rnorm(100, 38, 10))\n)\n\n# \u56e0\u5b50\u5206\u6790\u3092\u884c\u3046\u95a2\u6570\u3092\u5b9a\u7fa9\nfa_func &lt;- function(data, indices) {\n    d &lt;- data&#91;indices, ]\n    # \u56e0\u5b50\u6570\u3092\u4eee\u306b2\u3068\u3059\u308b\uff08\u30b9\u30af\u30ea\u30fc\u30d7\u30ed\u30c3\u30c8\u7b49\u3067\u4e8b\u524d\u306b\u6c7a\u5b9a\u3059\u308b\u306e\u304c\u671b\u307e\u3057\u3044\uff09\n    fit &lt;- fa(d, nfactors = 2, rotate = \"varimax\", fm = \"minres\")\n    # \u56e0\u5b50\u8ca0\u8377\u91cf\u3092\u884c\u30d9\u30af\u30c8\u30eb\u3068\u3057\u3066\u8fd4\u3059\n    return(as.vector(fit$loadings))\n}\n\n# \u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u306e\u5b9f\u884c\n# R\u306eboot::boot\u95a2\u6570\u3092\u4f7f\u7528\n# R=1000\u306f\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u306e\u7e70\u308a\u8fd4\u3057\u56de\u6570\n# \u5b9f\u969b\u306e\u5206\u6790\u3067\u306f\u30012000\u56de\u4ee5\u4e0a\u304c\u63a8\u5968\u3055\u308c\u308b\u3002\nboot_results &lt;- boot(data = data, statistic = fa_func, R = 1000)\n\n# \u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u7d50\u679c\u306e\u78ba\u8a8d\uff08\u4e00\u90e8\u306e\u307f\u8868\u793a\uff09\nprint(boot_results)\n\n# \u56e0\u5b50\u8ca0\u8377\u91cf\u306e\u4fe1\u983c\u533a\u9593\u3092\u8a08\u7b97\u3059\u308b\u4f8b\uff08\u9805\u76ee1\u306e\u7b2c1\u56e0\u5b50\u8ca0\u8377\u91cf\uff09\n# boot.ci\u95a2\u6570\u3067\u4fe1\u983c\u533a\u9593\u3092\u8a08\u7b97\n# type=\"perc\"\u306f\u30d1\u30fc\u30bb\u30f3\u30bf\u30a4\u30eb\u6cd5\nboot.ci(boot_results, index = 1, type = \"perc\") # index\u306f\u56e0\u5b50\u8ca0\u8377\u91cf\u306e\u30d9\u30af\u30c8\u30eb\u5185\u306e\u4f4d\u7f6e\n\n# \u3059\u3079\u3066\u306e\u56e0\u5b50\u8ca0\u8377\u91cf\u306e\u4fe1\u983c\u533a\u9593\u3092\u8a08\u7b97\n# 5\u9805\u76ee \u00d7 2\u56e0\u5b50 = 10\u500b\u306e\u56e0\u5b50\u8ca0\u8377\u91cf\ncat(\"\\n=== \u3059\u3079\u3066\u306e\u56e0\u5b50\u8ca0\u8377\u91cf\u306e95%\u4fe1\u983c\u533a\u9593 ===\\n\")\nfor (i in 1:10) {\n    ci_result &lt;- boot.ci(boot_results, index = i, type = \"perc\")\n    cat(sprintf(\n        \"\u56e0\u5b50\u8ca0\u8377\u91cf %d: (%.4f, %.4f)\\n\",\n        i, ci_result$percent&#91;4], ci_result$percent&#91;5]\n    ))\n}<\/code><\/pre>\n\n\n\n<p><strong>\u30b3\u30fc\u30c9\u306e\u8aac\u660e:<\/strong><\/p>\n\n\n\n<ul start=\"1\" class=\"wp-block-list\">\n<li><strong>\u30c7\u30fc\u30bf\u4f5c\u6210:<\/strong> 5\u3064\u306e\u9805\u76ee\u304b\u3089\u306a\u308b\u67b6\u7a7a\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3002<\/li>\n\n\n\n<li><strong><code>fa_func<\/code>\u95a2\u6570\u306e\u5b9a\u7fa9:<\/strong> <code>boot<\/code>\u95a2\u6570\u306b\u6e21\u3059\u305f\u3081\u306e\u95a2\u6570\u3067\u3042\u308b\u3002\u3053\u306e\u95a2\u6570\u306f\u3001\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u306b\u3088\u3063\u3066\u9078\u629e\u3055\u308c\u305f\u30c7\u30fc\u30bf\uff08<code>d<\/code>\uff09\u306b\u5bfe\u3057\u3066<strong>\u56e0\u5b50\u5206\u6790<\/strong>\u3092\u5b9f\u884c\u3057\u3001\u305d\u306e\u7d50\u679c\u3068\u3057\u3066\u5f97\u3089\u308c\u308b<strong>\u56e0\u5b50\u8ca0\u8377\u91cf<\/strong>\u3092\u30d9\u30af\u30c8\u30eb\u5f62\u5f0f\u3067\u8fd4\u3059\u3002<code>nfactors<\/code>\u3067\u56e0\u5b50\u6570\u3092\u6307\u5b9a\u3059\u308b\u304c\u3001\u3053\u308c\u306f\u4e8b\u524d\u306b\u4ed6\u306e\u65b9\u6cd5\uff08\u4f8b\uff1a\u30b9\u30af\u30ea\u30fc\u30d7\u30ed\u30c3\u30c8\u3001\u5e73\u884c\u5206\u6790\uff09\u3067\u6c7a\u5b9a\u3057\u3066\u304a\u304f\u3053\u3068\u304c\u4e00\u822c\u7684\u3067\u3042\u308b\u3002<code>rotate<\/code>\u306f\u56e0\u5b50\u56de\u8ee2\u6cd5\u3001<code>fm<\/code>\u306f\u56e0\u5b50\u62bd\u51fa\u6cd5\u3067\u3042\u308b\u3002<\/li>\n\n\n\n<li><strong><code>boot<\/code>\u95a2\u6570\u306e\u5b9f\u884c:<\/strong>\n<ul class=\"wp-block-list\">\n<li><code>data<\/code>: \u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u3092\u884c\u3046\u5143\u306e\u30c7\u30fc\u30bf\u3002<\/li>\n\n\n\n<li><code>statistic<\/code>: \u4e0a\u3067\u5b9a\u7fa9\u3057\u305f<code>fa_func<\/code>\u3002<\/li>\n\n\n\n<li><code>R<\/code>: \u30ea\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u306e\u56de\u6570\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong><code>boot.ci<\/code>\u95a2\u6570\u306e\u5b9f\u884c:<\/strong> <code>boot<\/code>\u95a2\u6570\u306e\u7d50\u679c\u304b\u3089\u3001\u7279\u5b9a\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\uff08\u3053\u306e\u5834\u5408\u306f\u9805\u76ee1\u306e\u7b2c1\u56e0\u5b50\u8ca0\u8377\u91cf\uff09\u306e\u4fe1\u983c\u533a\u9593\u3092\u8a08\u7b97\u3059\u308b\u3002<code>index<\/code>\u306f<code>fa_func<\/code>\u304c\u8fd4\u3057\u305f\u30d9\u30af\u30c8\u30eb\u306e\u4e2d\u3067\u306e\u4f4d\u7f6e\u3092\u793a\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>\u5b9f\u884c\u7d50\u679c\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>> # \u3059\u3079\u3066\u306e\u56e0\u5b50\u8ca0\u8377\u91cf\u306e\u4fe1\u983c\u533a\u9593\u3092\u8a08\u7b97\n> # 5\u9805\u76ee \u00d7 2\u56e0\u5b50 = 10\u500b\u306e\u56e0\u5b50\u8ca0\u8377\u91cf\n> cat(\"\\n=== \u3059\u3079\u3066\u306e\u56e0\u5b50\u8ca0\u8377\u91cf\u306e95%\u4fe1\u983c\u533a\u9593 ===\\n\")\n\n=== \u3059\u3079\u3066\u306e\u56e0\u5b50\u8ca0\u8377\u91cf\u306e95%\u4fe1\u983c\u533a\u9593 ===\n> for (i in 1:10) {\n+     ci_result &lt;- boot.ci(boot_results, index = i, type = \"perc\")\n+     cat(sprintf(\n+         \"\u56e0\u5b50\u8ca0\u8377\u91cf %d: (%.4f, %.4f)\\n\",\n+         i, ci_result$percent&#91;4], ci_result$percent&#91;5]\n+     ))\n+ }\n\u56e0\u5b50\u8ca0\u8377\u91cf 1: (-0.5242, 0.9987)\n\u56e0\u5b50\u8ca0\u8377\u91cf 2: (-0.3203, 0.9969)\n\u56e0\u5b50\u8ca0\u8377\u91cf 3: (-0.3746, 0.9980)\n\u56e0\u5b50\u8ca0\u8377\u91cf 4: (-0.2605, 0.9969)\n\u56e0\u5b50\u8ca0\u8377\u91cf 5: (-0.5194, 0.9993)\n\u56e0\u5b50\u8ca0\u8377\u91cf 6: (-0.5959, 0.9798)\n\u56e0\u5b50\u8ca0\u8377\u91cf 7: (-0.3917, 0.9954)\n\u56e0\u5b50\u8ca0\u8377\u91cf 8: (-0.3917, 0.9952)\n\u56e0\u5b50\u8ca0\u8377\u91cf 9: (-0.3565, 0.9733)\n\u56e0\u5b50\u8ca0\u8377\u91cf 10: (-0.5540, 0.9822)<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u7d50\u679c\u89e3\u91c8<\/h3>\n\n\n\n<p>\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u56e0\u5b50\u5206\u6790\u306e\u7d50\u679c\u306f\u3001\u4e3b\u306b\u4ee5\u4e0b\u306e\u70b9\u306b\u6ce8\u76ee\u3057\u3066\u89e3\u91c8\u3059\u308b\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u56e0\u5b50\u8ca0\u8377\u91cf\u306e\u4fe1\u983c\u533a\u9593:<\/strong> <code>boot.ci<\/code>\u95a2\u6570\u3092\u7528\u3044\u3066\u8a08\u7b97\u3055\u308c\u308b\u4fe1\u983c\u533a\u9593\u306f\u3001\u771f\u306e\u56e0\u5b50\u8ca0\u8377\u91cf\u304c\u3053\u306e\u533a\u9593\u5185\u306b\u5b58\u5728\u3059\u308b\u78ba\u7387\u304c\u9ad8\u3044\u3053\u3068\u3092\u793a\u3059\u3002\u4f8b\u3048\u3070\u56e0\u5b50\u8ca0\u8377\u91cf1\uff08\u7b2c\u4e00\u56e0\u5b50\u306e\u8cea\u554f1\u306e\u56e0\u5b50\u8ca0\u8377\u91cf\uff09\u306e 95%\u4fe1\u983c\u533a\u9593\u304c$[-0.5242, 0.9987]$\u3067\u3042\u308c\u3070\u3001\u771f\u306e\u8ca0\u8377\u91cf\u304c\u3053\u306e\u7bc4\u56f2\u306b\u3042\u308b\u306895%\u306e\u78ba\u4fe1\u5ea6\u3067\u8a00\u3048\u308b\u308f\u3051\u3067\u3042\u308b\u3002\u4fe1\u983c\u533a\u9593\u304c\u30bc\u30ed\u3092\u542b\u307e\u306a\u3044\u5834\u5408\u3001\u305d\u306e\u56e0\u5b50\u8ca0\u8377\u91cf\u306f\u7d71\u8a08\u7684\u306b\u6709\u610f\u3067\u3042\u308b\u3068\u5224\u65ad\u3067\u304d\u308b\u3002<\/li>\n\n\n\n<li><strong>\u56e0\u5b50\u306e\u69cb\u9020:<\/strong> \u7e70\u308a\u8fd4\u3057\u5f97\u3089\u308c\u305f\u56e0\u5b50\u69cb\u9020\u5168\u4f53\u3092\u898b\u3066\u3001\u7279\u5b9a\u306e\u56e0\u5b50\u306b\u5b89\u5b9a\u3057\u3066\u8ca0\u8377\u3059\u308b\u9805\u76ee\u7fa4\u304c\u3042\u308b\u304b\u3001\u56e0\u5b50\u9593\u306e\u5206\u96e2\u304c\u660e\u78ba\u304b\u306a\u3069\u3092\u8a55\u4fa1\u3059\u308b\u3002\u3082\u3057\u3001\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u30b5\u30f3\u30d7\u30eb\u9593\u3067\u56e0\u5b50\u69cb\u9020\u304c\u5927\u304d\u304f\u5909\u52d5\u3059\u308b\u3088\u3046\u3067\u3042\u308c\u3070\u3001\u5143\u306e\u56e0\u5b50\u69cb\u9020\u306e\u89e3\u91c8\u306b\u306f\u614e\u91cd\u306b\u306a\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u56e0\u5b50\u5206\u6790\u306f\u3001\u5358\u4e00\u306e\u30b5\u30f3\u30d7\u30eb\u5206\u6790\u3067\u306f\u898b\u904e\u3054\u3055\u308c\u304c\u3061\u306a\u3001\u56e0\u5b50\u69cb\u9020\u306e\u5b89\u5b9a\u6027\u3084\u63a8\u5b9a\u5024\u306e\u4e0d\u78ba\u5b9f\u6027\u3092\u660e\u3089\u304b\u306b\u3059\u308b\u305f\u3081\u306e\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3067\u3042\u308b\u3002\u7279\u306b\u3001\u30b5\u30f3\u30d7\u30eb\u30b5\u30a4\u30ba\u304c\u9650\u3089\u308c\u3066\u3044\u308b\u5834\u5408\u3084\u3001\u3088\u308a\u30ed\u30d0\u30b9\u30c8\u3067\u4fe1\u983c\u6027\u306e\u9ad8\u3044\u56e0\u5b50\u69cb\u9020\u3092\u6c42\u3081\u305f\u3044\u5834\u5408\u306b\u3001\u305d\u306e\u771f\u4fa1\u3092\u767a\u63ee\u3059\u308b\u3002\u672c\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u305fR\u306e\u8a08\u7b97\u4f8b\u3092\u53c2\u8003\u306b\u3001\u305c\u3072\u81ea\u8eab\u306e\u7814\u7a76\u3084\u5206\u6790\u306b\u5fdc\u7528\u3057\u3001\u3088\u308a\u6df1\u3044\u6d1e\u5bdf\u3092\u5f97\u308b\u305f\u3081\u306e\u4e00\u52a9\u3068\u3057\u3066\u3044\u305f\u3060\u3051\u308c\u3070\u5e78\u3044\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n","protected":false},"excerpt":{"rendered":"<p>\u7d71\u8a08\u5206\u6790\u306f\u5965\u6df1\u304f\u3001\u6642\u306b\u306f\u7d50\u679c\u306e\u4fe1\u983c\u6027\u306b\u7591\u554f\u3092\u62b1\u304f\u3053\u3068\u3082\u3042\u308b\u3002\u7279\u306b\u3001\u5fc3\u7406\u5b66\u3084\u793e\u4f1a\u79d1\u5b66\u306e\u5206\u91ce\u3067\u5e83\u304f\u7528\u3044\u3089\u308c\u308b\u56e0\u5b50\u5206\u6790\u306f\u3001\u305d\u306e\u6027\u8cea\u4e0a\u3001\u30b5\u30f3\u30d7\u30eb\u306e\u5909\u52d5\u306b\u5f71\u97ff\u3092\u53d7\u3051\u3084\u3059\u3044\u3068\u3044\u3046\u5074\u9762\u3092\u6301\u3064\u3002\u3057\u304b\u3057\u3001\u3082\u3057\u305d\u306e\u5f71\u97ff\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u3001\u3088\u308a\u5b89 [&hellip;]<\/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":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[22,53],"tags":[],"class_list":["post-4201","post","type-post","status-publish","format-standard","hentry","category-22","category-53"],"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\/4201","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=4201"}],"version-history":[{"count":1,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/posts\/4201\/revisions"}],"predecessor-version":[{"id":4202,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/posts\/4201\/revisions\/4202"}],"wp:attachment":[{"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/media?parent=4201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/categories?post=4201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/best-biostatistics.com\/toukei-er\/wp-json\/wp\/v2\/tags?post=4201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}