{"id":1547,"date":"2023-07-25T22:47:19","date_gmt":"2023-07-25T22:47:19","guid":{"rendered":"https:\/\/statorials.org\/cn\/r-%e4%b8%ad%e7%9a%84-glm-%e4%b8%8e-lm\/"},"modified":"2023-07-25T22:47:19","modified_gmt":"2023-07-25T22:47:19","slug":"r-%e4%b8%ad%e7%9a%84-glm-%e4%b8%8e-lm","status":"publish","type":"post","link":"https:\/\/statorials.org\/cn\/r-%e4%b8%ad%e7%9a%84-glm-%e4%b8%8e-lm\/","title":{"rendered":"R\u4e2dglm\u548clm\u7684\u533a\u522b"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">R\u7f16\u7a0b\u8bed\u8a00\u63d0\u4f9b\u4e86\u4ee5\u4e0b\u7528\u4e8e\u62df\u5408\u7ebf\u6027\u6a21\u578b\u7684\u51fd\u6570\uff1a<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>1. lm \u2013 \u7528\u4e8e\u62df\u5408\u7ebf\u6027\u6a21\u578b<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">\u8be5\u51fd\u6570\u4f7f\u7528\u4ee5\u4e0b\u8bed\u6cd5\uff1a<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>lm(\u516c\u5f0f\u3001\u6570\u636e\u3001&#8230;)<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">\u91d1\u5b50\uff1a<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\"><strong>Formula\uff1a<\/strong>\u7ebf\u6027\u6a21\u578b\u516c\u5f0f\uff08\u4f8b\u5982y ~ x1 + x2\uff09<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>data\uff1a<\/strong>\u5305\u542b\u6570\u636e\u7684\u6570\u636e\u5757\u7684\u540d\u79f0<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\"><strong>2.glm\u2014\u2014\u7528\u4e8e\u62df\u5408\u5e7f\u4e49\u7ebf\u6027\u6a21\u578b<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">\u8be5\u51fd\u6570\u4f7f\u7528\u4ee5\u4e0b\u8bed\u6cd5\uff1a<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>glm\uff08\u516c\u5f0f\uff0c\u65cf=\u9ad8\u65af\uff0c\u6570\u636e\uff0c&#8230;\uff09<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">\u91d1\u5b50\uff1a<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\"><strong>Formula\uff1a<\/strong>\u7ebf\u6027\u6a21\u578b\u516c\u5f0f\uff08\u4f8b\u5982y ~ x1 + x2\uff09<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>family\uff1a<\/strong>\u7528\u4e8e\u62df\u5408\u6a21\u578b\u7684\u7edf\u8ba1\u65cf\u3002\u9ed8\u8ba4\u4e3a\u9ad8\u65af\uff0c\u4f46\u5176\u4ed6\u9009\u9879\u5305\u62ec\u4e8c\u9879\u5f0f\u3001\u4f3d\u739b\u548c\u6cca\u677e\u7b49\u3002<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>data\uff1a<\/strong>\u5305\u542b\u6570\u636e\u7684\u6570\u636e\u5757\u7684\u540d\u79f0<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">\u8bf7\u6ce8\u610f\uff0c\u8fd9\u4e24\u4e2a\u51fd\u6570\u4e4b\u95f4\u7684\u552f\u4e00\u533a\u522b\u662f<strong>glm()<\/strong>\u51fd\u6570\u4e2d\u5305\u542b\u7684<strong>\u7cfb\u5217<\/strong>\u53c2\u6570\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u5982\u679c\u60a8\u4f7f\u7528 lm() \u6216 glm() \u6765\u62df\u5408\u7ebf\u6027\u56de\u5f52\u6a21\u578b\uff0c<strong>\u5b83\u4eec\u5c06\u4ea7\u751f\u5b8c\u5168\u76f8\u540c\u7684\u7ed3\u679c<\/strong>\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u4f46\u662f\uff0cglm() \u51fd\u6570\u4e5f\u53ef\u7528\u4e8e\u62df\u5408\u66f4\u590d\u6742\u7684\u6a21\u578b\uff0c\u4f8b\u5982\uff1a<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">\u903b\u8f91\u56de\u5f52\uff08\u65cf=\u4e8c\u9879\u5f0f\uff09<\/span><\/li>\n<li> <span style=\"color: #000000;\"><a href=\"https:\/\/statorials.org\/cn\/\u9c7c\u56de\u5f52\/\" target=\"_blank\" rel=\"noopener\">\u6cca\u677e\u56de\u5f52<\/a>\uff08\u5bb6\u5ead=\u9c7c\uff09<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">\u4ee5\u4e0b\u793a\u4f8b\u5c55\u793a\u4e86\u5982\u4f55\u5728\u5b9e\u8df5\u4e2d\u4f7f\u7528 lm() \u548c glm() \u51fd\u6570\u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u4f7f\u7528 lm() \u51fd\u6570\u7684\u793a\u4f8b<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u4ee5\u4e0b\u4ee3\u7801\u663e\u793a\u5982\u4f55\u4f7f\u7528 lm() \u51fd\u6570\u62df\u5408<strong>\u7ebf\u6027\u56de\u5f52\u6a21\u578b<\/strong>\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#fit multiple linear regression model\n<\/span>model &lt;- lm(mpg ~ disp + hp, data=mtcars)\n\n<span style=\"color: #008080;\">#view model summary\n<\/span>summary(model)\n\nCall:\nlm(formula = mpg ~ disp + hp, data = mtcars)\n\nResiduals:\n    Min 1Q Median 3Q Max \n-4.7945 -2.3036 -0.8246 1.8582 6.9363 \n\nCoefficients:\n             Estimate Std. Error t value Pr(&gt;|t|)    \n(Intercept) 30.735904 1.331566 23.083 &lt; 2nd-16 ***\navailable -0.030346 0.007405 -4.098 0.000306 ***\nhp -0.024840 0.013385 -1.856 0.073679 .  \n---\nSignificant. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1\n\nResidual standard error: 3.127 on 29 degrees of freedom\nMultiple R-squared: 0.7482, Adjusted R-squared: 0.7309 \nF-statistic: 43.09 on 2 and 29 DF, p-value: 2.062e-09<\/strong><\/pre>\n<h3><span style=\"color: #000000;\"><strong>\u4f7f\u7528 glm() \u51fd\u6570\u7684\u793a\u4f8b<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u4ee5\u4e0b\u4ee3\u7801\u663e\u793a\u5982\u4f55\u4f7f\u7528 glm() \u51fd\u6570\u62df\u5408\u5b8c\u5168\u76f8\u540c\u7684<strong>\u7ebf\u6027\u56de\u5f52\u6a21\u578b<\/strong>\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#fit multiple linear regression model\n<\/span>model &lt;- glm(mpg ~ disp + hp, data=mtcars)\n\n<span style=\"color: #008080;\">#view model summary\n<\/span>summary(model)\n\nCall:\nglm(formula = mpg ~ disp + hp, data = mtcars)\n\nDeviance Residuals: \n    Min 1Q Median 3Q Max  \n-4.7945 -2.3036 -0.8246 1.8582 6.9363  \n\nCoefficients:\n             Estimate Std. Error t value Pr(&gt;|t|)    \n(Intercept) 30.735904 1.331566 23.083 &lt; 2nd-16 ***\navailable -0.030346 0.007405 -4.098 0.000306 ***\nhp -0.024840 0.013385 -1.856 0.073679 .  \n---\nSignificant. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1\n\n(Dispersion parameter for gaussian family taken to be 9.775636)\n\n    Null deviance: 1126.05 on 31 degrees of freedom\nResidual deviance: 283.49 on 29 degrees of freedom\nAIC: 168.62\n\nNumber of Fisher Scoring iterations: 2<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u8bf7\u6ce8\u610f\uff0c\u7cfb\u6570\u4f30\u8ba1\u503c\u548c\u7cfb\u6570\u4f30\u8ba1\u503c\u7684\u6807\u51c6\u8bef\u5dee\u4e0e lm() \u51fd\u6570\u751f\u6210\u7684\u503c\u5b8c\u5168\u76f8\u540c\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u8bf7\u6ce8\u610f\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9a family=binomial \u6765\u4f7f\u7528 glm() \u51fd\u6570\u6765\u62df\u5408<strong>\u903b\u8f91\u56de\u5f52\u6a21\u578b\uff0c<\/strong>\u5982\u4e0b\u6240\u793a\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#fit logistic regression model\n<\/span>model &lt;- glm(am ~ disp + hp, data=mtcars, family=binomial)\n\n<span style=\"color: #008080;\">#view model summary\n<\/span>summary(model)\n\nCall:\nglm(formula = am ~ disp + hp, family = binomial, data = mtcars)\n\nDeviance Residuals: \n    Min 1Q Median 3Q Max  \n-1.9665 -0.3090 -0.0017 0.3934 1.3682  \n\nCoefficients:\n            Estimate Std. Error z value Pr(&gt;|z|)  \n(Intercept) 1.40342 1.36757 1.026 0.3048  \navailable -0.09518 0.04800 -1.983 0.0474 *\nhp 0.12170 0.06777 1.796 0.0725 .\n---\nSignificant. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1\n\n(Dispersion parameter for binomial family taken to be 1)\n\n    Null deviance: 43,230 on 31 degrees of freedom\nResidual deviance: 16,713 on 29 degrees of freedom\nAIC: 22,713\n\nNumber of Fisher Scoring iterations: 8\n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u6211\u4eec\u8fd8\u53ef\u4ee5\u4f7f\u7528 glm() \u51fd\u6570\u901a\u8fc7\u6307\u5b9a family=poisson \u6765\u62df\u5408<strong>\u6cca\u677e\u56de\u5f52\u6a21\u578b\uff0c<\/strong>\u5982\u4e0b\u6240\u793a\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#fit Poisson regression model\n<\/span>model &lt;- glm(am ~ disp + hp, data=mtcars, family=fish)\n\n<span style=\"color: #008080;\">#view model summary\n<\/span>summary(model)\n\nCall:\nglm(formula = am ~ disp + hp, family = fish, data = mtcars)\n\nDeviance Residuals: \n    Min 1Q Median 3Q Max  \n-1.1266 -0.4629 -0.2453 0.1797 1.5428  \n\nCoefficients:\n             Estimate Std. Error z value Pr(&gt;|z|)   \n(Intercept) 0.214255 0.593463 0.361 0.71808   \navailable -0.018915 0.007072 -2.674 0.00749 **\nhp 0.016522 0.007163 2.307 0.02107 * \n---\nSignificant. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1\n\n(Dispersion parameter for fish family taken to be 1)\n\n    Null deviance: 23,420 on 31 degrees of freedom\nResidual deviance: 10,526 on 29 degrees of freedom\nAIC: 42,526\n\nNumber of Fisher Scoring iterations: 6\n<\/strong><\/pre>\n<h3><span style=\"color: #000000;\"><strong>\u5176\u4ed6\u8d44\u6e90<\/strong><\/span><\/h3>\n<p><a href=\"https:\/\/statorials.org\/cn\/r-\u4e2d\u7684\u7b80\u5355\u7ebf\u6027\u56de\u5f52\/\" target=\"_blank\" rel=\"noopener\">\u5982\u4f55\u5728 R \u4e2d\u6267\u884c\u7b80\u5355\u7ebf\u6027\u56de\u5f52<\/a><br \/><a href=\"https:\/\/statorials.org\/cn\/\u591a\u5143\u7ebf\u6027\u56de\u5f52\/\" target=\"_blank\" rel=\"noopener\">\u5982\u4f55\u5728 R \u4e2d\u6267\u884c\u591a\u5143\u7ebf\u6027\u56de\u5f52<\/a><br \/><a href=\"https:\/\/statorials.org\/cn\/r-glm-\u9884\u6d4b\/\" target=\"_blank\" rel=\"noopener\">\u5982\u4f55\u5728 R \u4e2d\u4f7f\u7528 glm \u7684\u9884\u6d4b\u51fd\u6570<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>R\u7f16\u7a0b\u8bed\u8a00\u63d0\u4f9b\u4e86\u4ee5\u4e0b\u7528\u4e8e\u62df\u5408\u7ebf\u6027\u6a21\u578b\u7684\u51fd\u6570\uff1a 1. lm \u2013 \u7528\u4e8e\u62df\u5408\u7ebf\u6027\u6a21\u578b \u8be5\u51fd\u6570\u4f7f\u7528\u4ee5\u4e0b\u8bed\u6cd5\uff1a lm(\u516c [&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-1547","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>R\u4e2dglm\u548clm\u7684\u533a\u522b<\/title>\n<meta name=\"description\" content=\"\u672c\u6559\u7a0b\u901a\u8fc7\u51e0\u4e2a\u793a\u4f8b\u89e3\u91ca\u4e86 R \u4e2d glm \u548c lm \u51fd\u6570\u4e4b\u95f4\u7684\u533a\u522b\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\/r-\u4e2d\u7684-glm-\u4e0e-lm\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"R\u4e2dglm\u548clm\u7684\u533a\u522b\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6559\u7a0b\u901a\u8fc7\u51e0\u4e2a\u793a\u4f8b\u89e3\u91ca\u4e86 R \u4e2d glm \u548c lm \u51fd\u6570\u4e4b\u95f4\u7684\u533a\u522b\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/cn\/r-\u4e2d\u7684-glm-\u4e0e-lm\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-25T22:47:19+00:00\" \/>\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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/cn\/r-%e4%b8%ad%e7%9a%84-glm-%e4%b8%8e-lm\/\",\"url\":\"https:\/\/statorials.org\/cn\/r-%e4%b8%ad%e7%9a%84-glm-%e4%b8%8e-lm\/\",\"name\":\"R\u4e2dglm\u548clm\u7684\u533a\u522b\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/cn\/#website\"},\"datePublished\":\"2023-07-25T22:47:19+00:00\",\"dateModified\":\"2023-07-25T22:47:19+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261\"},\"description\":\"\u672c\u6559\u7a0b\u901a\u8fc7\u51e0\u4e2a\u793a\u4f8b\u89e3\u91ca\u4e86 R \u4e2d glm \u548c lm \u51fd\u6570\u4e4b\u95f4\u7684\u533a\u522b\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/cn\/r-%e4%b8%ad%e7%9a%84-glm-%e4%b8%8e-lm\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/cn\/r-%e4%b8%ad%e7%9a%84-glm-%e4%b8%8e-lm\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/cn\/r-%e4%b8%ad%e7%9a%84-glm-%e4%b8%8e-lm\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"R\u4e2dglm\u548clm\u7684\u533a\u522b\"}]},{\"@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":"R\u4e2dglm\u548clm\u7684\u533a\u522b","description":"\u672c\u6559\u7a0b\u901a\u8fc7\u51e0\u4e2a\u793a\u4f8b\u89e3\u91ca\u4e86 R \u4e2d glm \u548c lm \u51fd\u6570\u4e4b\u95f4\u7684\u533a\u522b\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\/r-\u4e2d\u7684-glm-\u4e0e-lm\/","og_locale":"zh_CN","og_type":"article","og_title":"R\u4e2dglm\u548clm\u7684\u533a\u522b","og_description":"\u672c\u6559\u7a0b\u901a\u8fc7\u51e0\u4e2a\u793a\u4f8b\u89e3\u91ca\u4e86 R \u4e2d glm \u548c lm \u51fd\u6570\u4e4b\u95f4\u7684\u533a\u522b\u3002","og_url":"https:\/\/statorials.org\/cn\/r-\u4e2d\u7684-glm-\u4e0e-lm\/","og_site_name":"Statorials","article_published_time":"2023-07-25T22:47:19+00:00","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":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/cn\/r-%e4%b8%ad%e7%9a%84-glm-%e4%b8%8e-lm\/","url":"https:\/\/statorials.org\/cn\/r-%e4%b8%ad%e7%9a%84-glm-%e4%b8%8e-lm\/","name":"R\u4e2dglm\u548clm\u7684\u533a\u522b","isPartOf":{"@id":"https:\/\/statorials.org\/cn\/#website"},"datePublished":"2023-07-25T22:47:19+00:00","dateModified":"2023-07-25T22:47:19+00:00","author":{"@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261"},"description":"\u672c\u6559\u7a0b\u901a\u8fc7\u51e0\u4e2a\u793a\u4f8b\u89e3\u91ca\u4e86 R \u4e2d glm \u548c lm \u51fd\u6570\u4e4b\u95f4\u7684\u533a\u522b\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/cn\/r-%e4%b8%ad%e7%9a%84-glm-%e4%b8%8e-lm\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/cn\/r-%e4%b8%ad%e7%9a%84-glm-%e4%b8%8e-lm\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/cn\/r-%e4%b8%ad%e7%9a%84-glm-%e4%b8%8e-lm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/cn\/"},{"@type":"ListItem","position":2,"name":"R\u4e2dglm\u548clm\u7684\u533a\u522b"}]},{"@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\/1547","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=1547"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts\/1547\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/media?parent=1547"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/categories?post=1547"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/tags?post=1547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}