{"id":1315,"date":"2023-07-26T22:05:53","date_gmt":"2023-07-26T22:05:53","guid":{"rendered":"https:\/\/statorials.org\/cn\/%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%a4%9a%e5%85%83%e7%ba%bf%e6%80%a7%e5%9b%9e%e5%bd%92\/"},"modified":"2023-07-26T22:05:53","modified_gmt":"2023-07-26T22:05:53","slug":"%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%a4%9a%e5%85%83%e7%ba%bf%e6%80%a7%e5%9b%9e%e5%bd%92","status":"publish","type":"post","link":"https:\/\/statorials.org\/cn\/%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%a4%9a%e5%85%83%e7%ba%bf%e6%80%a7%e5%9b%9e%e5%bd%92\/","title":{"rendered":"\u5982\u4f55\u5728 r \u4e2d\u7ed8\u5236\u591a\u5143\u7ebf\u6027\u56de\u5f52\u7ed3\u679c"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">\u5f53\u6211\u4eec\u5728 R \u4e2d\u6267\u884c<a href=\"https:\/\/statorials.org\/cn\/r-\u4e2d\u7684\u7b80\u5355\u7ebf\u6027\u56de\u5f52\/\" target=\"_blank\" rel=\"noopener\">\u7b80\u5355\u7ebf\u6027\u56de\u5f52<\/a>\u65f6\uff0c\u5f88\u5bb9\u6613\u53ef\u89c6\u5316\u62df\u5408\u56de\u5f52\u7ebf\uff0c\u56e0\u4e3a\u6211\u4eec\u53ea\u4f7f\u7528\u5355\u4e2a\u9884\u6d4b\u53d8\u91cf\u548c\u5355\u4e2a<a href=\"https:\/\/statorials.org\/cn\/\u53d8\u91cf\u89e3\u91ca\u6027\u53cd\u5e94\/\" target=\"_blank\" rel=\"noopener\">\u54cd\u5e94\u53d8\u91cf<\/a>\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u4f8b\u5982\uff0c\u4ee5\u4e0b\u4ee3\u7801\u663e\u793a\u5982\u4f55\u5c06\u7b80\u5355\u7684\u7ebf\u6027\u56de\u5f52\u6a21\u578b\u62df\u5408\u5230\u6570\u636e\u96c6\u5e76\u7ed8\u5236\u7ed3\u679c\uff1a<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#create dataset\n<\/span>data &lt;- data.frame(x = c(1, 1, 2, 4, 4, 5, 6, 7, 7, 8, 9, 10, 11, 11),\n                   y = c(13, 14, 17, 23, 24, 25, 25, 24, 28, 32, 33, 35, 40, 41))\n\n<span style=\"color: #008080;\">#fit simple linear regression model\n<\/span>model &lt;- lm(y ~ x, data = data)\n\n<span style=\"color: #008080;\">#create scatterplot of data\n<\/span>plot(data$x, data$y)\n\n<span style=\"color: #008080;\">#add fitted regression line\n<\/span>abline(model)\n<\/strong><\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-12859 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/plotmultipleregression1.png\" alt=\"\u4f7f\u7528\u6563\u70b9\u56fe\u5728 R \u4e2d\u7ed8\u5236\u7b80\u5355\u7ebf\u6027\u56de\u5f52\u7ebf\" width=\"413\" height=\"381\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p><span style=\"color: #000000;\">\u7136\u800c\uff0c\u5f53\u6211\u4eec\u6267\u884c<a href=\"https:\/\/statorials.org\/cn\/\u591a\u5143\u7ebf\u6027\u56de\u5f52\/\" target=\"_blank\" rel=\"noopener\">\u591a\u5143\u7ebf\u6027\u56de\u5f52\u65f6\uff0c<\/a>\u7ed3\u679c\u53d8\u5f97\u5f88\u96be\u53ef\u89c6\u5316\uff0c\u56e0\u4e3a\u6709\u591a\u4e2a\u9884\u6d4b\u53d8\u91cf\uff0c\u800c\u4e14\u6211\u4eec\u4e0d\u80fd\u7b80\u5355\u5730\u5728\u4e8c\u7ef4\u56fe\u4e0a\u7ed8\u5236\u56de\u5f52\u7ebf\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u76f8\u53cd\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<strong>\u6dfb\u52a0\u53d8\u91cf\u56fe<\/strong>\uff08\u6709\u65f6\u79f0\u4e3a\u201c\u90e8\u5206\u56de\u5f52\u56fe\u201d\uff09\uff0c\u5b83\u4eec\u662f\u663e\u793a\u54cd\u5e94\u53d8\u91cf\u548c\u9884\u6d4b\u53d8\u91cf\u4e4b\u95f4\u5173\u7cfb\u7684\u5355\u72ec\u56fe\uff0c<em>\u540c\u65f6\u63a7\u5236\u6a21\u578b\u4e2d\u5176\u4ed6\u9884\u6d4b\u53d8\u91cf\u7684\u5b58\u5728<\/em>\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u4ee5\u4e0b\u793a\u4f8b\u6f14\u793a\u5982\u4f55\u5728 R \u4e2d\u6267\u884c\u591a\u5143\u7ebf\u6027\u56de\u5f52\u5e76\u4f7f\u7528\u9644\u52a0\u53d8\u91cf\u56fe\u53ef\u89c6\u5316\u7ed3\u679c\u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u793a\u4f8b\uff1a\u5728 R \u4e2d\u7ed8\u5236\u591a\u91cd\u7ebf\u6027\u56de\u5f52\u7ed3\u679c<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u5047\u8bbe\u6211\u4eec\u4f7f\u7528\u5185\u7f6e<strong>mtcars<\/strong>\u6570\u636e\u96c6\u5c06\u4ee5\u4e0b\u591a\u5143\u7ebf\u6027\u56de\u5f52\u6a21\u578b\u62df\u5408\u5230 R \u4e2d\u7684\u6570\u636e\u96c6\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#fit multiple linear regression model\n<span style=\"color: #000000;\">model &lt;- lm(mpg ~ disp + hp + drat, data = mtcars)\n<\/span>\n#view results of model\n<span style=\"color: #000000;\">summary(model)\n\nCall:\nlm(formula = mpg ~ disp + hp + drat, data = mtcars)\n\nResiduals:\n    Min 1Q Median 3Q Max \n-5.1225 -1.8454 -0.4456 1.1342 6.4958 \n\nCoefficients:\n             Estimate Std. Error t value Pr(&gt;|t|)   \n(Intercept) 19.344293 6.370882 3.036 0.00513 **\navailable -0.019232 0.009371 -2.052 0.04960 * \nhp -0.031229 0.013345 -2.340 0.02663 * \ndrat 2.714975 1.487366 1.825 0.07863 . \n---\nSignificant. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1\n\nResidual standard error: 3.008 on 28 degrees of freedom\nMultiple R-squared: 0.775, Adjusted R-squared: 0.7509 \nF-statistic: 32.15 on 3 and 28 DF, p-value: 3.28e-09\n<\/span><\/span><\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u4ece\u7ed3\u679c\u4e2d\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u6bcf\u4e2a\u7cfb\u6570\u7684 p \u503c\u90fd\u5c0f\u4e8e 0.1\u3002\u4e3a\u7b80\u5355\u8d77\u89c1\uff0c\u6211\u4eec\u5047\u8bbe\u6bcf\u4e2a\u9884\u6d4b\u53d8\u91cf\u90fd\u5f88\u91cd\u8981\u5e76\u4e14\u5e94\u5305\u542b\u5728\u6a21\u578b\u4e2d\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u8981\u751f\u6210\u9644\u52a0\u53d8\u91cf\u7684\u56fe\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<strong>car<\/strong>\u5305\u4e2d\u7684<strong>avPlots()<\/strong>\u51fd\u6570\uff1a<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#load car package\n<span style=\"color: #000000;\">library(car)\n<\/span>\n#produce added variable plots\n<span style=\"color: #000000;\">avPlots(model)<\/span>\n<\/span><\/strong><\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-12861 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/ajoutevarplots1.png\" alt=\"\u5728 R \u4e2d\u7ed8\u5236\u591a\u5143\u7ebf\u6027\u56de\u5f52\" width=\"503\" height=\"507\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p><span style=\"color: #000000;\">\u4ee5\u4e0b\u662f\u5982\u4f55\u89e3\u91ca\u6bcf\u4e2a\u60c5\u8282\uff1a<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\">x \u8f74\u663e\u793a\u5355\u4e2a\u9884\u6d4b\u53d8\u91cf\uff0cy \u8f74\u663e\u793a\u54cd\u5e94\u53d8\u91cf\u3002<\/span><\/li>\n<li><span style=\"color: #000000;\">\u84dd\u7ebf\u663e\u793a\u9884\u6d4b\u53d8\u91cf\u548c\u54cd\u5e94\u53d8\u91cf\u4e4b\u95f4\u7684\u5173\u8054\uff0c<em>\u540c\u65f6\u4fdd\u6301\u6240\u6709\u5176\u4ed6\u9884\u6d4b\u53d8\u91cf\u7684\u503c\u6052\u5b9a<\/em>\u3002<\/span><\/li>\n<li><span style=\"color: #000000;\">\u6bcf\u4e2a\u56fe\u4e2d\u7684\u6807\u8bb0\u70b9\u4ee3\u8868\u5177\u6709\u6700\u5927<a href=\"https:\/\/statorials.org\/cn\/\u6b8b\u7559\u7269\/\" target=\"_blank\" rel=\"noopener\">\u6b8b\u5dee<\/a>\u7684 2 \u4e2a<a href=\"https:\/\/statorials.org\/cn\/\u7edf\u8ba1\u89c2\u5bdf\/\" target=\"_blank\" rel=\"noopener\">\u89c2\u6d4b<\/a>\u503c\u548c\u5177\u6709\u6700\u5927\u90e8\u5206\u6760\u6746\u7684 2 \u4e2a\u89c2\u6d4b\u503c\u3002<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">\u8bf7\u6ce8\u610f\uff0c\u6bcf\u4e2a\u56fe\u4e2d\u7ebf\u6761\u7684\u89d2\u5ea6\u5bf9\u5e94\u4e8e\u4f30\u8ba1\u56de\u5f52\u65b9\u7a0b\u7684\u7cfb\u6570\u7684\u7b26\u53f7\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u4f8b\u5982\uff0c\u4ee5\u4e0b\u662f\u6a21\u578b\u4e2d\u6bcf\u4e2a\u9884\u6d4b\u53d8\u91cf\u7684\u4f30\u8ba1\u7cfb\u6570\uff1a<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\"><strong>\u663e\u793a\uff1a<\/strong> -0.019232<\/span><\/li>\n<li><span style=\"color: #000000;\"><strong>\u901a\u9053\uff1a<\/strong> -0.031229<\/span><\/li>\n<li><span style=\"color: #000000;\"><strong>\u65e5\u671f\uff1a<\/strong> 2.714975<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">\u8bf7\u6ce8\u610f\uff0c\u5728\u6dfb\u52a0\u7684\u53d8\u91cf\u56fe\u4e2d\uff0c <em>drat<\/em>\u7684\u7ebf\u89d2\u5ea6\u4e3a\u6b63\uff0c\u800c<em>disp<\/em>\u548c<em>hp<\/em>\u7684\u7ebf\u89d2\u5ea6\u4e3a\u8d1f\uff0c\u8fd9\u5bf9\u5e94\u4e8e\u5b83\u4eec\u4f30\u8ba1\u7cfb\u6570\u7684\u7b26\u53f7\uff1a<\/span> <\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-12864 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/ajoutevarplots2.png\" alt=\"\u5728 R \u4e2d\u6dfb\u52a0\u53d8\u91cf\u56fe\" width=\"473\" height=\"495\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p><span style=\"color: #000000;\">\u867d\u7136\u6211\u4eec\u65e0\u6cd5\u5728\u4e8c\u7ef4\u56fe\u4e0a\u7ed8\u5236\u4e00\u6761\u62df\u5408\u56de\u5f52\u7ebf\uff0c\u56e0\u4e3a\u6211\u4eec\u6709\u591a\u4e2a\u9884\u6d4b\u53d8\u91cf\uff0c\u4f46\u8fd9\u4e9b\u6dfb\u52a0\u7684\u53d8\u91cf\u56fe\u4f7f\u6211\u4eec\u80fd\u591f\u89c2\u5bdf\u6bcf\u4e2a\u5355\u72ec\u7684\u9884\u6d4b\u53d8\u91cf\u548c\u54cd\u5e94\u53d8\u91cf\u4e4b\u95f4\u7684\u5173\u7cfb\uff0c\u540c\u65f6\u4fdd\u6301\u5176\u4ed6\u9884\u6d4b\u53d8\u91cf\u4e0d\u53d8\u3002<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f53\u6211\u4eec\u5728 R \u4e2d\u6267\u884c\u7b80\u5355\u7ebf\u6027\u56de\u5f52\u65f6\uff0c\u5f88\u5bb9\u6613\u53ef\u89c6\u5316\u62df\u5408\u56de\u5f52\u7ebf\uff0c\u56e0\u4e3a\u6211\u4eec\u53ea\u4f7f\u7528\u5355\u4e2a\u9884\u6d4b\u53d8\u91cf\u548c\u5355\u4e2a\u54cd\u5e94\u53d8\u91cf\u3002 \u4f8b\u5982\uff0c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-1315","post","type-post","status-publish","format-standard","hentry","category-11"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5982\u4f55\u5728 R \u4e2d\u7ed8\u5236\u591a\u5143\u7ebf\u6027\u56de\u5f52\u7ed3\u679c - Statorials<\/title>\n<meta name=\"description\" content=\"\u672c\u6559\u7a0b\u901a\u8fc7\u4e00\u4e2a\u793a\u4f8b\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u7684\u65b9\u6cd5\u6765\u53ef\u89c6\u5316 R \u4e2d\u7684\u591a\u5143\u7ebf\u6027\u56de\u5f52\u7ed3\u679c\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\/cn\/\u5728-r-\u4e2d\u7ed8\u5236\u591a\u5143\u7ebf\u6027\u56de\u5f52\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u5728 R \u4e2d\u7ed8\u5236\u591a\u5143\u7ebf\u6027\u56de\u5f52\u7ed3\u679c - Statorials\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6559\u7a0b\u901a\u8fc7\u4e00\u4e2a\u793a\u4f8b\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u7684\u65b9\u6cd5\u6765\u53ef\u89c6\u5316 R \u4e2d\u7684\u591a\u5143\u7ebf\u6027\u56de\u5f52\u7ed3\u679c\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/cn\/\u5728-r-\u4e2d\u7ed8\u5236\u591a\u5143\u7ebf\u6027\u56de\u5f52\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-26T22:05:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/plotmultipleregression1.png\" \/>\n<meta name=\"author\" content=\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/cn\/%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%a4%9a%e5%85%83%e7%ba%bf%e6%80%a7%e5%9b%9e%e5%bd%92\/\",\"url\":\"https:\/\/statorials.org\/cn\/%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%a4%9a%e5%85%83%e7%ba%bf%e6%80%a7%e5%9b%9e%e5%bd%92\/\",\"name\":\"\u5982\u4f55\u5728 R \u4e2d\u7ed8\u5236\u591a\u5143\u7ebf\u6027\u56de\u5f52\u7ed3\u679c - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/cn\/#website\"},\"datePublished\":\"2023-07-26T22:05:53+00:00\",\"dateModified\":\"2023-07-26T22:05:53+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261\"},\"description\":\"\u672c\u6559\u7a0b\u901a\u8fc7\u4e00\u4e2a\u793a\u4f8b\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u7684\u65b9\u6cd5\u6765\u53ef\u89c6\u5316 R \u4e2d\u7684\u591a\u5143\u7ebf\u6027\u56de\u5f52\u7ed3\u679c\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/cn\/%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%a4%9a%e5%85%83%e7%ba%bf%e6%80%a7%e5%9b%9e%e5%bd%92\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/cn\/%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%a4%9a%e5%85%83%e7%ba%bf%e6%80%a7%e5%9b%9e%e5%bd%92\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/cn\/%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%a4%9a%e5%85%83%e7%ba%bf%e6%80%a7%e5%9b%9e%e5%bd%92\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u5728 r \u4e2d\u7ed8\u5236\u591a\u5143\u7ebf\u6027\u56de\u5f52\u7ed3\u679c\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/cn\/#website\",\"url\":\"https:\/\/statorials.org\/cn\/\",\"name\":\"Statorials\",\"description\":\"\u60a8\u7684\u7edf\u8ba1\u7d20\u517b\u6307\u5357\uff01\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/cn\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261\",\"name\":\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\"},\"description\":\"\u5927\u5bb6\u597d\uff0c\u6211\u662f\u672c\u6770\u660e\uff0c\u4e00\u4f4d\u9000\u4f11\u7684\u7edf\u8ba1\u5b66\u6559\u6388\uff0c\u540e\u6765\u6210\u4e3a Statorials \u7684\u70ed\u5fc3\u6559\u5e08\u3002 \u51ed\u501f\u5728\u7edf\u8ba1\u9886\u57df\u7684\u4e30\u5bcc\u7ecf\u9a8c\u548c\u4e13\u4e1a\u77e5\u8bc6\uff0c\u6211\u6e34\u671b\u5206\u4eab\u6211\u7684\u77e5\u8bc6\uff0c\u901a\u8fc7 Statorials \u589e\u5f3a\u5b66\u751f\u7684\u80fd\u529b\u3002\u4e86\u89e3\u66f4\u591a\",\"sameAs\":[\"https:\/\/statorials.org\/cn\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u5728 R \u4e2d\u7ed8\u5236\u591a\u5143\u7ebf\u6027\u56de\u5f52\u7ed3\u679c - Statorials","description":"\u672c\u6559\u7a0b\u901a\u8fc7\u4e00\u4e2a\u793a\u4f8b\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u7684\u65b9\u6cd5\u6765\u53ef\u89c6\u5316 R \u4e2d\u7684\u591a\u5143\u7ebf\u6027\u56de\u5f52\u7ed3\u679c\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\/cn\/\u5728-r-\u4e2d\u7ed8\u5236\u591a\u5143\u7ebf\u6027\u56de\u5f52\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u5728 R \u4e2d\u7ed8\u5236\u591a\u5143\u7ebf\u6027\u56de\u5f52\u7ed3\u679c - Statorials","og_description":"\u672c\u6559\u7a0b\u901a\u8fc7\u4e00\u4e2a\u793a\u4f8b\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u7684\u65b9\u6cd5\u6765\u53ef\u89c6\u5316 R \u4e2d\u7684\u591a\u5143\u7ebf\u6027\u56de\u5f52\u7ed3\u679c\u3002","og_url":"https:\/\/statorials.org\/cn\/\u5728-r-\u4e2d\u7ed8\u5236\u591a\u5143\u7ebf\u6027\u56de\u5f52\/","og_site_name":"Statorials","article_published_time":"2023-07-26T22:05:53+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/plotmultipleregression1.png"}],"author":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/cn\/%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%a4%9a%e5%85%83%e7%ba%bf%e6%80%a7%e5%9b%9e%e5%bd%92\/","url":"https:\/\/statorials.org\/cn\/%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%a4%9a%e5%85%83%e7%ba%bf%e6%80%a7%e5%9b%9e%e5%bd%92\/","name":"\u5982\u4f55\u5728 R \u4e2d\u7ed8\u5236\u591a\u5143\u7ebf\u6027\u56de\u5f52\u7ed3\u679c - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/cn\/#website"},"datePublished":"2023-07-26T22:05:53+00:00","dateModified":"2023-07-26T22:05:53+00:00","author":{"@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261"},"description":"\u672c\u6559\u7a0b\u901a\u8fc7\u4e00\u4e2a\u793a\u4f8b\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u7684\u65b9\u6cd5\u6765\u53ef\u89c6\u5316 R \u4e2d\u7684\u591a\u5143\u7ebf\u6027\u56de\u5f52\u7ed3\u679c\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/cn\/%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%a4%9a%e5%85%83%e7%ba%bf%e6%80%a7%e5%9b%9e%e5%bd%92\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/cn\/%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%a4%9a%e5%85%83%e7%ba%bf%e6%80%a7%e5%9b%9e%e5%bd%92\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/cn\/%e5%9c%a8-r-%e4%b8%ad%e7%bb%98%e5%88%b6%e5%a4%9a%e5%85%83%e7%ba%bf%e6%80%a7%e5%9b%9e%e5%bd%92\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/cn\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u5728 r \u4e2d\u7ed8\u5236\u591a\u5143\u7ebf\u6027\u56de\u5f52\u7ed3\u679c"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/cn\/#website","url":"https:\/\/statorials.org\/cn\/","name":"Statorials","description":"\u60a8\u7684\u7edf\u8ba1\u7d20\u517b\u6307\u5357\uff01","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/cn\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261","name":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a"},"description":"\u5927\u5bb6\u597d\uff0c\u6211\u662f\u672c\u6770\u660e\uff0c\u4e00\u4f4d\u9000\u4f11\u7684\u7edf\u8ba1\u5b66\u6559\u6388\uff0c\u540e\u6765\u6210\u4e3a Statorials \u7684\u70ed\u5fc3\u6559\u5e08\u3002 \u51ed\u501f\u5728\u7edf\u8ba1\u9886\u57df\u7684\u4e30\u5bcc\u7ecf\u9a8c\u548c\u4e13\u4e1a\u77e5\u8bc6\uff0c\u6211\u6e34\u671b\u5206\u4eab\u6211\u7684\u77e5\u8bc6\uff0c\u901a\u8fc7 Statorials \u589e\u5f3a\u5b66\u751f\u7684\u80fd\u529b\u3002\u4e86\u89e3\u66f4\u591a","sameAs":["https:\/\/statorials.org\/cn"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts\/1315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/comments?post=1315"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts\/1315\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/media?parent=1315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/categories?post=1315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/tags?post=1315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}