{"id":347,"date":"2012-11-27T21:27:20","date_gmt":"2012-11-28T02:27:20","guid":{"rendered":"http:\/\/zhanxw.com\/blog\/?p=347"},"modified":"2012-11-27T21:27:20","modified_gmt":"2012-11-28T02:27:20","slug":"%e5%86%99%e7%bb%9f%e8%ae%a1%e8%bd%af%e4%bb%b6%e7%9a%84%e4%b8%a4%e4%b8%aa%e5%b8%b8%e8%a7%81%e9%94%99%e8%af%af","status":"publish","type":"post","link":"https:\/\/zhanxw.com\/blog\/2012\/11\/%e5%86%99%e7%bb%9f%e8%ae%a1%e8%bd%af%e4%bb%b6%e7%9a%84%e4%b8%a4%e4%b8%aa%e5%b8%b8%e8%a7%81%e9%94%99%e8%af%af\/","title":{"rendered":"\u5199\u7edf\u8ba1\u8f6f\u4ef6\u7684\u4e24\u4e2a\u5e38\u89c1\u9519\u8bef"},"content":{"rendered":"<p>Two common mistakes when writing statistics software<\/p>\n<p>\u6700\u8fd1\u5728\u5199\u4e00\u4e2a\u8f6f\u4ef6\uff0c\u53d1\u73b0\u4e24\u4e2a\u5e38\u89c1\u7684\u9519\u8bef\uff1a<\/p>\n<p>1. \u7f3a\u5931 \u6570\u636e\u7684\u5904\u7406<\/p>\n<p>\u5bf9\u4e8e\u7f3a\u5931\u6570\u636e\uff0c\u8868\u793a\u4e0a\u53ef\u4ee5\u662fNA, &#8220;.&#8221;, -9\uff0c\u5e94\u8be5\u5148\u4fdd\u8bc1\u8f6f\u4ef6\u8bfb\u5165\u7684\u6570\u5b57\u662f\u6b63\u786e\u7684\u3002<\/p>\n<p>\u4e4b\u540e\uff0c\u5728\u6a21\u578b\u4e2d\uff0c\u662f\u5e94\u8be5\u4e22\u6389\u6570\u636e\uff0c\u8fd8\u662fimpute\u6570\u636e\uff1f\u662fimpute\u5230\u5747\u503c\u8fd8\u662f\u7528\u968f\u673a\u6570\u503c\uff1f<\/p>\n<p>\u5728\u5199\u8f6f\u4ef6\u7684\u65f6\u5019\u5fc5\u987b\u8981\u6e05\u695a\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>2. \u6570\u503c\u8fd0\u7b97\u7684\u7ef4\u6570<\/p>\n<p>\u5728\u7edf\u8ba1\u4e2d\uff0c\u5e38\u5e38\u6709\u5927\u91cf\u7684\u6570\u503c\u8fd0\u7b97\uff0c\u6bd4\u5982\u77e9\u9635\u76f8\u4e58\u3002<\/p>\n<p>\u5728\u6587\u7ae0\u4e2d\u8fd9\u7c7b\u8fd0\u7b97\u5f80\u5f80\u4f1a\u5ffd\u7565\u7ef4\u6570\uff0c\u6bd4\u5982\u77e9\u9635\u7684\u884c\u6570\u548c\u5217\u6570\u3002<\/p>\n<p>\u8fd9\u65f6\u5019\u8f6f\u4ef6\u4e2d\u5e94\u52a0\u5165\u66f4\u591a\u7684\u8fb9\u754c\u68c0\u67e5\uff0c\u8fd9\u6837\u5c31\u80fd\u907f\u514d\u7a0b\u5e8f\u5d29\u6e83\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Two common mistakes when writing statistics software \u6700\u8fd1\u5728\u5199\u4e00\u4e2a\u8f6f\u4ef6\uff0c\u53d1\u73b0\u4e24\u4e2a\u5e38\u89c1\u7684\u9519\u8bef\uff1a 1. \u7f3a\u5931 \u6570\u636e\u7684\u5904\u7406 \u5bf9\u4e8e\u7f3a\u5931\u6570\u636e\uff0c\u8868\u793a\u4e0a\u53ef\u4ee5\u662fNA, &#8220;.&#8221;, -9\uff0c\u5e94\u8be5\u5148\u4fdd\u8bc1\u8f6f\u4ef6\u8bfb\u5165\u7684\u6570\u5b57\u662f\u6b63\u786e\u7684\u3002 \u4e4b\u540e\uff0c\u5728\u6a21\u578b\u4e2d\uff0c\u662f\u5e94\u8be5\u4e22\u6389\u6570\u636e\uff0c\u8fd8\u662fimpute\u6570\u636e\uff1f\u662fimpute\u5230\u5747\u503c\u8fd8\u662f\u7528\u968f\u673a\u6570\u503c\uff1f \u5728\u5199\u8f6f\u4ef6\u7684\u65f6\u5019\u5fc5\u987b\u8981\u6e05\u695a\u3002 &nbsp; 2. \u6570\u503c\u8fd0\u7b97\u7684\u7ef4\u6570 \u5728\u7edf\u8ba1\u4e2d\uff0c\u5e38\u5e38\u6709\u5927\u91cf\u7684\u6570\u503c\u8fd0\u7b97\uff0c\u6bd4\u5982\u77e9\u9635\u76f8\u4e58\u3002 \u5728\u6587\u7ae0\u4e2d\u8fd9\u7c7b\u8fd0\u7b97\u5f80\u5f80\u4f1a\u5ffd\u7565\u7ef4\u6570\uff0c\u6bd4\u5982\u77e9\u9635\u7684\u884c\u6570\u548c\u5217\u6570\u3002 \u8fd9\u65f6\u5019\u8f6f\u4ef6\u4e2d\u5e94\u52a0\u5165\u66f4\u591a\u7684\u8fb9\u754c\u68c0\u67e5\uff0c\u8fd9\u6837\u5c31\u80fd\u907f\u514d\u7a0b\u5e8f\u5d29\u6e83\u3002 &nbsp; &nbsp;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,15],"tags":[],"class_list":["post-347","post","type-post","status-publish","format-standard","hentry","category-code","category-statistics"],"_links":{"self":[{"href":"https:\/\/zhanxw.com\/blog\/wp-json\/wp\/v2\/posts\/347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zhanxw.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zhanxw.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zhanxw.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/zhanxw.com\/blog\/wp-json\/wp\/v2\/comments?post=347"}],"version-history":[{"count":0,"href":"https:\/\/zhanxw.com\/blog\/wp-json\/wp\/v2\/posts\/347\/revisions"}],"wp:attachment":[{"href":"https:\/\/zhanxw.com\/blog\/wp-json\/wp\/v2\/media?parent=347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zhanxw.com\/blog\/wp-json\/wp\/v2\/categories?post=347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zhanxw.com\/blog\/wp-json\/wp\/v2\/tags?post=347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}