{"id":693,"date":"2023-07-29T02:01:50","date_gmt":"2023-07-29T02:01:50","guid":{"rendered":"https:\/\/statorials.org\/cn\/%e6%ad%a3%e6%80%81%e5%88%86%e5%b8%83%e6%95%b0%e6%8d%ae%e9%9b%86%e7%94%9f%e6%88%90%e5%99%a8\/"},"modified":"2023-07-29T02:01:50","modified_gmt":"2023-07-29T02:01:50","slug":"%e6%ad%a3%e6%80%81%e5%88%86%e5%b8%83%e6%95%b0%e6%8d%ae%e9%9b%86%e7%94%9f%e6%88%90%e5%99%a8","status":"publish","type":"post","link":"https:\/\/statorials.org\/cn\/%e6%ad%a3%e6%80%81%e5%88%86%e5%b8%83%e6%95%b0%e6%8d%ae%e9%9b%86%e7%94%9f%e6%88%90%e5%99%a8\/","title":{"rendered":"\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\u751f\u6210\u5668"},"content":{"rendered":"<p><script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/mathjs\/5.1.1\/math.js\"><\/script><script src=\"https:\/\/cdn.jsdelivr.net\/npm\/jstat@latest\/dist\/jstat.min.js\"><\/script><\/p>\n<style>\n@import url('https:\/\/fonts.googleapis.com\/css?family=Droid+Serif|Raleway');<\/p>\n<p>.axis--y .domain {\n  display: none;\n}<\/p>\n<p>h1 {\ntext-align: center;\nfont-size: 50px;\nmargin-bottom: 0px;\nfont-family: 'Raleway', serif;\n}<\/p>\n<p>p {\ncolor: black;\ntext-align: center;\nmargin-bottom: 15px;\nmargin-top: 15px;\nfont-family: 'Raleway', sans-serif;\n}<\/p>\n<p>#words {\ncolor: black;\nfont-family: Raleway;\nmax-width: 550px;\nmargin: 25px auto;\nline-height: 1.75;\npadding-left: 100px;\n}<\/p>\n<p>#calcTitle {\ntext-align: center;\nfont-size: 20px;\nmargin-bottom: 0px;\nfont-family: 'Raleway', serif;\n}<\/p>\n<p>#hr_top {\nwidth: 30%;\nmargin-bottom: 0px;\nborder: none;\nheight: 2px;\ncolor: black;\nbackground-color: black;\n}<\/p>\n<p>#hr_bottom {\nwidth: 30%;\nmargin-top: 15px;\nborder: none;\nheight: 2px;\ncolor: black;\nbackground-color: black;\n}<\/p>\n<p>#words label, input {\n    display: inline-block;\n    vertical-align: baseline;\n    width: 350px;\n}<\/p>\n<p>    #button {\n      border: 1px solid;\n      border-radius: 10px;\n      margin-top: 20px;\n      padding: 10px 10px;\n      cursor: pointer;\n      outline: none;\n      background-color: white;\n      color: black;\n      font-family: 'Work Sans', sans-serif;\n      border: 1px solid grey;\n      \/* Green *\/\n    }<\/p>\n<p>    #button:hover {\n      background-color: #f6f6f6;\n      border: 1px solid black;\n    }\n#words_intro {\ncolor: black;\nfont-family: Raleway;\nmax-width: 550px;\nmargin: 25px auto;\nline-height: 1.75;\n}<\/p>\n<p>textarea {\n  width: 100px;\n  height: 500px;\n  display: block;\n  margin-left: auto;\n  margin-right: auto;\n}\n<\/style>\n<div id=\"words_intro\">\u8be5\u5de5\u5177\u6839\u636e\u603b\u4f53\u5e73\u5747\u503c\u548c\u6807\u51c6\u5dee\u81ea\u52a8\u751f\u6210\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\u3002<\/div>\n<div id=\"words_intro\">\u8981\u751f\u6210\u6b63\u5e38\u7684\u6570\u636e\u96c6\uff0c\u53ea\u9700\u6307\u5b9a\u5206\u5e03\u4e0b\u9762\u7684\u503c\uff0c\u7136\u540e\u5355\u51fb\u201c\u751f\u6210\u201d\u6309\u94ae\u5373\u53ef\u3002<\/div>\n<div id=\"words\"> <label for=\"n\"><b>\u03bc<\/b> \uff08\u603b\u4f53\u5e73\u5747\u503c\uff09<\/label><input type=\"number\" id=\"mean\" value=\"0\"><\/div>\n<div id=\"words\"> <label for=\"X\"><b>\u03c3<\/b> \uff08\u603b\u4f53\u6807\u51c6\u5dee\uff09<\/label><input type=\"number\" id=\"sd\" value=\"1\"><\/div>\n<div id=\"words\"> <label for=\"p\"><b>n<\/b> \uff08\u6570\u636e\u96c6\u5927\u5c0f\uff09<\/label> <input type=\"number\" id=\"n\" min=\"0\" value=\"15\"><\/div>\n<div id=\"words\"><input type=\"button\" id=\"button\" onclick=\"binomialCalc()\" value=\"Generate\"><\/div>\n<div>\n<p>\u6570\u636e\u96c6\u5e73\u5747\u503c\uff1a <span id=\"meanOut\">0.023<\/span><\/p>\n<\/div>\n<div>\n<p>\u6570\u636e\u96c6\u7684\u6807\u51c6\u5dee\uff1a <span id=\"sdOut\">0.849<\/span><\/p>\n<\/div>\n<div id=\"words_table\"><textarea id=\"output_data\"> -1.62 0.31 1.05 0.72 0.52 -0.77 0.62 0.95 0.14 -0.58 0.35 -0.04 0.28 0.15 -1.74<\/textarea><\/div>\n<p><script><\/p>\n<p>function binomialCalc() {<\/p>\n<p>\/\/get input values\nvar mean = document.getElementById('mean').value;\nvar sd = document.getElementById('sd').value;\nvar n = document.getElementById('n').value;<\/p>\n<p>\/\/define function to generate random variables\nfunction gen_norm() {\n    var u = 0, v = 0;\n    while(u === 0) u = Math.random(); \/\/Converting [0,1) to (0,1)\n    while(v === 0) v = Math.random();\n    return Math.sqrt( -2.0 * Math.log( u ) ) * Math.cos( 2.0 * Math.PI * v );\n }<\/p>\n<p>\/\/fill array with values\nvar num = [];\nfor (i = 0; i < n; i++) {\nnum.push(parseFloat(gen_norm()*sd-(-1*mean)).toFixed(2))\n}\n\n\/\/find mean and sd of values\nvar meanOut = math.mean(num);\nvar sdOut = math.std(num);\n\n\/\/output mean and sd\ndocument.getElementById('meanOut').innerHTML = meanOut.toFixed(3);\ndocument.getElementById('sdOut').innerHTML = sdOut.toFixed(3);\n\n\/\/output normally distributed data values\nvar textarea = document.getElementById(\"output_data\");\ntextarea.value = num.join(\"\\n\");\n\n}\n\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8be5\u5de5\u5177\u6839\u636e\u603b\u4f53\u5e73\u5747\u503c\u548c\u6807\u51c6\u5dee\u81ea\u52a8\u751f\u6210\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\u3002 \u8981\u751f\u6210\u6b63\u5e38\u7684\u6570\u636e\u96c6\uff0c\u53ea\u9700\u6307\u5b9a\u5206\u5e03\u4e0b\u9762\u7684\u503c\uff0c\u7136\u540e\u5355\u51fb\u201c\u751f\u6210 [&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-693","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>\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\u751f\u6210\u5668 - Statorials<\/title>\n<meta name=\"description\" content=\"\u8be5\u5de5\u5177\u6839\u636e\u603b\u4f53\u5e73\u5747\u503c\u548c\u6807\u51c6\u5dee\u81ea\u52a8\u751f\u6210\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\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\/\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\u751f\u6210\u5668\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\u751f\u6210\u5668 - Statorials\" \/>\n<meta property=\"og:description\" content=\"\u8be5\u5de5\u5177\u6839\u636e\u603b\u4f53\u5e73\u5747\u503c\u548c\u6807\u51c6\u5dee\u81ea\u52a8\u751f\u6210\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/cn\/\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\u751f\u6210\u5668\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-29T02:01:50+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<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/cn\/%e6%ad%a3%e6%80%81%e5%88%86%e5%b8%83%e6%95%b0%e6%8d%ae%e9%9b%86%e7%94%9f%e6%88%90%e5%99%a8\/\",\"url\":\"https:\/\/statorials.org\/cn\/%e6%ad%a3%e6%80%81%e5%88%86%e5%b8%83%e6%95%b0%e6%8d%ae%e9%9b%86%e7%94%9f%e6%88%90%e5%99%a8\/\",\"name\":\"\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\u751f\u6210\u5668 - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/cn\/#website\"},\"datePublished\":\"2023-07-29T02:01:50+00:00\",\"dateModified\":\"2023-07-29T02:01:50+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261\"},\"description\":\"\u8be5\u5de5\u5177\u6839\u636e\u603b\u4f53\u5e73\u5747\u503c\u548c\u6807\u51c6\u5dee\u81ea\u52a8\u751f\u6210\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/cn\/%e6%ad%a3%e6%80%81%e5%88%86%e5%b8%83%e6%95%b0%e6%8d%ae%e9%9b%86%e7%94%9f%e6%88%90%e5%99%a8\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/cn\/%e6%ad%a3%e6%80%81%e5%88%86%e5%b8%83%e6%95%b0%e6%8d%ae%e9%9b%86%e7%94%9f%e6%88%90%e5%99%a8\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/cn\/%e6%ad%a3%e6%80%81%e5%88%86%e5%b8%83%e6%95%b0%e6%8d%ae%e9%9b%86%e7%94%9f%e6%88%90%e5%99%a8\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\u751f\u6210\u5668\"}]},{\"@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":"\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\u751f\u6210\u5668 - Statorials","description":"\u8be5\u5de5\u5177\u6839\u636e\u603b\u4f53\u5e73\u5747\u503c\u548c\u6807\u51c6\u5dee\u81ea\u52a8\u751f\u6210\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\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\/\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\u751f\u6210\u5668\/","og_locale":"zh_CN","og_type":"article","og_title":"\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\u751f\u6210\u5668 - Statorials","og_description":"\u8be5\u5de5\u5177\u6839\u636e\u603b\u4f53\u5e73\u5747\u503c\u548c\u6807\u51c6\u5dee\u81ea\u52a8\u751f\u6210\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\u3002","og_url":"https:\/\/statorials.org\/cn\/\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\u751f\u6210\u5668\/","og_site_name":"Statorials","article_published_time":"2023-07-29T02:01:50+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"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/cn\/%e6%ad%a3%e6%80%81%e5%88%86%e5%b8%83%e6%95%b0%e6%8d%ae%e9%9b%86%e7%94%9f%e6%88%90%e5%99%a8\/","url":"https:\/\/statorials.org\/cn\/%e6%ad%a3%e6%80%81%e5%88%86%e5%b8%83%e6%95%b0%e6%8d%ae%e9%9b%86%e7%94%9f%e6%88%90%e5%99%a8\/","name":"\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\u751f\u6210\u5668 - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/cn\/#website"},"datePublished":"2023-07-29T02:01:50+00:00","dateModified":"2023-07-29T02:01:50+00:00","author":{"@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261"},"description":"\u8be5\u5de5\u5177\u6839\u636e\u603b\u4f53\u5e73\u5747\u503c\u548c\u6807\u51c6\u5dee\u81ea\u52a8\u751f\u6210\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/cn\/%e6%ad%a3%e6%80%81%e5%88%86%e5%b8%83%e6%95%b0%e6%8d%ae%e9%9b%86%e7%94%9f%e6%88%90%e5%99%a8\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/cn\/%e6%ad%a3%e6%80%81%e5%88%86%e5%b8%83%e6%95%b0%e6%8d%ae%e9%9b%86%e7%94%9f%e6%88%90%e5%99%a8\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/cn\/%e6%ad%a3%e6%80%81%e5%88%86%e5%b8%83%e6%95%b0%e6%8d%ae%e9%9b%86%e7%94%9f%e6%88%90%e5%99%a8\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/cn\/"},{"@type":"ListItem","position":2,"name":"\u6b63\u6001\u5206\u5e03\u6570\u636e\u96c6\u751f\u6210\u5668"}]},{"@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\/693","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=693"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts\/693\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/media?parent=693"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/categories?post=693"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/tags?post=693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}