{"id":160373,"date":"2012-11-27T09:02:03","date_gmt":"2012-11-27T05:02:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=160373"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=160373","title":{"rendered":"<span class=\"post_title\">\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 R-project<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t<a href=\"http:\/\/www.r-project.org\/\"><img decoding=\"async\" src=\"http:\/\/www.r-project.org\/Rlogo.jpg\" alt=\"R-project logo\" align=\"left\"\/><\/a>\u0412\u043e \u0432\u0441\u0435\u043c \u0425\u0430\u0431\u0440\u0435 \u0441\u044b\u0441\u043a\u0430\u043b\u0430\u0441\u044c \u043b\u0438\u0448\u044c <a href=\"http:\/\/habrahabr.ru\/post\/92135\/\">\u043f\u0430\u0440\u0430<\/a> <a href=\"http:\/\/habrahabr.ru\/post\/148782\/\">\u0441\u0442\u0430\u0442\u0435\u0439<\/a> \u043d\u0430 \u0432\u044b\u0448\u0435\u0443\u043a\u0430\u0437\u0430\u043d\u043d\u0443\u044e \u0442\u0435\u043c\u0443. \u0410 \u0442\u0435\u043c\u0430 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0442\u043d\u0430\u044f. \u0414\u0430 \u0438 \u0432 \u043c\u0438\u043d\u0443\u0432\u0448\u0443\u044e \u0441\u0440\u0435\u0434\u0443 \u043a\u0430\u043a \u0440\u0430\u0437 \u043e\u043a\u043e\u043d\u0447\u0438\u043b\u0441\u044f \u043a\u0443\u0440\u0441 &quot;<a href=\"https:\/\/www.coursera.org\/course\/compfinance\">Introduction to Computational Finance and Financial Econometrics<\/a>&quot;. \u041f\u043e \u043c\u043e\u0442\u0438\u0432\u0430\u043c \u0435\u0433\u043e \u043f\u044f\u0442\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0438 \u00abDescriptive statistics\u00bb \u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u044d\u0442\u043e\u0442 \u043f\u043e\u0441\u0442. \u041f\u0440\u0438\u0447\u0430\u0441\u0442\u0438\u0432\u0448\u0438\u043c\u0441\u044f \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0430 \u0436\u0435\u043b\u0430\u044e\u0449\u0438\u0445 \u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441 <b>\u0431\u0430\u0437\u043e\u0432\u044b\u043c\u0438 \u043f\u0440\u0438\u0435\u043c\u0430\u043c\u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 R<\/b>&nbsp; \u2014 \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u0445\u0430\u0431\u0440\u0430\u043a\u0430\u0442.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>\u041f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u044f<\/h4>\n<p>  <\/p>\n<h5>\u041e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u0445<\/h5>\n<p>  \u0423 \u0430\u0432\u0442\u043e\u0440\u0430 \u0438\u0437 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u0431\u044b\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043c\u0435\u0441\u0442\u0440 \u00ab\u0442\u0435\u0440\u0432\u0435\u0440\u0430\u00bb N \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0441\u043b\u0435 \u0441\u043e\u043c\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0445 \u0441\u043b\u043e\u0432 \u0438 \u0438\u0445 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0439 \u0431\u0443\u0434\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u043d \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439 \u0442\u0435\u0440\u043c\u0438\u043d (<i>\u043a\u0443\u0440\u0441\u0438\u0432\u043e\u043c \u0432 \u0441\u043a\u043e\u0431\u043a\u0430\u0445<\/i>). \u0421\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u044b, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0448\u043b\u0438\u0442\u0435 \u0432 \u043b\u0438\u0447\u043a\u0443 \u0431\u043e\u043b\u0435\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u0432. \u0421\u043f\u0430\u0441\u0438\u0431\u043e.<\/p>\n<h5>\u041e\u0431 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435<\/h5>\n<p>  \u041d\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u041f\u041e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0435 \u0437\u0430\u043e\u0441\u0442\u0440\u044f\u0435\u0442\u0441\u044f \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u043d\u043e, \u0432 \u0432\u0438\u0434\u0443 \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u041f\u043e \u043a\u0440\u0430\u0439\u043d\u0435\u0439 \u043c\u0435\u0440\u0435 \u043d\u0430 Windows \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435 \u0432\u0441\u0435 \u0441\u0432\u0435\u043b\u043e\u0441\u044c \u043a \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u043c\u0443 \u00ab\u0434\u0430\u043b\u0435\u0435 -&gt; \u0434\u0430\u043b\u0435\u0435 -&gt;\u2026 -&gt; \u0433\u043e\u0442\u043e\u0432\u043e\u00bb. \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u044b\u0439 \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u0433\u043e \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u043a\u043e\u0434\u0430 \u043f\u0430\u043a\u0435\u0442 PerformanceAnalytics \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u043c\u0435\u043d\u044e \u00ab\u041f\u0430\u043a\u0435\u0442\u044b \/ \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u043a\u0435\u0442(\u044b)&#8230;\u00bb, \u0432\u044b\u0431\u043e\u0440 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043e \u043a \u0432\u0430\u043c \u0437\u0435\u0440\u043a\u0430\u043b\u0430, \u0432\u044b\u0431\u043e\u0440 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430.<\/p>\n<h4>\u041d\u0430\u0431\u043e\u0440 \u0434\u0430\u043d\u043d\u044b\u0445<\/h4>\n<p>  \u0425\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u0442\u0438\u043f\u0438\u0447\u043d\u043e\u0441\u0442\u0438: \u043f\u0440\u043e\u0434\u0430\u0436\u0438, \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b, \u0440\u0435\u043d\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0430\u043a\u0446\u0438\u0439 (<i>simple returns<\/i>), \u2014 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u0436\u043d\u043e? \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043d\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u043d\u0430\u0448\u0435\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0438 \u2014 <a href=\"http:\/\/bash.im\/comics\/20090102\">\u0432\u0435\u0447\u043d\u0430<\/a> \u043a\u0430\u043a \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u0425\u0430\u0431\u0440\u0430, \u0442\u0430\u043a \u0438 \u0432\u043d\u0435 \u0435\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430. \u041d\u0435 \u0442\u0430\u043a \u0434\u0430\u0432\u043d\u043e \u0432 \u0431\u043b\u043e\u0433\u0435 \u0421\u0430\u043c\u0438\u0417\u043d\u0430\u0435\u0442\u0435\u041a\u043e\u0433\u043e \u0431\u044b\u043b \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d <a href=\"http:\/\/tema.livejournal.com\/1274057.html\">\u043e\u043f\u0440\u043e\u0441 \u00ab\u041a\u0430\u043a\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0443 \u0432\u0430\u0441 \u0433\u0440\u0443\u0434\u044c?\u00bb<\/a>. \u0423\u0447\u0438\u0442\u044b\u0432\u0430\u044f, \u0447\u0442\u043e \u0432 \u043d\u0435\u0433\u043e \u0431\u044b\u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0434\u0432\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u043e\u0442\u0432\u0435\u0442\u0430 \u0434\u043b\u044f \u043e\u0442\u0441\u0435\u0432\u0430 \u043d\u0435\u0440\u0435\u043b\u0435\u0432\u0430\u043d\u0442\u043d\u043e\u0439 \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u0438, \u0435\u0441\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0432 \u043f\u0440\u0430\u0432\u0434\u043e\u043f\u043e\u0434\u043e\u0431\u0438\u0438 \u0432\u044b\u0431\u043e\u0440\u043a\u0438. \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u0438 \u0437\u0434\u0435\u0441\u044c:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/e58\/0e6\/19f\/e580e619fd8d6da3b82ef6dfb031e10a.png\" alt=\"\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043e\u043f\u0440\u043e\u0441\u0430 \u0443 \u0422\u0435\u043c\u044b\"\/>  <\/p>\n<h4>\u0426\u0435\u043b\u044c<\/h4>\n<p>  \u0412 \u0440\u0430\u043c\u043a\u0430\u0445 \u043d\u0430\u0448\u0435\u0433\u043e \u043c\u0438\u043d\u0438-\u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0440\u0430\u0432\u043d\u0438\u043c \u0441 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u043c \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435\u043c 2 \u043d\u0430\u0431\u043e\u0440\u0430 \u0434\u0430\u043d\u043d\u044b\u0445:  <\/p>\n<ul>\n<li>(\u041d\u04141) \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0441 \u0442\u0440\u0435\u0442\u044c\u0435\u0433\u043e (\u0443\u0436\u0435 \u043d\u0435 \u0432\u044b\u0440\u043e\u0441\u043b\u0430) \u043f\u043e \u0434\u0435\u0432\u044f\u0442\u044b\u0439 (\u0448\u0435\u0441\u0442\u043e\u0439 \u0440\u0430\u0437\u043c\u0435\u0440),<\/li>\n<li>(\u041d\u04142) \u0442\u0435 \u0436\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b, \u043d\u043e \u043a \u043d\u0443\u043b\u0435\u0432\u043e\u043c\u0443 \u0440\u0430\u0437\u043c\u0435\u0440\u0443 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043e\u043f\u0442\u0438\u043c\u0438\u0441\u0442\u043e\u043a (\u0435\u0449\u0435 \u043d\u0435 \u0432\u044b\u0440\u043e\u0441\u043b\u0430) \u0438 \u0432\u043a\u043b\u044e\u0447\u0438\u043c \u0432 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u0435\u0434\u044c\u043c\u043e\u0439 \u0440\u0430\u0437\u043c\u0435\u0440.<\/li>\n<\/ul>\n<p>  \u041e\u043f\u044b\u0442\u043d\u044b\u043c \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430\u043c \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u043c\u044b \u043e\u0442\u0434\u0430\u043b\u0438\u043c \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043e\u0442 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e. \u041a \u0444\u0438\u043d\u0430\u043b\u0443 \u0441\u0442\u0430\u0442\u044c\u0438 \u0443 \u043d\u0430\u0441 \u043d\u0430\u043a\u043e\u043f\u0438\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439, \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u043e\u0441\u043d\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e \u0444\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e.<\/p>\n<h4>\u0425\u043e\u0434 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f<\/h4>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u043c \u043d\u0430\u0448\u0438 \u043d\u0430\u0431\u043e\u0440\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435:  <\/p>\n<pre><code class=\"python\">data = c(rep(0, 184), rep(1, 510), rep(2, 996), rep(3, 763), rep(4, 327), rep(5, 147), rep(6, 60)) data_ol = c(data, rep(0, 51), rep(7, 65)) x.txt = &quot;\u0420\u0430\u0437\u043c\u0435\u0440 \u0433\u0440\u0443\u0434\u0438&quot; # \u0438 \u0437\u0430\u043e\u0434\u043d\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043c \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u044e\u0449\u0435\u0435\u0441\u044f \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u0441\u0438 <\/code><\/pre>\n<p>  \u0424\u0443\u043d\u043a\u0446\u0438\u044f c \u00ab\u0441\u043a\u043b\u0435\u0438\u0432\u0430\u0435\u0442\u00bb \u0441\u0432\u043e\u0438 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u0432 \u0435\u0434\u0438\u043d\u044b\u0439 \u0432\u0435\u043a\u0442\u043e\u0440, \u0444\u0443\u043d\u043a\u0446\u0438\u044f rep(x, y) \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0432\u0435\u043a\u0442\u043e\u0440 \u0438\u0437 y \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 x. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, rep(0, 184) \u0432\u0435\u0440\u043d\u0435\u0442 \u0432\u0435\u043a\u0442\u043e\u0440 \u0438\u0437 \u0441\u0442\u0430 \u0432\u043e\u0441\u044c\u043c\u0438\u0434\u0435\u0441\u044f\u0442\u0438 \u0447\u0435\u0442\u044b\u0440\u0435\u0445 \u043d\u0443\u043b\u0435\u0439. \u0412 <a href=\"http:\/\/google-styleguide.googlecode.com\/svn\/trunk\/google-r-style.html\">\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u044f\u0445 \u0433\u0443\u0433\u043b\u0430<\/a> \u0438 \u0435\u0449\u0435 \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430\u0445 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u043b\u043e\u0441\u044c \u043c\u043d\u0435\u043d\u0438\u0435, \u0447\u0442\u043e \u0441\u0438\u043c\u0432\u043e\u043b \u0440\u0430\u0432\u0435\u043d\u0441\u0442\u0432\u0430 \u043d\u0435\u0433\u043e\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u043d\u0438\u044f, \u043b\u0443\u0447\u0448\u0435 \u2014 &quot;&lt;-&quot;. \u0417\u043d\u0430\u044e\u0449\u0438\u0435 \u043b\u044e\u0434\u0438, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0438\u0437\u043b\u043e\u0436\u0438\u0442\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0432\u0435\u0441\u043a\u0438\u0435 \u043e\u0431\u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043f\u0438\u0441\u0430\u0442\u044c 2 \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u0432\u043c\u0435\u0441\u0442\u043e \u043e\u0434\u043d\u043e\u0433\u043e. \u041b\u0438\u0447\u043d\u043e \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u0440\u0430 \u044d\u0442\u0430 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0430 \u043e\u0442\u0434\u0430\u0435\u0442 \u043d\u0435\u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e\u043c \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 &quot;:=&quot; \u0438\u0437 \u044f\u0437\u044b\u043a\u0430 \u00ab\u041f\u0430\u0441\u043a\u0430\u043b\u044c\u00bb.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b:  <\/p>\n<pre><code class=\"python\">par(mfrow=c(1, 2)) hist(data, breaks=0:7, right=F, col=&quot;seagreen&quot;, main=&quot;\u0413\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u041d\u04141&quot;, xlab=x.txt, ylab=&quot;\u0427\u0438\u0441\u043b\u043e \u0440\u0435\u0441\u043f\u043e\u043d\u0434\u0435\u043d\u0442\u043e\u0432&quot;) hist(data_ol, breaks=0:8, right=F, col=&quot;slateblue1&quot;, main=&quot;\u0413\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u041d\u04142&quot;, xlab=x.txt, ylab=&quot;\u0427\u0438\u0441\u043b\u043e \u0440\u0435\u0441\u043f\u043e\u043d\u0434\u0435\u043d\u0442\u043e\u0432&quot;) <\/code><\/pre>\n<p>  \u041f\u0435\u0440\u0432\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u043d\u0443\u0436\u043d\u0430, \u0447\u0442\u043e\u0431\u044b \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0432\u044b\u0432\u0435\u043b\u0438\u0441\u044c \u0440\u044f\u0434\u043e\u043c. \u0411\u0435\u0437 \u043d\u0435\u0435 \u0432\u0442\u043e\u0440\u0430\u044f \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0437\u0430\u0442\u0440\u0435\u0442 \u043f\u0435\u0440\u0432\u0443\u044e. \u0412\u043e\u0442, \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/09f\/fb8\/219\/09ffb82197adc8c02f6e1c4b01989235.png\" alt=\"\u0413\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0432\u044b\u0431\u043e\u0440\u043e\u043a\"\/><br \/>  \u041d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043e\u043f\u0440\u043e\u0441\u0430, \u0432\u0435\u0440\u043d\u043e? \u0412\u0435\u0440\u043d\u043e, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u0448\u0435\u0433\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u041d\u043e \u0434\u0430\u043d\u043d\u044b\u0439 \u0448\u0430\u0433 \u043d\u0435 \u043b\u0438\u0448\u0435\u043d \u0441\u043c\u044b\u0441\u043b\u0430, \u0442.\u043a.  <\/p>\n<ol>\n<li>\u0432 \u0416\u0416 \u043d\u0435\u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0439 \u043c\u0430\u0441\u0448\u0442\u0430\u0431 (\u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u0438\u0437-\u0437\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0433\u043e\u043b\u043e\u0441\u043e\u0432 \u0432 \u043f\u0435\u0440\u0432\u043e\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435 \u043e\u0442\u0432\u0435\u0442\u0430);<\/li>\n<li>\u043e\u0431\u0435 \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u044b \u0432 \u043e\u0434\u043d\u043e\u043c \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0435 \u0438 \u043e\u0440\u0438\u0435\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u043e, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0443\u0436\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0441 \u043f\u043b\u043e\u0442\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438 (<i>probability density function<\/i>) <a href=\"http:\/\/ru.wikipedia.org\/wiki\/%D0%9D%D0%BE%D1%80%D0%BC%D0%B0%D0%BB%D1%8C%D0%BD%D0%BE%D0%B5_%D1%80%D0%B0%D1%81%D0%BF%D1%80%D0%B5%D0%B4%D0%B5%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5\">\u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f<\/a>.<\/li>\n<\/ol>\n<p>  \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0448\u0430\u0433 \u0438\u043c\u0435\u0435\u0442 \u043c\u0430\u043b\u043e \u0441\u043c\u044b\u0441\u043b\u0430 \u0434\u043b\u044f \u0441\u0442\u043e\u043b\u044c \u0434\u0438\u0441\u043a\u0440\u0435\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430\u0431\u043e\u0440\u0430 \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u0430\u043a \u0443 \u043d\u0430\u0441. \u041e\u043d \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d \u0437\u0434\u0435\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439 density, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u0442\u0440\u043e\u0438\u0442 \u0431\u043e\u043b\u0435\u0435 \u00ab\u0441\u0433\u043b\u0430\u0436\u0435\u043d\u043d\u0443\u044e\u00bb (\u0447\u0438\u0442\u0430\u0439, \u0443\u0441\u0440\u0435\u0434\u043d\u0435\u043d\u043d\u0443\u044e) \u0433\u0438\u0441\u0442\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u043f\u043e \u0432\u044b\u0431\u043e\u0440\u043a\u0435.  <\/p>\n<pre><code class=\"python\">plot(density(data), type=&quot;l&quot;, col=&quot;seagreen&quot;, lwd=2, main=&quot;\u0421\u0433\u043b\u0430\u0436\u0435\u043d\u043d\u0430\u044f \u043f\u043b\u043e\u0442\u043d\u043e\u0441\u0442\u044c \u041d\u04141&quot;) plot(density(data_ol), type=&quot;l&quot;, col=&quot;slateblue1&quot;, lwd=2, main=&quot;\u0421\u0433\u043b\u0430\u0436\u0435\u043d\u043d\u0430\u044f \u043f\u043b\u043e\u0442\u043d\u043e\u0441\u0442\u044c \u041d\u04142&quot;) <\/code><\/pre>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/249\/f78\/b60\/249f78b608bd285366c83c99bae06b75.png\" alt=\"\u0421\u0433\u043b\u0430\u0436\u0435\u043d\u043d\u0430\u044f \u043f\u043b\u043e\u0442\u043d\u043e\u0441\u0442\u044c \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438\"\/><\/p>\n<p>  \u0412\u044b\u0447\u0438\u0441\u043b\u0438\u043c \u0432\u044b\u0431\u043e\u0440\u043e\u0447\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0439.  <\/p>\n<pre><code class=\"python\">mu = mean(data) mu mu_ol = mean(data_ol) mu_ol var(data) var(data_ol) sig = sd(data) sig sig_ol = sd(data_ol) sig_ol library(PerformanceAnalytics) skewness(data) skewness(data_ol) kurtosis(data)# excess kurtosis (-3) kurtosis(data_ol) <\/code><\/pre>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b:  <\/p>\n<table>\n<tr>\n<th>\u2116 \u041d\u0414<\/th>\n<th>\u041c\u0430\u0442.\u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0435<\/th>\n<th>\u0414\u0438\u0441\u043f\u0435\u0440\u0441\u0438\u044f<\/th>\n<th>\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0435 \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u0438\u0435<\/th>\n<th>\u0410\u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u044f (<i>skewness<\/i>)<\/th>\n<th>\u042d\u043a\u0441\u0446\u0435\u0441\u0441 (<i>excess kurtosis<\/i>)<\/th>\n<\/tr>\n<tr>\n<th>1<\/th>\n<td>2.408437<\/td>\n<td>1.708542<\/td>\n<td>1.307112<\/td>\n<td>0.4124443<\/td>\n<td>0.1001578<\/td>\n<\/tr>\n<tr>\n<th>2<\/th>\n<td>2.465034<\/td>\n<td>2.17858<\/td>\n<td>1.476001<\/td>\n<td>0.7198767<\/td>\n<td>0.7943986<\/td>\n<\/tr>\n<\/table>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u0438\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u043c \u043d\u0430\u0431\u043e\u0440\u0435 \u0434\u0430\u043d\u043d\u044b\u0445   <\/p>\n<ul>\n<li>\u0435\u0434\u0432\u0430 \u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438 \u0432 \u0441\u0440\u0435\u0434\u043d\u0435\u043c \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435,<\/li>\n<li>\u0443\u0432\u0435\u043b\u0438\u0447\u0438\u043b\u0438 \u0440\u0430\u0437\u0431\u0440\u043e\u0441 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u0439 \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u044b,<\/li>\n<li>\u043f\u043e\u0447\u0442\u0438 \u0432 2 \u0440\u0430\u0437\u0430 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u043b\u0438 \u0438\u0441\u043a\u0430\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0432\u043f\u0440\u0430\u0432\u043e (\u0443 \u043f\u043b\u043e\u0442\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0443\u0434\u043b\u0438\u043d\u043d\u0438\u043b\u0441\u044f \u043f\u0440\u0430\u0432\u044b\u0439 \u00ab\u0445\u0432\u043e\u0441\u0442\u00bb),<\/li>\n<li>\u043f\u043e\u0447\u0442\u0438 \u0432 8 \u0440\u0430\u0437 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u043b\u0438 \u0442\u043e\u043b\u0449\u0438\u043d\u0443 \u00ab\u0445\u0432\u043e\u0441\u0442\u043e\u0432\u00bb (\u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u043c \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435\u043c).<\/li>\n<\/ul>\n<p>  \u0421\u0440\u0430\u0432\u043d\u0438\u043c \u044d\u043c\u043f\u0438\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f (\u042d\u0424\u0420) \u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f (<i>cumulative distribution function<\/i>) \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0445 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0439 (N(2.408437, (1.307112)<sup>2<\/sup>) \u0438 N(2.465034, (1.476001)<sup>2<\/sup>)).  <\/p>\n<pre><code class=\"python\">n1 = length(data) plot(sort(data), (1:n1)\/n1, type=&quot;S&quot;, col=&quot;seagreen&quot;, main=&quot;\u042d\u0424\u0420 \u041d\u04141&quot;, xlab=x.txt, ylab=&quot;&quot;) x = seq(0, 6, by=0.25) lines(x, pnorm(x, mean=mu, sd=sig), type=&quot;l&quot;, col=&quot;orange&quot;, lwd=2) n2 = length(data_ol) plot(sort(data_ol), (1:n2)\/n2, type=&quot;S&quot;, col=&quot;slateblue1&quot;, main=&quot;\u042d\u0424\u0420 \u041d\u04142&quot;, xlab=x.txt, ylab=&quot;&quot;) x2 = seq(0, 7, by=0.25) lines(x2, pnorm(x2, mean=mu_ol, sd=sig_ol), type=&quot;l&quot;, col=&quot;orange&quot;, lwd=2) <\/code><\/pre>\n<p>  \u0412\u044b\u0432\u043e\u0434:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/854\/926\/947\/854926947283e80ec98bdb7452aab3d1.png\" alt=\"\u042d\u043c\u043f\u0438\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f\"\/><br \/>  \u041e\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a \u043a\u0432\u0430\u043d\u0442\u0438\u043b\u044f\u043c (<i>quantile<\/i>), \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f.  <\/p>\n<pre><code class=\"python\">quantile(data) quantile(data_ol) qnorm(p=c(0, .25, .5, .75, 1), mean=mu, sd=sig) qnorm(p=c(0, .25, .5, .75, 1), mean=mu_ol, sd=sig_ol) <\/code><\/pre>\n<p>  \u0412 \u043d\u0430\u0448\u0435\u043c \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u0430\u043f \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0441\u043a\u0443\u0447\u043d\u044b\u0439, \u0442.\u043a. \u0432\u044b\u0431\u043e\u0440\u043a\u0438 \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0442\u044b\u043c \u043f\u0440\u043e\u0446\u0435\u043d\u0442\u0438\u043b\u0435\u043c:  <\/p>\n<table>\n<tr>\n<th>\u0420\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435<\/th>\n<th>q<sub>0<\/sub><\/th>\n<th>q<sub>.25<\/sub><\/th>\n<th>q<sub>.5<\/sub><\/th>\n<th>q<sub>.75<\/sub><\/th>\n<th>q<sub>1<\/sub><\/th>\n<\/tr>\n<tr>\n<th>\u041d\u04141<\/th>\n<td>0<\/td>\n<td>2<\/td>\n<td>2<\/td>\n<td>3<\/td>\n<td>6<\/td>\n<\/tr>\n<tr>\n<th>N(2.408437, (1.307112)<sup>2<\/sup>)<\/th>\n<td>-Inf<\/td>\n<td>1.526803<\/td>\n<td>2.408437<\/td>\n<td>3.290070<\/td>\n<td>Inf<\/td>\n<\/tr>\n<tr>\n<th>\u041d\u04142<\/th>\n<td>0<\/td>\n<td>2<\/td>\n<td>2<\/td>\n<td>3<\/td>\n<td>7<\/td>\n<\/tr>\n<tr>\n<th>N(2.465034, (1.476001)<sup>2<\/sup>)<\/th>\n<td>-Inf<\/td>\n<td>1.469486<\/td>\n<td>2.465034<\/td>\n<td>3.460582<\/td>\n<td>Inf<\/td>\n<\/tr>\n<\/table>\n<p>  \u0418 \u0435\u0441\u043b\u0438 \u041d\u04141 \u043a\u0432\u0430\u0440\u0442\u0438\u043b\u044f\u043c\u0438 \u043f\u043e\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0445\u043e\u0442\u044f \u0431\u044b \u0441 \u043e\u043a\u0440\u0443\u0433\u043b\u0435\u043d\u0438\u0435\u043c, \u0442\u043e \u041d\u04142 \u0434\u0430\u0436\u0435 \u044d\u0442\u043e \u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442.<\/p>\n<p>  \u0421\u0445\u0435\u043c\u0430 \u043a\u0432\u0430\u043d\u0442\u0438\u043b\u0435\u0439 (<i>normal Q-Q plot<\/i>) \u0434\u043b\u044f \u043d\u0430\u0448\u0438\u0445 \u0441\u0438\u043b\u044c\u043d\u043e \u0434\u0438\u0441\u043a\u0440\u0435\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0432\u044b\u0431\u043e\u0440\u043e\u043a \u043d\u0435 \u0441\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u0430. \u0423\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442\u0441\u044f, \u0434\u0430\u0431\u044b \u043e\u0441\u0432\u0435\u0442\u0438\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e qqnorm.  <\/p>\n<pre><code class=\"python\">qqnorm((data-mu)\/sig, col=&quot;seagreen&quot;) abline( 0, 1, col=&quot;orange&quot;, lwd=2) qqnorm((data_ol-mu_ol)\/sig_ol, col=&quot;slateblue1&quot;) abline( 0, 1, col=&quot;orange&quot;, lwd=2) <\/code><\/pre>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043d\u0435 \u0437\u0430\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u044e\u0449\u0435, \u0437\u0430\u0442\u043e \u0432\u0435\u0441\u0435\u043b\u0435\u043d\u044c\u043a\u043e:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/39b\/16a\/9a2\/39b16a9a2c0aeaa6c9a9168bec79c6e6.png\" alt=\"\u0421\u0445\u0435\u043c\u0430 \u043a\u0432\u0430\u043d\u0442\u0438\u043b\u0435\u0439\"\/><\/p>\n<p>  \u0418 \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u0435\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u044b\u0445 \u0432\u044b\u0432\u043e\u0434\u043e\u0432 <a href=\"http:\/\/ru.wikipedia.org\/wiki\/%D0%AF%D1%89%D0%B8%D0%BA_%D1%81_%D1%83%D1%81%D0%B0%D0%BC%D0%B8\">\u044f\u0449\u0438\u043a \u0441 \u0443\u0441\u0430\u043c\u0438<\/a> (<i>boxplot<\/i>).  <\/p>\n<pre><code class=\"python\">boxplot(data, outchar=T, main=&quot;\u042f\u0449\u0438\u043a \u0441 \u0443\u0441\u0430\u043c\u0438 \u041d\u04141&quot;, ylab=x.txt) boxplot(data_ol, outchar=T, main=&quot;\u042f\u0449\u0438\u043a \u0441 \u0443\u0441\u0430\u043c\u0438 \u041d\u04142&quot;, ylab=x.txt) <\/code><\/pre>\n<p>  \u0413\u0440\u0430\u0444\u0438\u043a\u0430:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/7f0\/f06\/5d1\/7f0f065d1cc9b87dad6ecea965dfc649.png\" alt=\"\u042f\u0449\u0438\u043a\u0438 \u0441 \u0443\u0441\u0430\u043c\u0438\"\/><br \/>  \u041f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e \u043e\u0442\u0440\u0430\u0436\u0430\u0435\u0442 <a href=\"http:\/\/ru.wikipedia.org\/wiki\/%D0%A0%D0%BE%D0%B1%D0%B0%D1%81%D1%82%D0%BD%D0%BE%D1%81%D1%82%D1%8C_%D0%B2_%D1%81%D1%82%D0%B0%D1%82%D0%B8%D1%81%D1%82%D0%B8%D0%BA%D0%B5\">\u0440\u043e\u0431\u0430\u0441\u0442\u043d\u044b\u0435<\/a> \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438 \u0432\u044b\u0431\u043e\u0440\u043a\u0438 (\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u044b\u0435 \u043a \u043d\u0430\u043b\u0438\u0447\u0438\u044e <a href=\"http:\/\/ru.wikipedia.org\/wiki\/%D0%92%D1%8B%D0%B1%D1%80%D0%BE%D1%81_(%D1%81%D1%82%D0%B0%D1%82%D0%B8%D1%81%D1%82%D0%B8%D0%BA%D0%B0)\">\u0432\u044b\u0431\u0440\u043e\u0441\u043e\u0432<\/a>):  <\/p>\n<ul>\n<li>\u043f\u0435\u0440\u0432\u044b\u0439 \u0438 \u0442\u0440\u0435\u0442\u0438\u0439 \u043a\u0432\u0430\u0440\u0442\u0438\u043b\u044c (\u0432\u0435\u0440\u0445\u043d\u044f\u044f \u0438 \u043d\u0438\u0436\u043d\u044f\u044f \u0433\u0440\u0430\u043d\u0438\u0446\u0430 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430),<\/li>\n<li>\u0432\u0442\u043e\u0440\u043e\u0439 \u043a\u0432\u0430\u0440\u0442\u0438\u043b\u044c (\u043c\u0435\u0434\u0438\u0430\u043d\u0430, \u0443\u0442\u043e\u043b\u0449\u0435\u043d\u043d\u0430\u044f \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u0430\u044f \u043b\u0438\u043d\u0438\u0435\u0439),<\/li>\n<li>\u0434\u043e\u0432\u0435\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b (\u0432\u0435\u0440\u0445\u043d\u0438\u0439 \u0438 \u043d\u0438\u0436\u043d\u0438\u0439 \u00ab\u0443\u0441\u00bb, \u0432\u0441\u0435 \u0437\u0430 \u044d\u0442\u0438\u043c\u0438 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0432\u044b\u0431\u0440\u043e\u0441\u0430\u043c\u0438),<\/li>\n<li>\u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0432\u044b\u0431\u0440\u043e\u0441\u044b (\u043e\u043a\u0440\u0443\u0436\u043d\u043e\u0441\u0442\u0438 \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u00ab\u0443\u0441\u043e\u0432\u00bb).<\/li>\n<\/ul>\n<p>  \u0414\u043e\u0432\u0435\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f <i>\u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e<\/i> \u043a\u0430\u043a \u043e\u0442\u0441\u0442\u0443\u043f \u043e\u0442 \u043f\u0435\u0440\u0432\u043e\u0433\u043e\/\u0442\u0440\u0435\u0442\u044c\u0435\u0433\u043e \u043a\u0432\u0430\u0440\u0442\u0438\u043b\u044f \u043d\u0430 1,5 \u0438\u043d\u0442\u0435\u0440\u043a\u0432\u0430\u0440\u0442\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0430\u0445\u0430. \u0417\u0430 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u2014 ?boxplot.<\/p>\n<h4>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h4>\n<p>  \u041d\u04141 \u043e\u0442\u043a\u043b\u043e\u043d\u044f\u0435\u0442\u0441\u044f \u043c\u0435\u043d\u044c\u0448\u0435 \u041d\u04142 \u043e\u0442 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0432 \u0432\u0438\u0434\u0443:  <\/p>\n<ul>\n<li>\u043c\u0435\u043d\u044c\u0448\u0438\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0430\u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0438 \u0438 \u044d\u043a\u0441\u0446\u0435\u0441\u0441\u0430,<\/li>\n<li>\u043c\u0435\u043d\u044c\u0448\u0435\u0433\u043e \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u044f \u043a\u0432\u0430\u043d\u0442\u0438\u043b\u0435\u0439 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0441 \u0432\u044b\u0431\u043e\u0440\u043e\u0447\u043d\u044b\u043c \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0435\u043c \u0438 \u0432\u044b\u0431\u043e\u0440\u043e\u0447\u043d\u044b\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u0438\u0435\u043c \u0432 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0438 \u0441 \u043a\u0432\u0430\u043d\u0442\u0438\u043b\u044f\u043c\u0438 \u0432\u044b\u0431\u043e\u0440\u043a\u0438.<\/li>\n<\/ul>\n<h4>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f<\/h4>\n<p>  \u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0435 \u0432\u0432\u043e\u0434\u043d\u044b\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b \u0432 R (\u0430\u043d\u0433\u043b.):  <\/p>\n<ul>\n<li><a href=\"http:\/\/spark-public.s3.amazonaws.com\/compfinance\/R%20code\/RIntro.pdf\">R Introduction<\/a>, <a href=\"http:\/\/spark-public.s3.amazonaws.com\/compfinance\/R%20code\/RIntro.r\">\u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b<\/a><\/li>\n<li><a href=\"http:\/\/cran.r-project.org\/doc\/manuals\/R-intro.pdf\">An Introduction to R<\/a><\/li>\n<li><a href=\"http:\/\/cran.r-project.org\/doc\/contrib\/Paradis-rdebuts_en.pdf\">R for Beginners<\/a><\/li>\n<\/ul>\n<p>  \u0412\u0442\u043e\u0440\u0430\u044f \u0438 \u0442\u0440\u0435\u0442\u044c\u044f \u0441\u0441\u044b\u043b\u043a\u0438 \u2014 \u0447\u0430\u0441\u0442\u044c \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438. \u0415\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0432\u0432\u043e\u0434\u043d\u044b\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u043d\u0430 \u0432\u0435\u043b\u0438\u043a\u043e\u043c \u0438 \u043c\u043e\u0433\u0443\u0447\u0435\u043c, \u043f\u0438\u0448\u0438\u0442\u0435 \u2014 \u0434\u043e\u0431\u0430\u0432\u043b\u044e.<\/p>\n<p>  \u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0446\u0435\u043b\u044c\u044e \u0441\u0442\u0430\u0442\u044c\u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u043a R \u043a\u0430\u043a \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0443 \u0430\u043d\u0430\u043b\u0438\u0437\u0430. \u0415\u0441\u043b\u0438 \u043a\u0442\u043e-\u043b\u0438\u0431\u043e \u0438\u0437 \u0437\u043d\u0430\u044e\u0449\u0438\u0445 \u043b\u044e\u0434\u0435\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442 \u0431\u043e\u043b\u0435\u0435 \u0443\u0433\u043b\u0443\u0431\u043b\u0435\u043d\u043d\u044b\u0439 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b, \u0431\u0443\u0434\u0443 \u0438\u0441\u043a\u0440\u0435\u043d\u043d\u0435 \u0440\u0430\u0434 \u0438 \u0441 \u0443\u0434\u043e\u0432\u043e\u043b\u044c\u0441\u0442\u0432\u0438\u0435\u043c \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u043b\u044e\u0441\u044c.<\/p>\n<p>  \u041a\u043e\u0440\u0440\u0435\u043a\u0442\u043e\u0440\u044b \u2014 \u0432 \u043b\u0438\u0447\u043a\u0443. \u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u2014 \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438.<br \/>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0432\u0441\u0435\u043c \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435. \t\t\t \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/160373\/\"> http:\/\/habrahabr.ru\/post\/160373\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t<a href=\"http:\/\/www.r-project.org\/\"><img decoding=\"async\" src=\"http:\/\/www.r-project.org\/Rlogo.jpg\" alt=\"R-project logo\" align=\"left\"\/><\/a>\u0412\u043e \u0432\u0441\u0435\u043c \u0425\u0430\u0431\u0440\u0435 \u0441\u044b\u0441\u043a\u0430\u043b\u0430\u0441\u044c \u043b\u0438\u0448\u044c <a href=\"http:\/\/habrahabr.ru\/post\/92135\/\">\u043f\u0430\u0440\u0430<\/a> <a href=\"http:\/\/habrahabr.ru\/post\/148782\/\">\u0441\u0442\u0430\u0442\u0435\u0439<\/a> \u043d\u0430 \u0432\u044b\u0448\u0435\u0443\u043a\u0430\u0437\u0430\u043d\u043d\u0443\u044e \u0442\u0435\u043c\u0443. \u0410 \u0442\u0435\u043c\u0430 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0442\u043d\u0430\u044f. \u0414\u0430 \u0438 \u0432 \u043c\u0438\u043d\u0443\u0432\u0448\u0443\u044e \u0441\u0440\u0435\u0434\u0443 \u043a\u0430\u043a \u0440\u0430\u0437 \u043e\u043a\u043e\u043d\u0447\u0438\u043b\u0441\u044f \u043a\u0443\u0440\u0441 &quot;<a href=\"https:\/\/www.coursera.org\/course\/compfinance\">Introduction to Computational Finance and Financial Econometrics<\/a>&quot;. \u041f\u043e \u043c\u043e\u0442\u0438\u0432\u0430\u043c \u0435\u0433\u043e \u043f\u044f\u0442\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0438 \u00abDescriptive statistics\u00bb \u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u044d\u0442\u043e\u0442 \u043f\u043e\u0441\u0442. \u041f\u0440\u0438\u0447\u0430\u0441\u0442\u0438\u0432\u0448\u0438\u043c\u0441\u044f \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0430 \u0436\u0435\u043b\u0430\u044e\u0449\u0438\u0445 \u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441 <b>\u0431\u0430\u0437\u043e\u0432\u044b\u043c\u0438 \u043f\u0440\u0438\u0435\u043c\u0430\u043c\u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 R<\/b>&nbsp; \u2014 \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u0445\u0430\u0431\u0440\u0430\u043a\u0430\u0442.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-160373","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/160373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=160373"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/160373\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=160373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=160373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=160373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}