{"id":1761,"date":"2021-06-11T19:50:38","date_gmt":"2021-06-11T11:50:38","guid":{"rendered":"http:\/\/cnliutz.uicp.io\/?p=1761"},"modified":"2024-05-31T16:00:12","modified_gmt":"2024-05-31T08:00:12","slug":"%e4%bb%85%e6%9c%89%e5%90%84%e7%bb%84%e6%a0%b7%e6%9c%ac%e4%be%8b%e6%95%b0%ef%bc%8c%e5%9d%87%e6%95%b0%e3%80%81%e6%a0%87%e5%87%86%e5%b7%ae%e5%a6%82%e4%bd%95%e8%bf%9b%e8%a1%8c%e6%96%b9%e5%b7%ae%e5%88%86","status":"publish","type":"post","link":"http:\/\/g1n29wqq.ipyingshe.net:5347\/?p=1761","title":{"rendered":"\u4ec5\u6709\u5404\u7ec4\u6837\u672c\u4f8b\u6570\uff0c\u5747\u6570\u3001\u6807\u51c6\u5dee\u5982\u4f55\u8fdb\u884c\u65b9\u5dee\u5206\u6790\uff1f\u63d0\u4f9bR\u8bed\u8a00\u4ee3\u7801"},"content":{"rendered":"\n<p><strong>SPSS\u76f8\u5173\u7f16\u7a0b\uff1a<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"440\" height=\"293\" src=\"http:\/\/cnliutz.uicp.io\/wp-content\/uploads\/2021\/06\/sigma.jpeg\" alt=\"\" class=\"wp-image-1769\" srcset=\"http:\/\/g1n29wqq.ipyingshe.net:5347\/wp-content\/uploads\/2021\/06\/sigma.jpeg 440w, http:\/\/g1n29wqq.ipyingshe.net:5347\/wp-content\/uploads\/2021\/06\/sigma-300x200.jpeg 300w\" sizes=\"auto, (max-width: 440px) 100vw, 440px\" \/><\/figure>\n\n\n\n<p>data list free\/x1 x2 x3 s1 s2 s3 .<br>begin data<br>17 13 16 7.4 8.8 3.2<br>end data.<br>compute ss1=s1**2*49+s2**2*57+s3**2*51.<br>compute MS1=ss1\/157.<br>compute X=(x1*50+x2*58+x3*52)\/160.<br>compute ss2=50*(x1-X)**2+58*(x2-X)**2+52*(x3-X)**2.<br>compute MS2=ss2\/2.<\/p>\n\n\n\n<p>compute F=MS2\/MS1.<br>compute p=1-CDF.F(F,2,157).<br>execute.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>``{r} #R \u7a0b\u5e8f\nn &lt;-c(201,285,252)            #\u4f8b\u6570-\u6837\u672c\u6570\nmeans &lt;-c(85.26,88.29,90.66)  #\u5404\u7ec4\u5747\u6570\ns &lt;-c(6.87,5.32,9.02)         #\u5404\u7ec4\u6807\u51c6\u5dee\n\nanova&lt;-function(n,means,s){\n    ss1 &lt;-s^2*(n-1)\n    ss1 &lt;- sum(ss1)    #\u7ec4\u5185\u5e73\u65b9\u548c\n    ms1 &lt;- ss1\/(sum(n)-length(n))    #\u7ec4\u5185\u5747\u65b9\n    X &lt;- sum(means*n)\/sum(n)        #\u603b\u5747\u6570\n    ss2 &lt;- sum(n*(means-X)^2)   #\u7ec4\u95f4\u5e73\u65b9\u548c\n    ms2 &lt;- ss2\/(length(n)-1)  #\u7ec4\u95f4\u5747\u65b9\n    ms2\n    F &lt;-ms2\/ms1\n    P &lt;-1- pf(F,length(n)-1,sum(n),lower.tail=F)\n    results&lt;-list(\"\u7ec4\u95f4\u5747\u65b9\uff1a\",ms1,\"\u7ec4\u5185\u5747\u65b9\uff1a\",ms2,\"F-value:\",F,\"P-value:\",P)\n  return(results)\n}\nanova(n,means,s)<\/code><\/pre>\n\n\n\n<p><strong>\u4e3e\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<p>\u539f\u59cb\u6570\u636e\u7684\u7edf\u8ba1\u63cf\u8ff0\uff1a<br>\u7ec4\u522b\u3000\u4f8b\u6570\u3000\u5e73\u5747\u6570\u3000\u3000\u3000\u6807\u51c6\u5dee\u3000\u3000\u3000\u6807\u51c6\u8bef<br>1\u3000\u3000\u300050 \u3000 17.0000\u3000&nbsp;&nbsp;7.4000 \u3000\u3000 1.0465<br>2\u3000\u3000\u300058\u3000\u300013.0000 \u3000 8.8000\u3000\u3000\u30001.1555<br>3 \u3000\u3000 52\u3000\u300016.0000\u3000&nbsp;&nbsp;3.2000\u3000\u3000\u30000.4438<br><br>\u53c2\u6570\u7edf\u8ba1\u5e94\u7528\u6761\u4ef6\u68c0\u67e5\uff1a<br>1) \u6b63\u6001\u6027\u68c0\u9a8c(\u77e9\u6cd5):<br>\u6837\u672c\u542b\u91cf\u8db3\u591f\u5927,\u4e0d\u5fc5\u8fdb\u884c\u6b63\u6001\u6027\u68c0\u9a8c!<br><br>2) \u65b9\u5dee\u9f50\u6027\u68c0\u9a8c:<br>\u5361\u65b9\u503c=46.4058, P=0.0000<br>\u6309\u03b1=0.0500\u6c34\u51c6\uff0c\u53ef\u8ba4\u4e3a\u8be5\u8d44\u6599\u65b9\u5dee\u4e0d\u9f50!<br><br>\u53c2\u6570\u7edf\u8ba1\u7ed3\u679c\uff1a<br><br>\u65b9\u5dee\u5206\u6790:<br>Ho:\u5404\u4e2a\u603b\u4f53\u5747\u6570\u76f8\u7b49<br>H1:\u5404\u4e2a\u603b\u4f53\u5747\u6570\u4e0d\u76f8\u7b49\u6216\u4e0d\u5168\u76f8\u7b49<br>\u03b1=0.0500<br><br>\u65b9\u5dee\u5206\u6790\u7ed3\u679c<br>=========================================<br>\u53d8\u5f02\u6765\u6e90\u3000\u3000SS\u3000\u3000\u3000 \u03bd \u3000\u3000\u3000MS\u3000\u3000\u3000\u3000\u3000\u3000F \u3000\u3000\u3000P<br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br>\u603b \u3000\u3000\u3000\u30008095.4600\u3000159<br>\u7ec4\u95f4\u3000\u3000\u3000475.9000\u3000\u3000\u30002\u3000\u3000237.9500 \u3000\u30004.90\u30000.0086<br>\u7ec4\u5185\u3000\u3000\u30007619.5600\u3000\u3000157\u3000\u300048.5322<br>============================================================<br><br>\u7ed3\u8bba:\u7ecf\u8fc7\u65b9\u5dee\u5206\u6790,\u5f97P=0.0086,\u6309\u03b1=0.0500\u6c34\u51c6\u62d2\u7eddHo,\u63a5\u53d7H1,\u6545\u53ef\u8ba4\u4e3a\u5404\u7ec4\u603b\u4f53\u5747\u6570\u4e0d\u76f8\u7b49!<br><br>3\u4e2a\u6837\u672c\u5747\u6570\u4e24\u4e24\u6bd4\u8f83\u7684q\u68c0\u9a8c(Newman-Keuls\u6cd5)<br>=============================================<br>\u7ec4\u522b\u3000\u3000\u3000\u3000\u4e24\u5747\u6570\u4e4b\u5dee\u3000\u3000\u3000\u7ec4\u6570\u3000\u3000Q\u503c\u3000\u3000\u3000&nbsp;&nbsp;P\u503c<br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br>\u7b2c 1\u4e0e\u7b2c 2\u30004.0000\u3000\u3000\u3000\u3000\u30003\u3000\u3000\u3000 4.2077\u3000\u3000\u3000&lt;0.05<br>\u7b2c 1\u4e0e\u7b2c 3\u30001.0000 \u3000\u3000\u3000\u3000 2\u3000\u3000 \u30001.0249\u3000\u3000\u3000&gt;0.05<br>\u7b2c 2\u4e0e\u7b2c 3\u30003.0000\u3000\u3000\u3000\u3000\u30002 \u3000\u3000\u30003.1889 \u3000\u3000 &lt;0.05<br>=============================================<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>\u5e73\u5747\u4f4f\u9662\u65e5\uff08\u5929\uff09<br><br>\u539f\u59cb\u6570\u636e\u7684\u7edf\u8ba1\u63cf\u8ff0\uff1a<br>\u7ec4\u522b\u3000\u4f8b\u6570\u3000\u3000\u5e73\u5747\u6570 \u3000\u3000\u6807\u51c6\u5dee\u3000\u3000\u3000\u6807\u51c6\u8bef<br>1\u3000\u300050 \u3000\u3000\u300028.0000 \u3000\u30006.1000\u3000\u3000 0.8627<br>2\u3000\u300058\u3000\u3000\u3000 22.0000\u3000\u3000 5.7000\u3000\u3000 0.7484<br>3 \u3000 52 \u3000\u3000&nbsp;&nbsp;25.0000 \u3000\u30001.7000 \u3000\u30000.2357<br><br>\u53c2\u6570\u7edf\u8ba1\u5e94\u7528\u6761\u4ef6\u68c0\u67e5\uff1a<br>1) \u6b63\u6001\u6027\u68c0\u9a8c(\u77e9\u6cd5):<br>\u6837\u672c\u542b\u91cf\u8db3\u591f\u5927,\u4e0d\u5fc5\u8fdb\u884c\u6b63\u6001\u6027\u68c0\u9a8c!<br><br>2) \u65b9\u5dee\u9f50\u6027\u68c0\u9a8c:<br>\u5361\u65b9\u503c=70.8595, P=0.0000<br>\u6309\u03b1=0.0500\u6c34\u51c6\uff0c\u53ef\u8ba4\u4e3a\u8be5\u8d44\u6599\u65b9\u5dee\u4e0d\u9f50!<br><br>\u53c2\u6570\u7edf\u8ba1\u7ed3\u679c\uff1a<br><br>\u65b9\u5dee\u5206\u6790:<br>Ho:\u5404\u4e2a\u603b\u4f53\u5747\u6570\u76f8\u7b49<br>H1:\u5404\u4e2a\u603b\u4f53\u5747\u6570\u4e0d\u76f8\u7b49\u6216\u4e0d\u5168\u76f8\u7b49<br>\u03b1=0.0500<br><br>\u65b9\u5dee\u5206\u6790\u7ed3\u679c<br>=============================================<br>\u53d8\u5f02\u6765\u6e90\u3000\u3000\u3000\u3000SS\u3000\u3000&nbsp;&nbsp;&nbsp;\u03bd \u3000\u3000 MS\u3000\u3000\u3000\u3000\u3000F \u3000\u3000\u3000P<br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br>\u603b \u3000\u3000\u3000\u3000\u30004791.0100\u3000 159<br>\u7ec4\u95f4\u3000\u3000\u3000\u3000 968.4000\u3000\u30002\u3000\u3000 484.2000\u3000&nbsp;&nbsp;19.89\u30000.0000<br>\u7ec4\u5185\u3000\u3000\u3000\u3000 3822.6100\u3000 157 \u300024.3478<br>============================================================<br><br>\u7ed3\u8bba:\u7ecf\u8fc7\u65b9\u5dee\u5206\u6790,\u5f97P=0.0000,\u6309\u03b1=0.0500\u6c34\u51c6\u62d2\u7eddHo,\u63a5\u53d7H1,\u6545\u53ef\u8ba4\u4e3a\u5404\u7ec4\u603b\u4f53\u5747\u6570\u4e0d\u76f8\u7b49!<br><br>3\u4e2a\u6837\u672c\u5747\u6570\u4e24\u4e24\u6bd4\u8f83\u7684q\u68c0\u9a8c(Newman-Keuls\u6cd5)<br>=======================================<br>\u7ec4\u3000\u522b \u3000\u3000\u3000\u4e24\u5747\u6570\u4e4b\u5dee\u3000\u3000\u7ec4\u6570\u3000&nbsp;&nbsp;Q\u503c\u3000\u3000\u3000P\u503c<br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br>\u7b2c 1\u4e0e\u7b2c 2\u3000\u30006.0000 \u3000\u3000\u3000 3\u3000\u3000 8.9109 \u3000 &lt;0.01<br>\u7b2c 1\u4e0e\u7b2c 3 \u3000 3.0000 \u3000\u3000\u3000 2\u3000\u3000 4.3410\u3000\u3000&lt;0.01<br>\u7b2c 2\u4e0e\u7b2c 3&nbsp;&nbsp;\u30003.0000\u3000\u3000\u3000&nbsp;&nbsp;2\u3000\u3000 4.5022\u3000\u3000&lt;0.01<br>========================================<\/p>\n\n\n\n<p>\u53c2\u8003\uff1a<a rel=\"noreferrer noopener\" href=\"http:\/\/blog.sina.com.cn\/s\/blog_4e9e6d470100b5ow.html\" data-type=\"URL\" data-id=\"http:\/\/blog.sina.com.cn\/s\/blog_4e9e6d470100b5ow.html\" target=\"_blank\">http:\/\/blog.sina.com.cn\/s\/blog_4e9e6d470100b5ow.html<\/a><br><a href=\"http:\/\/www.360doc.com\/content\/19\/0124\/20\/52645714_811083449.shtml\" data-type=\"URL\" data-id=\"http:\/\/www.360doc.com\/content\/19\/0124\/20\/52645714_811083449.shtml\">http:\/\/www.360doc.com\/content\/19\/0124\/20\/52645714_811083449.shtml<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SPSS\u76f8\u5173\u7f16\u7a0b\uff1a data list free\/x1 x2 x3 s1 s2  <span class=\"readmore\"><a href=\"http:\/\/g1n29wqq.ipyingshe.net:5347\/?p=1761\">Continue Reading<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1761","post","type-post","status-publish","format-standard","hentry","category-statistics"],"_links":{"self":[{"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts\/1761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1761"}],"version-history":[{"count":6,"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts\/1761\/revisions"}],"predecessor-version":[{"id":4518,"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts\/1761\/revisions\/4518"}],"wp:attachment":[{"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1761"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}