{"id":375,"date":"2019-06-19T23:45:43","date_gmt":"2019-06-19T14:45:43","guid":{"rendered":"https:\/\/obenkyolab.com\/?p=375"},"modified":"2022-01-07T06:59:02","modified_gmt":"2022-01-06T21:59:02","slug":"python%e3%81%a7%e7%b5%b1%e8%a8%88%e5%ad%a6%e5%8b%89%e5%bc%b7%e3%80%80%e6%a8%99%e6%ba%96%e5%a4%89%e5%8c%96%e9%87%8f%e3%81%a8%e5%a4%89%e7%95%b0%e4%bf%82%e6%95%b0","status":"publish","type":"post","link":"https:\/\/obenkyolab.com\/?p=375","title":{"rendered":"\u3010Python\u3011\u6a19\u6e96\u5909\u5316\u91cf\u3068\u5909\u7570\u4fc2\u6570\u8a08\u7b97"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/obenkyolab.com\/?p=375\/#%E6%A6%82%E8%A6%81\" >\u6982\u8981<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/obenkyolab.com\/?p=375\/#%E3%83%87%E3%83%BC%E3%82%BF%E3%81%AE%E3%80%8C%E3%81%BE%E3%82%8C%E3%80%8D%E3%81%95\" >\u30c7\u30fc\u30bf\u306e\u300c\u307e\u308c\u300d\u3055<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/obenkyolab.com\/?p=375\/#%E6%A8%99%E6%BA%96%E5%A4%89%E5%8C%96%E9%87%8F\" >\u6a19\u6e96\u5909\u5316\u91cf<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/obenkyolab.com\/?p=375\/#Python%E3%81%AB%E3%82%88%E3%82%8B%E6%A8%99%E6%BA%96%E5%A4%89%E5%8C%96%E9%87%8F%E3%81%AE%E8%A8%88%E7%AE%97\" >Python\u306b\u3088\u308b\u6a19\u6e96\u5909\u5316\u91cf\u306e\u8a08\u7b97<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/obenkyolab.com\/?p=375\/#%E5%A4%89%E7%95%B0%E4%BF%82%E6%95%B0\" >\u5909\u7570\u4fc2\u6570<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%A6%82%E8%A6%81\"><\/span>\u6982\u8981<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u4ee5\u524d\u306b\u30c7\u30fc\u30bf\u306e\u5206\u6563\u5ea6\u3092\u6e2c\u308b\u6a19\u6e96\u504f\u5dee\u3068\u3044\u3046\u6307\u6a19\u306b\u3064\u3044\u3066python\u3067\u6c42\u3081\u3066\u307f\u307e\u3057\u305f\u3002\u6a19\u6e96\u504f\u5dee\u306f\u30c7\u30fc\u30bf\u5168\u4f53\u306e\u5206\u6563\u5ea6\u3092\u6e2c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br><br>\u6b21\u306a\u308b\u7591\u554f\u3068\u3057\u3066\u3001\u3042\u308b\u6a19\u6e96\u504f\u5dee\u3092\u6301\u3063\u305f\u30c7\u30fc\u30bf\u306e\u96c6\u56e3\u306e\u5185\u3001\u3042\u308b\u4e00\u3064\u306e\u30c7\u30fc\u30bf\u306b\u6ce8\u76ee\u3057\u305f\u6642\u3001\u305d\u306e\u30c7\u30fc\u30bf\u304c\u30c7\u30fc\u30bf\u5168\u4f53\u306e\u306a\u304b\u306e\u3069\u308c\u304f\u3089\u3044\u306e\u4f4d\u7f6e\u306b\u5c45\u308b\u304b\u3001\u3068\u3044\u3046\u3053\u3068\u3092\u8a55\u4fa1\u3067\u304d\u306a\u3044\u304b\u3001\u3068\u3044\u3046\u3053\u3068\u304c\u8003\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u3000<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E3%83%87%E3%83%BC%E3%82%BF%E3%81%AE%E3%80%8C%E3%81%BE%E3%82%8C%E3%80%8D%E3%81%95\"><\/span>\u30c7\u30fc\u30bf\u306e\u300c\u307e\u308c\u300d\u3055<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u5b9f\u306f\u3001\u30c7\u30fc\u30bf\u5168\u4f53\u306e\u7279\u6027\u3067\u3042\u308b \u6a19\u6e96\u504f\u5dee\u304c\u660e\u3089\u304b\u306b\u306a\u308b\u3068\u3001\u305d\u306e\u4e2d\u3042\u308b\u30c7\u30fc\u30bf\u304c\u305d\u306e\u30c7\u30fc\u30bf\u7fa4\u306e\u4e2d\u3067\u3069\u308c\u304f\u3089\u3044\u306e\u4f4d\u7f6e\u306b\u3044\u308b\u304b\u3092\u6e2c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 <\/p>\n\n\n\n<p>\u30c7\u30fc\u30bf\u306e\u6a19\u6e96\u504f\u5dee\u3092\\(s\\)\u3068\u3057\u305f\u5834\u5408\u3001\u5168\u30c7\u30fc\u30bf\u306e\u7d0467%\u306f\\(x\\pm s\\)\u306b\u5165\u308a\u3001 \u7d0495%\u306f\\(x\\pm 2s\\) \u306b\u5165\u308b\u3068\u3044\u3046\u3053\u3068\u304c\u8a00\u308f\u308c\u3066\u3044\u307e\u3059\u3002<br>\uff08\u305f\u3060\u3057\u3053\u308c\u306f \u30c7\u30fc\u30bf\\(x\\)\u304c\u6b63\u898f\u5206\u5e03\u306b\u5f93\u3063\u3066\u3044\u308b\u3068\u4eee\u5b9a\u3057\u305f\u5834\u5408 \uff09<\/p>\n\n\n\n<p>\u3064\u307e\u308a\u3001\u5206\u6563\u5ea6\u3067\u3042\u308b\u6a19\u6e96\u504f\u5dee\u304c\u5c0f\u3055\u3044\u30c7\u30fc\u30bf\u306e\u96c6\u56e3\u306b\u304a\u3044\u3066\u306f\u3001\u5e73\u5747\u5024\u304b\u3089\u96e2\u308c\u3066\u3044\u308b\u5024\u306f\u3088\u308a\u300c\u307e\u308c\u300d\u306a\u4f4d\u7f6e\u306b\u5b58\u5728\u3057\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u3001\u9006\u306b\u6a19\u6e96\u504f\u5dee\u304c\u975e\u5e38\u306b\u5927\u304d\u3044\u30c7\u30fc\u30bf\u7fa4\u3067\u306f\u5c11\u3057\u304f\u3089\u3044\u5e73\u5747\u5024\u304b\u3089\u96e2\u308c\u3066\u3044\u3066\u3082\u3001\u305d\u308c\u307b\u3069\u30a4\u30ec\u30ae\u30e5\u30e9\u30fc\u3067\u306f\u306a\u3044\u3001\u3068\u8003\u3048\u3089\u308c\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3000<\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%A8%99%E6%BA%96%E5%A4%89%E5%8C%96%E9%87%8F\"><\/span>\u6a19\u6e96\u5909\u5316\u91cf<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u4e0a\u8a18\u306e\u3088\u3046\u306b\u6a19\u6e96\u504f\u5dee\u306e\u5927\u304d\u3055\u3068\u5e73\u5747\u304b\u3089\u306e\u96e2\u308c\u5177\u5408\u3092\u898b\u3066\u307f\u308b\u3053\u3068\u3067\u3001\u304a\u304a\u3088\u305d\u306e\u305d\u306e\u30c7\u30fc\u30bf\u306e\u300c\u307e\u308c\u300d\u3055\u5177\u5408\u306f\u6e2c\u308c\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002<br><br>\u305f\u3060\u3057\u3001\u3053\u308c\u306f\u3042\u304f\u307e\u3067\u305d\u306e\u30c7\u30fc\u30bf\u306e\u96c6\u56e3\u306e\u4e2d\u306b\u304a\u3044\u3066\u306e\u8a71\u3067\u3042\u308a\u3001\u3042\u308b\u96c6\u56e3\u306e\u300c\u307e\u308c\u300d\u3055\u5177\u5408\u3092\u3001\u4ed6\u306e\u96c6\u56e3\u306b\u5c5e\u3059\u308b\u3042\u308b\u5024\u306e\u300c\u307e\u308c\u300d\u3055\u5177\u5408\u3068\u305d\u306e\u307e\u307e\u6bd4\u8f03\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<br><br>\u3069\u3046\u3044\u3046\u3053\u3068\u304b\u4f8b\u3092\u6319\u3052\u3066\u8003\u3048\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001\u770c\u5185\u306e20\u4ee3\u306e\u4eba\u306e100m\u8d70\u306e\u5e73\u5747\u304c14\u79d2\u3001\u6a19\u6e96\u504f\u5dee\u304c2\u79d2\u3060\u3063\u305f\u3068\u3057\u307e\u3059\u3002<br>\u81ea\u5206\u3082\u8d70\u3063\u3066\u307f\u305f\u3068\u3053\u308d\u3001\u7d50\u679c\u304c12.3\u79d2\u3060\u3063\u305f\u3068\u3057\u307e\u3059\u3002\u307e\u3041\u307e\u3041\u826f\u3044\u7d50\u679c\u306a\u611f\u3058\u304c\u3057\u307e\u3059\u3002<br><br>\u6b21\u306b\u3001\u540c\u3058\u304f\u770c\u5185\u306e20\u4ee3\u306e\u4eba\u306e10\u30ad\u30ed\u30de\u30e9\u30bd\u30f3\u306e\u5e73\u5747\u304c60\u5206\u3067\u6a19\u6e96\u504f\u5dee10\u5206\u3060\u3068\u3057\u307e\u3059\u3002<br>\u81ea\u5206\u3082\u8d70\u3063\u3066\u307f\u305f\u3089\u3001\u7d50\u679c\u304c59\u5206\u3060\u3063\u305f\u3068\u3057\u307e\u3059\u3002\u3053\u3061\u3089\u3082\u5e73\u5747\u4ee5\u4e0a\u3067\u826f\u3044\u611f\u3058\u304c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u306b\u3001<strong>\u81ea\u5206\u306f\u77ed\u8ddd\u96e2\u3068\u9577\u8ddd\u96e2\u306e\u3069\u3061\u3089\u304c\u5f97\u610f\u79d1\u76ee\u3068\u3044\u3048\u308b\u304b\uff1f<\/strong>\u3068\u8003\u3048\u305f\u304f\u306a\u308a\u307e\u3059\u3002<br>\u3082\u3061\u308d\u3093\u3001\u6a19\u6e96\u504f\u5dee\u3060\u3051\u3067\u6bd4\u8f03\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u305d\u3053\u3067\u767b\u5834\u3059\u308b\u306e\u304c<strong>\u6a19\u6e96\u5909\u5316\u91cf<\/strong>\u3068\u3044\u3046\u8003\u3048\u65b9\u3067\u3059\u3002<br>\u3044\u307e\u3001\u6a19\u6e96\u5909\u5316\u91cf\u3092\\(z\\)\u3068\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u5f0f\u3067\u5b9a\u7fa9\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>$$z = \\frac{x-\\overline{x}}{s}$$<\/p>\n\n\n\n<p>\u4e0a\u8a18\u306f\u3042\u308b\u30c7\u30fc\u30bf\u5e73\u5747\u304b\u3089\u306e\u504f\u5dee\u304c\u6a19\u6e96\u504f\u5dee\u306e\u4f55\u500d\u3067\u3042\u308b\u304b\u3092\u8868\u3057\u3066\u3044\u308b\u5f0f\u306b\u306a\u3063\u3066\u304a\u308a\u3001\u30c7\u30fc\u30bf\u306e\u96c6\u56e3\u9593\u3067\u6bd4\u8f03\u53ef\u80fd\u306a\u76f8\u5bfe\u7684\u306a\u5ea6\u5408\u3044\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5148\u307b\u3069\u306e\u77ed\u8ddd\u96e2\u3068\u9577\u8ddd\u96e2\u306e\u7d50\u679c\u3092\u4f8b\u306b\u3057\u3066\u3001\u5b9f\u969b\u306b\u8a08\u7b97\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u77ed\u8ddd\u96e2\uff1a<\/p>\n\n\n\n<p>$$z = \\frac{12.3-14}{2} = -0.8$$<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u9577\u8ddd\u96e2\uff1a<\/p>\n\n\n\n<p>$$z = \\frac{59-60}{10} = -0.1$$<\/p>\n\n\n\n<p>\u7d76\u5bfe\u5024\u3067\u6bd4\u8f03\u3059\u308b\u3068\u3001\u77ed\u8ddd\u96e2\u306e\u307b\u3046\u304c\u5024\u304c\u5927\u304d\u304f\u3001\u3088\u308a\u300c\u307e\u308c\u300d\u306a\u5024\u3068\u8a55\u4fa1\u3067\u304d\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u77ed\u8ddd\u96e2\u306e\u307b\u3046\u304c\u5f97\u610f\u3068\u8a00\u3048\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Python%E3%81%AB%E3%82%88%E3%82%8B%E6%A8%99%E6%BA%96%E5%A4%89%E5%8C%96%E9%87%8F%E3%81%AE%E8%A8%88%E7%AE%97\"><\/span>Python\u306b\u3088\u308b\u6a19\u6e96\u5909\u5316\u91cf\u306e\u8a08\u7b97<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u3053\u306e\u6a19\u6e96\u5909\u5316\u91cf\u3092python\u3067\u8a08\u7b97\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br><br>\u307e\u305a\u306f\u30c7\u30fc\u30bf\u6e96\u5099\u3067\u3059\u3002<br>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3068\u3057\u3066\u3001<a href=\"https:\/\/www.kaggle.com\/\" data-type=\"URL\" data-id=\"https:\/\/www.kaggle.com\/\">kaggle<\/a>\u304b\u3089\u4ee5\u4e0b\u306e\u30aa\u30fc\u30d7\u30f3\u30c7\u30fc\u30bf\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u4f7f\u7528\u3055\u305b\u3066\u3082\u3089\u3044\u307e\u3059\u3002<br>Los Angeles General Fund Revenue <\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/obenkyolab.com\/wp-content\/uploads\/2019\/06\/image-9-700x181.png\" alt=\"\" class=\"wp-image-390\" width=\"435\" height=\"112\" srcset=\"https:\/\/obenkyolab.com\/wp-content\/uploads\/2019\/06\/image-9-700x181.png 700w, https:\/\/obenkyolab.com\/wp-content\/uploads\/2019\/06\/image-9-300x77.png 300w, https:\/\/obenkyolab.com\/wp-content\/uploads\/2019\/06\/image-9-768x198.png 768w, https:\/\/obenkyolab.com\/wp-content\/uploads\/2019\/06\/image-9-508x131.png 508w, https:\/\/obenkyolab.com\/wp-content\/uploads\/2019\/06\/image-9.png 1000w\" sizes=\"auto, (max-width: 435px) 100vw, 435px\" \/><\/figure>\n\n\n\n<p>\u3053\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306eRevenue Amount\u306e\u5217\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066\u6a19\u6e96\u5909\u5316\u91cf\u3092\u6c42\u3081\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<br>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3067\u8a08\u7b97\u3067\u304d\u307e\u3059\u3002\u6a19\u6e96\u5909\u5316\u91cf\u306f\u5404\u30c7\u30fc\u30bf\u306b\u3064\u3044\u3066\u8a08\u7b97\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nimport pandas as pd\n\n#\u30c7\u30fc\u30bf\u306e\u8aad\u307f\u8fbc\u307f\ndf = pd.read_csv(&#039;C:\\\\general-fund-revenue.csv&#039;,engine  =&#039;python&#039;)\n\n#\u5404\u30c7\u30fc\u30bf\u306b\u304a\u3051\u308b\u6a19\u6e96\u5909\u5316\u91cf\u3092\u8a08\u7b97\n(df&#x5B;&#039;Revenue Amount&#039;]-df&#x5B;&#039;Revenue Amount&#039;].mean())\/df&#x5B;&#039;Revenue Amount&#039;].std()\n\n----\n0      -0.102793\n1      -0.110366\n2      -0.110844\n3      -0.110844\n4      -0.110792\n5      -0.109117\n6      -0.102917\n7      -0.106688\n8      -0.110723\n9      -0.110000\n10     -0.110300\n11     -0.110611\n12     -0.102445\n13     -0.102649\n14     -0.104650\n          ...   \n\n4858   -0.073472\n4859   -0.104867\n4860   -0.093327\n4861    0.737893\n4862    0.810207\n4863   -0.104367\n4864   -0.062064\n4865   -0.110915\n4866   -0.084710\n4867    4.347067\n4868   -0.002459\n4869    0.490626\nName: Revenue Amount, Length: 4870, dtype: float64\n<\/pre><\/div>\n\n\n<p><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%A4%89%E7%95%B0%E4%BF%82%E6%95%B0\"><\/span>\u5909\u7570\u4fc2\u6570<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u30c7\u30fc\u30bf\u306e\u300c\u307e\u308c\u300d\u3055\u5177\u5408\u3092\u7570\u306a\u308b\u96c6\u56e3\u3067\u76f8\u5bfe\u6bd4\u8f03\u3059\u308b\u306b\u306f\u6a19\u6e96\u5909\u5316\u91cf\u304c\u4f7f\u3048\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3057\u305f\u304c\u3001\u30c7\u30fc\u30bf\u306e\u3070\u3089\u3064\u304d\u81ea\u4f53\u3092\u30c7\u30fc\u30bf\u306e\u96c6\u56e3\u9593\u3067\u6bd4\u8f03\u3057\u305f\u3044\u3088\u3046\u306a\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u6bd4\u8f03\u304c\u3067\u304d\u308b\u6307\u6a19\u304c\u5909\u7570\u4fc2\u6570\\(CV\\)\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002<br>\u4ee5\u4e0b\u306e\u5f0f\u3067\u5b9a\u7fa9\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>$$CV=\\frac{s}{\\overline{x}}$$<\/p>\n\n\n\n<p>\u5f0f\u3068\u3057\u3066\u306f\u975e\u5e38\u306b\u30b7\u30f3\u30d7\u30eb\u3067\u3001\u6a19\u6e96\u504f\u5dee\u3092\u30c7\u30fc\u30bf\u306e\u5e73\u5747\u5024\u3067\u5272\u3063\u305f\u5024\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br>\u3064\u307e\u308a\u3001\u30c7\u30fc\u30bf\u306e\u5e73\u5747\u306e\u5024\u304c\u5927\u304d\u3051\u308c\u3070\u3001\u305f\u3068\u3048\u6a19\u6e96\u504f\u5dee\u304c\u5927\u304d\u304f\u3066\u3082CV\u306f\u305d\u308c\u307b\u3069\u5927\u304d\u304f\u306a\u308a\u307e\u305b\u3093\u3002<br>\u9006\u306b\u6a19\u6e96\u504f\u5dee\u304c\u5c0f\u3055\u304f\u3066\u3082\u3001\u30c7\u30fc\u30bf\u306e\u5e73\u5747\u5024\u304c\u5927\u304d\u3051\u308c\u3070CV\u306f\u5927\u304d\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3088\u3063\u3066\u3001\u30c7\u30fc\u30bf\u306e\u96c6\u56e3\u3092\u307e\u305f\u3044\u3067\u3001\u76f8\u5bfe\u7684\u306b\u3070\u3089\u3064\u304d\u5177\u5408\u3092\u6bd4\u8f03\u3067\u304d\u308b\u6307\u6a19\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br><\/p>\n\n\n\n<p>\u3067\u306f\u3001\u3053\u306e\u5909\u7570\u4fc2\u6570\u306b\u3064\u3044\u3066\u3082Revenue Amount\u306e\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u3066\u8a08\u7b97\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br>python\u306e\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ndf&#x5B;&#039;Revenue Amount&#039;].std()\/df&#x5B;&#039;Revenue Amount&#039;].mean() \n\n#\u7d50\u679c\uff1a9.01437624937767\n<\/pre><\/div>\n\n\n<p>python\u3092\u4f7f\u7528\u3059\u308b\u3068\u3053\u306e\u3088\u3046\u306a\u6307\u6a19\u3082\u7c21\u5358\u306b\u8a08\u7b97\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 \u4ee5\u524d\u306b\u30c7\u30fc\u30bf\u306e\u5206\u6563\u5ea6\u3092\u6e2c\u308b\u6a19\u6e96\u504f\u5dee\u3068\u3044\u3046\u6307\u6a19\u306b\u3064\u3044\u3066pytho&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":1218,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"ja","_original_post":"https:\/\/obenkyolab.com\/?p=375","footnotes":""},"categories":[7],"tags":[],"class_list":["post-375","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","ja"],"_links":{"self":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts\/375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=375"}],"version-history":[{"count":32,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts\/375\/revisions"}],"predecessor-version":[{"id":3803,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/posts\/375\/revisions\/3803"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=\/wp\/v2\/media\/1218"}],"wp:attachment":[{"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/obenkyolab.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}