{"id":504,"date":"2023-07-29T16:34:41","date_gmt":"2023-07-29T16:34:41","guid":{"rendered":"https:\/\/statorials.org\/ja\/%e9%87%8d%e7%b7%9a%e5%bd%a2%e5%9b%9e%e5%b8%b0r\/"},"modified":"2023-07-29T16:34:41","modified_gmt":"2023-07-29T16:34:41","slug":"%e9%87%8d%e7%b7%9a%e5%bd%a2%e5%9b%9e%e5%b8%b0r","status":"publish","type":"post","link":"https:\/\/statorials.org\/ja\/%e9%87%8d%e7%b7%9a%e5%bd%a2%e5%9b%9e%e5%b8%b0r\/","title":{"rendered":"R \u3067\u91cd\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001R \u3067<a href=\"https:\/\/statorials.org\/ja\/\u91cd\u7dda\u5f62\u56de\u5e30\/\" target=\"_blank\" rel=\"noopener\">\u91cd\u7dda\u5f62\u56de\u5e30<\/a>\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u306e\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">\u30e2\u30c7\u30eb\u3092\u5f53\u3066\u306f\u3081\u308b\u524d\u306b\u30c7\u30fc\u30bf\u3092\u8abf\u3079\u308b<\/span><\/li>\n<li><span style=\"color: #000000;\">\u30e2\u30c7\u30eb\u306e\u8abf\u6574<\/span><\/li>\n<li><span style=\"color: #000000;\">\u30e2\u30c7\u30eb\u306e\u4eee\u5b9a\u3092\u78ba\u8a8d\u3059\u308b<\/span><\/li>\n<li><span style=\"color: #000000;\">\u30e2\u30c7\u30eb\u51fa\u529b\u306e\u89e3\u91c8<\/span><\/li>\n<li><span style=\"color: #000000;\">\u30e2\u30c7\u30eb\u306e\u9069\u5408\u5ea6\u306e\u8a55\u4fa1<\/span><\/li>\n<li><span style=\"color: #000000;\">\u30e2\u30c7\u30eb\u3092\u4f7f\u7528\u3057\u3066\u4e88\u6e2c\u3092\u884c\u3046<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">\u3055\u3042\u884c\u3053\u3046\uff01<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u65bd\u8a2d<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u3053\u306e\u4f8b\u3067\u306f\u300132 \u53f0\u306e\u7570\u306a\u308b\u8eca\u306e\u3055\u307e\u3056\u307e\u306a\u5c5e\u6027\u306b\u95a2\u3059\u308b\u60c5\u5831\u304c\u542b\u307e\u308c\u308b\u7d44\u307f\u8fbc\u307f R \u30c7\u30fc\u30bf\u30bb\u30c3\u30c8<a href=\"https:\/\/statorials.org\/ja\/mtcars-r-\u30c6\u3099\u30fc\u30bf\u30bb\u30c3\u30c8\/\" target=\"_blank\" rel=\"noopener\"><em>mtcars<\/em><\/a>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#view first six lines of <em>mtcars<\/em><\/span>\nhead(mtcars)\n\n# mpg cyl disp hp drat wt qsec vs am gear carb\n#Mazda RX4 21.0 6 160 110 3.90 2.620 16.46 0 1 4 4\n#Mazda RX4 Wag 21.0 6 160 110 3.90 2.875 17.02 0 1 4 4\n#Datsun 710 22.8 4 108 93 3.85 2.320 18.61 1 1 4 1\n#Hornet 4 Drive 21.4 6 258 110 3.08 3.215 19.44 1 0 3 1\n#Hornet Sportabout 18.7 8 360 175 3.15 3.440 17.02 0 0 3 2\n#Valiant 18.1 6 225 105 2.76 3.460 20.22 1 0 3 1\n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u3053\u306e\u4f8b\u3067\u306f\u3001\u5fdc\u7b54\u5909\u6570\u3068\u3057\u3066<em>mpg \u3092<\/em>\u4f7f\u7528\u3057\u3001\u4e88\u6e2c\u5909\u6570\u3068\u3057\u3066<em>disp<\/em> \u3001 <em>hp<\/em> \u3001\u304a\u3088\u3073<em>drat<\/em>\u3092\u4f7f\u7528\u3059\u308b\u91cd\u7dda\u5f62\u56de\u5e30\u30e2\u30c7\u30eb\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#create new data frame that contains only the variables we would like to use to\n<\/span>data &lt;- mtcars[, c(\"mpg\", \"disp\", \"hp\", \"drat\")]\n\n<span style=\"color: #008080;\">#view first six rows of new data frame\n<span style=\"color: #000000;\">head(data)\n\n# mpg disp hp drat\n#Mazda RX4 21.0 160 110 3.90\n#Mazda RX4 Wag 21.0 160 110 3.90\n#Datsun 710 22.8 108 93 3.85\n#Hornet 4 Drive 21.4 258 110 3.08\n#Hornet Sportabout 18.7 360 175 3.15\n#Valiant 18.1 225 105 2.76<\/span><\/span><\/strong><\/pre>\n<h3><span style=\"color: #000000;\"><strong>\u30c7\u30fc\u30bf\u30ec\u30d3\u30e5\u30fc<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u30e2\u30c7\u30eb\u3092\u5f53\u3066\u306f\u3081\u308b\u524d\u306b\u3001\u30c7\u30fc\u30bf\u3092\u898b\u3066\u7406\u89e3\u3092\u6df1\u3081\u3001\u91cd\u7dda\u5f62\u56de\u5e30\u304c\u3053\u306e\u30c7\u30fc\u30bf\u3092\u5f53\u3066\u306f\u3081\u308b\u306e\u306b\u9069\u3057\u305f\u30e2\u30c7\u30eb\u3067\u3042\u308b\u304b\u3069\u3046\u304b\u3092\u8996\u899a\u7684\u306b\u8a55\u4fa1\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u7279\u306b\u3001\u4e88\u6e2c\u5909\u6570\u304c\u5fdc\u7b54\u5909\u6570\u3068<em>\u7dda\u5f62\u306e<\/em>\u95a2\u4fc2\u304c\u3042\u308b\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u91cd\u7dda\u5f62\u56de\u5e30\u30e2\u30c7\u30eb\u304c\u9069\u5207\u3067\u3042\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3053\u3068\u3092\u793a\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u308c\u3092\u884c\u3046\u306b\u306f\u3001 <strong>pairs()<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u8003\u3048\u3089\u308c\u308b\u5909\u6570\u306e\u5404\u30da\u30a2\u306e\u6563\u5e03\u56f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong>pairs(data, pch = 18, col = \"steelblue\")<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u3053\u306e\u30da\u30a2\u306e\u30b0\u30e9\u30d5\u304b\u3089\u3001\u6b21\u306e\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\"><em>mpg<\/em>\u3068<em>\u53ef\u7528\u6027<\/em>\u306b\u306f\u5f37\u3044\u8ca0\u306e\u7dda\u5f62\u76f8\u95a2\u304c\u3042\u308b\u3088\u3046\u3067\u3059<\/span><\/li>\n<li><span style=\"color: #000000;\"><em>mpg<\/em>\u3068<em>hp<\/em>\u306b\u306f\u5f37\u3044\u6b63\u306e\u7dda\u5f62\u76f8\u95a2\u304c\u3042\u308b\u3088\u3046\u3067\u3059<\/span><\/li>\n<li><span style=\"color: #000000;\"><em>mpg<\/em>\u3068<em>drat<\/em>\u306b\u306f\u9069\u5ea6\u306a\u8ca0\u306e\u7dda\u5f62\u76f8\u95a2\u304c\u3042\u308b\u3088\u3046\u3067\u3059<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\"><strong>GGally<\/strong>\u30e9\u30a4\u30d6\u30e9\u30ea\u306e<strong>ggpairs()<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u5909\u6570\u306e\u5404\u30da\u30a2\u306e\u5b9f\u969b\u306e<a href=\"https:\/\/statorials.org\/ja\/\u30d2\u309a\u30a2\u30bd\u30f3\u76f8\u95a2\u4fc2\u6570-1\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u7dda\u5f62\u76f8\u95a2\u4fc2\u6570<\/a>\u3092\u542b\u3080\u540c\u69d8\u306e\u30d7\u30ed\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#install and load the <em>GGally<\/em> library<\/span>\ninstall.packages(\"GGally\")\nlibrary(GGally)\n\n<span style=\"color: #008080;\">#generate the pairs plot\n<\/span>ggpairs(data)<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u5404\u4e88\u6e2c\u5b50\u5909\u6570\u306b\u306f\u5fdc\u7b54\u5909\u6570<em>mpg<\/em>\u3068\u9855\u8457\u306a\u7dda\u5f62\u76f8\u95a2\u304c\u3042\u308b\u3088\u3046\u306b\u898b\u3048\u308b\u305f\u3081\u3001\u7dda\u5f62\u56de\u5e30\u30e2\u30c7\u30eb\u3092\u30c7\u30fc\u30bf\u306b\u5f53\u3066\u306f\u3081\u308b\u3053\u3068\u306b\u9032\u307f\u307e\u3059\u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u30e2\u30c7\u30eb\u306e\u8abf\u6574<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">R \u3067\u91cd\u7dda\u5f62\u56de\u5e30\u30e2\u30c7\u30eb\u3092\u8fd1\u4f3c\u3059\u308b\u305f\u3081\u306e\u57fa\u672c\u7684\u306a\u69cb\u6587\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong>lm(response_variable ~ predictor_variable1 + predictor_variable2 + ..., data = data)<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u30c7\u30fc\u30bf\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u6b21\u306e\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30e2\u30c7\u30eb\u3092\u5f53\u3066\u306f\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong>model &lt;- lm(mpg ~ disp + hp + drat, data = data)<\/strong><\/pre>\n<h3><span style=\"color: #000000;\"><strong>\u30e2\u30c7\u30eb\u306e\u4eee\u5b9a\u3092\u78ba\u8a8d\u3059\u308b<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u30e2\u30c7\u30eb\u306e\u7d50\u679c\u306e\u691c\u8a3c\u306b\u9032\u3080\u524d\u306b\u3001\u307e\u305a\u30e2\u30c7\u30eb\u306e\u4eee\u5b9a\u304c\u6e80\u305f\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u691c\u8a3c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u6b21\u306e\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<p> <strong><span style=\"color: #000000;\">1. \u30e2\u30c7\u30eb\u6b8b\u5dee\u306e\u5206\u5e03\u306f\u307b\u307c\u6b63\u898f\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">\u6b8b\u5dee\u306e\u5358\u7d14\u306a\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u3001\u3053\u306e\u4eee\u5b9a\u304c\u6e80\u305f\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong>hist(residuals(model), col = \"steelblue\")\n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u5206\u5e03\u306f\u308f\u305a\u304b\u306b<a href=\"https:\/\/statorials.org\/ja\/\u5de6\u30cf\u3099\u30a4\u30a2\u30b9\u3068\u53f3\u30cf\u3099\u30a4\u30a2\u30b9\/\" target=\"_blank\" rel=\"noopener\">\u53f3\u306b\u504f\u3063\u3066\u3044<\/a>\u307e\u3059\u304c\u3001\u5927\u304d\u306a\u61f8\u5ff5\u3092\u5f15\u304d\u8d77\u3053\u3059\u307b\u3069\u7570\u5e38\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>2. \u6b8b\u5dee\u306e\u5206\u6563\u306f\u3059\u3079\u3066\u306e\u89b3\u6e2c\u5024\u3067\u4e00\u8cab\u3057\u3066\u3044\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u306e\u597d\u307e\u3057\u3044\u6761\u4ef6\u306f\u7b49\u5206\u6563\u6027\u3068\u3057\u3066\u77e5\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u4eee\u5b9a\u306b\u53cd\u3059\u308b\u3053\u3068\u306f\u3001<a href=\"https:\/\/statorials.org\/ja\/-10\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u4e0d\u5747\u4e00\u5206\u6563<\/a>\u3068\u3057\u3066\u77e5\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u306e\u4eee\u5b9a\u304c\u6e80\u305f\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f\u3001<em>\u8abf\u6574\u6e08\u307f\/\u6b8b\u5b58\u4fa1\u5024\u30b0\u30e9\u30d5\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/em><\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#create fitted value vs residual plot<\/span>\nplot(fitted(model), residuals(model))\n\n<span style=\"color: #008080;\">#add horizontal line at 0\n<\/span>abline(h = 0, lty = 2)<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u7406\u60f3\u7684\u306b\u306f\u3001\u6b8b\u5dee\u304c\u5404\u8fd1\u4f3c\u5024\u3067\u5747\u7b49\u306b\u5206\u6563\u3055\u308c\u308b\u3053\u3068\u304c\u671b\u307e\u3057\u3044\u3067\u3059\u3002\u30b0\u30e9\u30d5\u304b\u3089\u3001\u9069\u5408\u5024\u304c\u5927\u304d\u304f\u306a\u308b\u3068\u5206\u6563\u304c\u82e5\u5e72\u5927\u304d\u304f\u306a\u308b\u50be\u5411\u304c\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u304c\u3001\u3053\u306e\u50be\u5411\u306f\u3042\u307e\u308a\u5fc3\u914d\u3059\u308b\u307b\u3069\u6975\u7aef\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u30e2\u30c7\u30eb\u51fa\u529b\u306e\u89e3\u91c8<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u30e2\u30c7\u30eb\u306e\u4eee\u5b9a\u304c\u5341\u5206\u306b\u6e80\u305f\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u305f\u3089\u3001 <strong>summary()<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u30e2\u30c7\u30eb\u306e\u51fa\u529b\u3092\u8abf\u3079\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong>summary(model)\n\n#Call:\n#lm(formula = mpg ~ disp + hp + drat, data = data)\n#\n#Residuals:\n# Min 1Q Median 3Q Max \n#-5.1225 -1.8454 -0.4456 1.1342 6.4958 \n#\n#Coefficients:\n#Estimate Std. Error t value Pr(&gt;|t|)   \n#(Intercept) 19.344293 6.370882 3.036 0.00513 **\n#disp -0.019232 0.009371 -2.052 0.04960 * \n#hp -0.031229 0.013345 -2.340 0.02663 * \n#drat 2.714975 1.487366 1.825 0.07863 . \n#---\n#Significant. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1\n#\n#Residual standard error: 3.008 on 28 degrees of freedom\n#Multiple R-squared: 0.775, Adjusted R-squared: 0.7509 \n#F-statistic: 32.15 on 3 and 28 DF, p-value: 3.28e-09\n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u7d50\u679c\u304b\u3089\u6b21\u306e\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">\u30e2\u30c7\u30eb\u306e\u5168\u4f53\u7684\u306a F \u7d71\u8a08\u91cf\u306f<strong>32.15<\/strong>\u3067\u3001\u5bfe\u5fdc\u3059\u308b p \u5024\u306f<strong>3.28e-09<\/strong>\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u30e2\u30c7\u30eb\u5168\u4f53\u304c\u7d71\u8a08\u7684\u306b\u6709\u610f\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u8a00\u3044\u63db\u3048\u308c\u3070\u3001\u56de\u5e30\u30e2\u30c7\u30eb\u306f\u5168\u4f53\u3068\u3057\u3066\u6709\u7528\u3067\u3059\u3002<\/span><\/li>\n<li> <span style=\"color: #000000;\"><em>disp<\/em>\u306f 0.10 \u306e\u6709\u610f\u6c34\u6e96\u3067\u7d71\u8a08\u7684\u306b\u6709\u610f\u3067\u3059\u3002\u7279\u306b\u3001\u30e2\u30c7\u30eb\u7d50\u679c\u306e\u4fc2\u6570\u306f\u3001<em>\u99ac\u529b<\/em>\u3068<em>\u71c3\u6599\u6d88\u8cbb\u91cf<\/em>\u304c\u4e00\u5b9a\u3067\u3042\u308b\u3068\u4eee\u5b9a\u3059\u308b\u3068\u3001<em>\u53ef\u7528\u6027\u304c<\/em>1 \u5358\u4f4d\u5897\u52a0\u3059\u308b\u3068\u3001\u5e73\u5747\u3067<em>mpg \u5358\u4f4d<\/em>\u3067 -0.019 \u5358\u4f4d\u306e\u6e1b\u5c11\u306b\u95a2\u9023\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002 \u3002<\/span><\/li>\n<li> <span style=\"color: #000000;\"><em>hp<\/em>\u306f 0.10 \u306e\u6709\u610f\u6c34\u6e96\u3067\u7d71\u8a08\u7684\u306b\u6709\u610f\u3067\u3059\u3002\u7279\u306b\u3001\u30e2\u30c7\u30eb\u7d50\u679c\u306e\u4fc2\u6570\u306f\u3001 <i>disp<\/i>\u3068<em>drat<\/em>\u304c\u4e00\u5b9a\u306e\u307e\u307e\u3067\u3042\u308b\u3068\u4eee\u5b9a\u3059\u308b\u3068\u3001<i>\u99ac\u529b<\/i>\u306e 1 \u5358\u4f4d\u306e\u5897\u52a0\u306f<em>mpg<\/em>\u5358\u4f4d\u3067\u5e73\u5747 -0.031 \u5358\u4f4d\u306e\u6e1b\u5c11\u306b\u95a2\u9023\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/li>\n<li> <span style=\"color: #000000;\"><em>drat<\/em>\u306f 0.10 \u306e\u6709\u610f\u6c34\u6e96\u3067\u7d71\u8a08\u7684\u306b\u6709\u610f\u3067\u3059\u3002\u7279\u306b\u3001\u30e2\u30c7\u30eb\u7d50\u679c\u306e\u4fc2\u6570\u306f\u3001<i>\u6d41\u91cf<\/i>\u3068<i>\u99ac\u529b<\/i>\u304c\u4e00\u5b9a\u3067\u3042\u308b\u3068\u4eee\u5b9a\u3059\u308b\u3068\u3001<i>\u30ac\u30bd\u30ea\u30f3\u6d88\u8cbb\u91cf<\/i>\u304c 1 \u5358\u4f4d\u5897\u52a0\u3059\u308b\u3068\u3001\u5e73\u5747 2,715 <em>mpg<\/em>\u5358\u4f4d\u306e\u5897\u52a0\u306b\u95a2\u9023\u3059\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/li>\n<\/ul>\n<h3><span style=\"color: #000000;\"><strong>\u30e2\u30c7\u30eb\u306e\u9069\u5408\u5ea6\u306e\u8a55\u4fa1<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u56de\u5e30\u30e2\u30c7\u30eb\u304c\u30c7\u30fc\u30bf\u306b\u3069\u306e\u7a0b\u5ea6\u9069\u5408\u3057\u3066\u3044\u308b\u304b\u3092\u8a55\u4fa1\u3059\u308b\u305f\u3081\u306b\u3001\u3044\u304f\u3064\u304b\u306e\u7570\u306a\u308b\u6307\u6a19\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p> <strong><span style=\"color: #000000;\">1. \u8907\u6570\u306e\u6c7a\u5b9a\u4fc2\u6570<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">\u3053\u308c\u306f\u3001\u4e88\u6e2c\u5909\u6570\u3068\u5fdc\u7b54\u5909\u6570\u306e\u9593\u306e\u7dda\u5f62\u95a2\u4fc2\u306e\u5f37\u3055\u3092\u6e2c\u5b9a\u3057\u307e\u3059\u3002 R \u4e8c\u4e57\u306e 1 \u306e\u500d\u6570\u306f\u5b8c\u5168\u306a\u7dda\u5f62\u95a2\u4fc2\u3092\u793a\u3057\u3001R \u4e8c\u4e57\u306e 0 \u306e\u500d\u6570\u306f\u7dda\u5f62\u95a2\u4fc2\u304c\u306a\u3044\u3053\u3068\u3092\u793a\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u500d\u6570 R \u306f\u3001R \u306e 2 \u4e57\u306e\u5e73\u65b9\u6839\u3067\u3082\u3042\u308a\u3001\u3053\u308c\u306f\u3001\u4e88\u6e2c\u5909\u6570\u306b\u3088\u3063\u3066\u8aac\u660e\u3067\u304d\u308b\u5fdc\u7b54\u5909\u6570\u306e\u5206\u6563\u306e\u5272\u5408\u3067\u3059\u3002\u3053\u306e\u4f8b\u3067\u306f\u3001\u6c7a\u5b9a\u4fc2\u6570\u306e\u500d\u6570\u306f<strong>0.775<\/strong>\u3067\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001R \u306e 2 \u4e57\u306f 0.775 <sup>2<\/sup> = <strong>0.601<\/strong>\u3068\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001 <i>mpg<\/i>\u306e\u5206\u6563\u306e<strong>60.1%<\/strong>\u304c\u30e2\u30c7\u30eb\u4e88\u6e2c\u5b50\u306b\u3088\u3063\u3066\u8aac\u660e\u3067\u304d\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>\u95a2\u9023:<\/strong><a href=\"https:\/\/statorials.org\/ja\/-10\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u9069\u5207\u306a R \u4e8c\u4e57\u5024\u3068\u306f\u4f55\u3067\u3059\u304b?<\/a><\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>2. \u6b8b\u5b58\u6a19\u6e96\u8aa4\u5dee<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u308c\u306f\u3001\u89b3\u6e2c\u5024\u3068\u56de\u5e30\u76f4\u7dda\u306e\u9593\u306e\u5e73\u5747\u8ddd\u96e2\u3092\u6e2c\u5b9a\u3057\u307e\u3059\u3002\u3053\u306e\u4f8b\u3067\u306f\u3001\u89b3\u6e2c\u5024\u306f\u56de\u5e30\u76f4\u7dda\u304b\u3089\u5e73\u5747\u3057\u3066<strong>3.008 \u5358\u4f4d<\/strong>\u5916\u308c\u3066\u3044\u307e\u3059<strong>\u3002<\/strong><\/span><\/p>\n<p><strong><span style=\"color: #000000;\">\u95a2\u9023\u3057\u3066\u3044\u308b\uff1a<\/span><\/strong> <span style=\"color: #000000;\">&nbsp;<\/span><a href=\"https:\/\/statorials.org\/ja\/-10\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u56de\u5e30\u306e\u6a19\u6e96\u8aa4\u5dee\u3092\u7406\u89e3\u3059\u308b<\/a><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u30e2\u30c7\u30eb\u3092\u4f7f\u7528\u3057\u3066\u4e88\u6e2c\u3092\u884c\u3046<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u30e2\u30c7\u30eb\u306e\u7d50\u679c\u304b\u3089\u3001\u8fd1\u4f3c\u3055\u308c\u305f\u91cd\u56de\u5e30\u5f0f\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/span><\/p>\n<p style=\"text-align: left;\"><span style=\"color: #000000;\"><sub>\u30cf\u30c3\u30c8<\/sub>mpg = -19.343 \u2013 0.019*disp \u2013 0.031*hp + 2.715*drat<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u306e\u65b9\u7a0b\u5f0f\u3092\u4f7f\u7528\u3057\u3066\u3001\u65b0\u3057\u3044<a href=\"https:\/\/statorials.org\/ja\/\u7d71\u8a08\u306b\u304a\u3051\u308b\u89b3\u5bdf\/\" target=\"_blank\" rel=\"noopener\">\u89b3\u6e2c\u5024<\/a>\u306e<em>mpg \u304c<\/em>\u3069\u306e\u3088\u3046\u306b\u306a\u308b\u304b\u3092\u4e88\u6e2c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u6b21\u306e\u5c5e\u6027\u3092\u6301\u3064\u8eca\u306e\u4e88\u6e2c<em>\u71c3\u8cbb<\/em>\u5024\u3092\u898b\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\"><em>\u8868\u793a<\/em>= 220<\/span><\/li>\n<li> <span style=\"color: #000000;\"><em>ch<\/em> =150<\/span><\/li>\n<li><span style=\"color: #000000;\"><em>\u30c9\u30e9\u30c3\u30c8<\/em>= 3<\/span><\/li>\n<\/ul>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#define the coefficients from the model output<\/span>\nintercept &lt;- coef(summary(model))[\"(Intercept)\", \"Estimate\"]\ndisp &lt;- coef(summary(model))[\"disp\", \"Estimate\"]\nhp &lt;- coef(summary(model))[\"hp\", \"Estimate\"]\ndrat &lt;- coef(summary(model))[\"drat\", \"Estimate\"]\n\n<span style=\"color: #008080;\">#use the model coefficients to predict the value for <em>mpg<\/em>\n<\/span>intercept + disp*220 + hp*150 + drat*3\n\n#[1] 18.57373<\/strong><\/pre>\n<p> <span style=\"color: #000000;\"><em>disp<\/em> = 220\u3001 <em>hp<\/em> = 150\u3001 <em>drat<\/em> = 3 \u306e\u8eca\u306e\u5834\u5408\u3001\u30e2\u30c7\u30eb\u306f\u8eca\u306e\u71c3\u8cbb\u304c<strong>18.57373<\/strong> <em>mpg<\/em>\u306b\u306a\u308b\u3068\u4e88\u6e2c\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\"><em>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u4f7f\u7528\u3055\u308c\u308b\u5b8c\u5168\u306a R \u30b3\u30fc\u30c9\u306f<a href=\"https:\/\/github.com\/Statorials\/R-Guides\/blob\/main\/multiple_linear_regression.R\" target=\"_blank\" rel=\"noopener noreferrer\">\u3001\u3053\u3053\u3067<\/a>\u898b\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/em><\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u8ffd\u52a0\u30ea\u30bd\u30fc\u30b9<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001R \u3067\u4ed6\u306e\u30bf\u30a4\u30d7\u306e\u56de\u5e30\u30e2\u30c7\u30eb\u3092\u5f53\u3066\u306f\u3081\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/ja\/\u4e8c\u6b21\u56de\u5e30-r\/\" target=\"_blank\" rel=\"noopener\">R \u3067\u4e8c\u6b21\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/\u591a\u9805\u5f0f\u56de\u5e30-r\/\" target=\"_blank\" rel=\"noopener\">R \u3067\u591a\u9805\u5f0f\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/r-\u306e\u6307\u6570\u56de\u5e30\/\">R \u3067\u6307\u6570\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001R \u3067\u91cd\u7dda\u5f62\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u306e\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002 \u30e2\u30c7\u30eb\u3092\u5f53\u3066\u306f\u3081\u308b\u524d\u306b\u30c7\u30fc\u30bf\u3092\u8abf\u3079\u308b \u30e2\u30c7\u30eb\u306e\u8abf\u6574 \u30e2\u30c7\u30eb\u306e\u4eee\u5b9a\u3092\u78ba\u8a8d\u3059\u308b \u30e2\u30c7\u30eb\u51fa\u529b\u306e\u89e3\u91c8 \u30e2\u30c7\u30eb\u306e\u9069\u5408\u5ea6\u306e\u8a55\u4fa1 \u30e2\u30c7\u30eb\u3092\u4f7f\u7528\u3057\u3066\u4e88\u6e2c\u3092\u884c\u3046 \u3055\u3042\u884c\u3053\u3046\uff01 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-504","post","type-post","status-publish","format-standard","hentry","category-16"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>R - Statology \u3067\u91cd\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001R \u3067\u91cd\u7dda\u5f62\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3068\u3001\u30e2\u30c7\u30eb\u306e\u4eee\u5b9a\u3092\u78ba\u8a8d\u3057\u3066\u30e2\u30c7\u30eb\u306e\u9069\u5408\u6027\u3092\u8a55\u4fa1\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/ja\/\u91cd\u7dda\u5f62\u56de\u5e30r\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"R - Statology \u3067\u91cd\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001R \u3067\u91cd\u7dda\u5f62\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3068\u3001\u30e2\u30c7\u30eb\u306e\u4eee\u5b9a\u3092\u78ba\u8a8d\u3057\u3066\u30e2\u30c7\u30eb\u306e\u9069\u5408\u6027\u3092\u8a55\u4fa1\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/ja\/\u91cd\u7dda\u5f62\u56de\u5e30r\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-29T16:34:41+00:00\" \/>\n<meta name=\"author\" content=\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/ja\/%e9%87%8d%e7%b7%9a%e5%bd%a2%e5%9b%9e%e5%b8%b0r\/\",\"url\":\"https:\/\/statorials.org\/ja\/%e9%87%8d%e7%b7%9a%e5%bd%a2%e5%9b%9e%e5%b8%b0r\/\",\"name\":\"R - Statology \u3067\u91cd\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ja\/#website\"},\"datePublished\":\"2023-07-29T16:34:41+00:00\",\"dateModified\":\"2023-07-29T16:34:41+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83\"},\"description\":\"\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001R \u3067\u91cd\u7dda\u5f62\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3068\u3001\u30e2\u30c7\u30eb\u306e\u4eee\u5b9a\u3092\u78ba\u8a8d\u3057\u3066\u30e2\u30c7\u30eb\u306e\u9069\u5408\u6027\u3092\u8a55\u4fa1\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/ja\/%e9%87%8d%e7%b7%9a%e5%bd%a2%e5%9b%9e%e5%b8%b0r\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/ja\/%e9%87%8d%e7%b7%9a%e5%bd%a2%e5%9b%9e%e5%b8%b0r\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ja\/%e9%87%8d%e7%b7%9a%e5%bd%a2%e5%9b%9e%e5%b8%b0r\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/ja\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"R \u3067\u91cd\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/ja\/#website\",\"url\":\"https:\/\/statorials.org\/ja\/\",\"name\":\"Statorials\",\"description\":\"\u7d71\u8a08\u80fd\u529b\u3078\u306e\u30ac\u30a4\u30c9\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/ja\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83\",\"name\":\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\"},\"description\":\"\u79c1\u306f\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u3067\u3059\u3002\u9000\u8077\u3057\u305f\u7d71\u8a08\u6559\u6388\u304b\u3089\u3001\u5c02\u4efb\u306e Statorials \u6559\u80b2\u8005\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u7d71\u8a08\u5206\u91ce\u306b\u304a\u3051\u308b\u8c4a\u5bcc\u306a\u7d4c\u9a13\u3068\u5c02\u9580\u77e5\u8b58\u3092\u6d3b\u304b\u3057\u3066\u3001\u79c1\u306f Statorials \u3092\u901a\u3058\u3066\u5b66\u751f\u306b\u529b\u3092\u4e0e\u3048\u308b\u305f\u3081\u306b\u81ea\u5206\u306e\u77e5\u8b58\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u306b\u5c3d\u529b\u3057\u3066\u3044\u307e\u3059\u3002\u3082\u3063\u3068\u77e5\u308b\",\"sameAs\":[\"http:\/\/statorials.org\/ja\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"R - Statology \u3067\u91cd\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5","description":"\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001R \u3067\u91cd\u7dda\u5f62\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3068\u3001\u30e2\u30c7\u30eb\u306e\u4eee\u5b9a\u3092\u78ba\u8a8d\u3057\u3066\u30e2\u30c7\u30eb\u306e\u9069\u5408\u6027\u3092\u8a55\u4fa1\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/statorials.org\/ja\/\u91cd\u7dda\u5f62\u56de\u5e30r\/","og_locale":"ja_JP","og_type":"article","og_title":"R - Statology \u3067\u91cd\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5","og_description":"\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001R \u3067\u91cd\u7dda\u5f62\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3068\u3001\u30e2\u30c7\u30eb\u306e\u4eee\u5b9a\u3092\u78ba\u8a8d\u3057\u3066\u30e2\u30c7\u30eb\u306e\u9069\u5408\u6027\u3092\u8a55\u4fa1\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/statorials.org\/ja\/\u91cd\u7dda\u5f62\u56de\u5e30r\/","og_site_name":"Statorials","article_published_time":"2023-07-29T16:34:41+00:00","author":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/ja\/%e9%87%8d%e7%b7%9a%e5%bd%a2%e5%9b%9e%e5%b8%b0r\/","url":"https:\/\/statorials.org\/ja\/%e9%87%8d%e7%b7%9a%e5%bd%a2%e5%9b%9e%e5%b8%b0r\/","name":"R - Statology \u3067\u91cd\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5","isPartOf":{"@id":"https:\/\/statorials.org\/ja\/#website"},"datePublished":"2023-07-29T16:34:41+00:00","dateModified":"2023-07-29T16:34:41+00:00","author":{"@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83"},"description":"\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001R \u3067\u91cd\u7dda\u5f62\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3068\u3001\u30e2\u30c7\u30eb\u306e\u4eee\u5b9a\u3092\u78ba\u8a8d\u3057\u3066\u30e2\u30c7\u30eb\u306e\u9069\u5408\u6027\u3092\u8a55\u4fa1\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/ja\/%e9%87%8d%e7%b7%9a%e5%bd%a2%e5%9b%9e%e5%b8%b0r\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/ja\/%e9%87%8d%e7%b7%9a%e5%bd%a2%e5%9b%9e%e5%b8%b0r\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ja\/%e9%87%8d%e7%b7%9a%e5%bd%a2%e5%9b%9e%e5%b8%b0r\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/ja\/"},{"@type":"ListItem","position":2,"name":"R \u3067\u91cd\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/ja\/#website","url":"https:\/\/statorials.org\/ja\/","name":"Statorials","description":"\u7d71\u8a08\u80fd\u529b\u3078\u306e\u30ac\u30a4\u30c9","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/ja\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83","name":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/image\/","url":"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb"},"description":"\u79c1\u306f\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u3067\u3059\u3002\u9000\u8077\u3057\u305f\u7d71\u8a08\u6559\u6388\u304b\u3089\u3001\u5c02\u4efb\u306e Statorials \u6559\u80b2\u8005\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u7d71\u8a08\u5206\u91ce\u306b\u304a\u3051\u308b\u8c4a\u5bcc\u306a\u7d4c\u9a13\u3068\u5c02\u9580\u77e5\u8b58\u3092\u6d3b\u304b\u3057\u3066\u3001\u79c1\u306f Statorials \u3092\u901a\u3058\u3066\u5b66\u751f\u306b\u529b\u3092\u4e0e\u3048\u308b\u305f\u3081\u306b\u81ea\u5206\u306e\u77e5\u8b58\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u306b\u5c3d\u529b\u3057\u3066\u3044\u307e\u3059\u3002\u3082\u3063\u3068\u77e5\u308b","sameAs":["http:\/\/statorials.org\/ja"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts\/504","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/comments?post=504"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts\/504\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/media?parent=504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/categories?post=504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/tags?post=504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}