{"id":458,"date":"2023-07-29T20:32:53","date_gmt":"2023-07-29T20:32:53","guid":{"rendered":"https:\/\/statorials.org\/tr\/normal-dagilim-ryi-cizin\/"},"modified":"2023-07-29T20:32:53","modified_gmt":"2023-07-29T20:32:53","slug":"normal-dagilim-ryi-cizin","status":"publish","type":"post","link":"https:\/\/statorials.org\/tr\/normal-dagilim-ryi-cizin\/","title":{"rendered":"R&#39;de normal da\u011f\u0131l\u0131m nas\u0131l \u00e7izilir"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">R&#8217;de normal bir da\u011f\u0131l\u0131m \u00e7izmek i\u00e7in R taban\u0131n\u0131 kullanabilir veya ggplot2 gibi daha karma\u015f\u0131k bir paket y\u00fckleyebiliriz.<\/span><\/p>\n<h2> <strong><span style=\"color: #000000;\">BaseR&#8217;yi kullanma<\/span><\/strong><\/h2>\n<p> <span style=\"color: #000000;\">Base R&#8217;yi kullanarak normal da\u011f\u0131l\u0131m grafi\u011fi olu\u015fturman\u0131n \u00fc\u00e7 \u00f6rne\u011fini burada bulabilirsiniz.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\u00d6rnek 1: ortalama = 0 ve standart sapma = 1 olan normal da\u011f\u0131l\u0131m<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">Ortalama = 0 ve standart sapma = 1 olan bir normal da\u011f\u0131l\u0131m grafi\u011fi olu\u015fturmak i\u00e7in a\u015fa\u011f\u0131daki kodu kullanabiliriz:<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#Create a sequence of 100 equally spaced numbers between -4 and 4<\/span>\nx &lt;- seq(-4, 4, length=100)\n\n<span style=\"color: #008080;\">#create a vector of values that shows the height of the probability distribution<\/span>\n<span style=\"color: #008080;\">#for each value in x<\/span>\ny &lt;- dnorm(x)\n\n<span style=\"color: #008080;\">#plot x and y as a scatterplot with connected lines (type = \"l\") and add<\/span>\n<span style=\"color: #008080;\">#an x-axis with custom labels<\/span>\nplot(x,y, type = \"l\", lwd = 2, axes = FALSE, xlab = \"\", ylab = \"\")\naxis(1, at = -3:3, labels = c(\"-3s\", \"-2s\", \"-1s\", \"mean\", \"1s\", \"2s\", \"3s\"))<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Bu, a\u015fa\u011f\u0131daki grafi\u011fi olu\u015fturur:<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\u00d6rnek 2: Ortalama = 0 ve standart sapma = 1 olan normal da\u011f\u0131l\u0131m (daha az kod)<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">Ayr\u0131ca <em>x<\/em> ve <em>y&#8217;yi<\/em> tan\u0131mlamadan ve a\u015fa\u011f\u0131daki kodu kullanarak basit\u00e7e &#8220;e\u011fri&#8221; i\u015flevini kullanarak bir normal da\u011f\u0131l\u0131m grafi\u011fi olu\u015fturabiliriz:<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong>curve(dnorm, -3.5, 3.5, lwd=2, axes = FALSE, xlab = \"\", ylab = \"\")\naxis(1, at = -3:3, labels = c(\"-3s\", \"-2s\", \"-1s\", \"mean\", \"1s\", \"2s\", \"3s\"))<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Bu tam olarak ayn\u0131 grafi\u011fi olu\u015fturur:<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\u00d6rnek 3: \u00d6zel Ortalama ve Standart Sapma ile Normal Da\u011f\u0131l\u0131m<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">Kullan\u0131c\u0131 tan\u0131ml\u0131 ortalama ve standart sapmaya sahip bir normal da\u011f\u0131l\u0131m grafi\u011fi olu\u015fturmak i\u00e7in a\u015fa\u011f\u0131daki kodu kullanabiliriz:<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#define population mean and standard deviation<\/span>\npopulation_mean &lt;- 50\npopulation_sd &lt;- 5\n\n<span style=\"color: #008080;\">#define upper and lower bound\n<\/span>lower_bound &lt;- population_mean - population_sd\nupper_bound &lt;- population_mean + population_sd\n\n<span style=\"color: #008080;\">#Create a sequence of 1000 x values based on population mean and standard deviation<\/span>\nx &lt;- seq(-4, 4, length = 1000) * population_sd + population_mean\n\n<span style=\"color: #008080;\">#create a vector of values that shows the height of the probability distribution\n<\/span><span style=\"color: #008080;\">#for each value in x<\/span>\ny &lt;- dnorm(x, population_mean, population_sd)\n\n<span style=\"color: #008080;\">#plot normal distribution with customized x-axis labels\n<\/span>plot(x,y, type = \"l\", lwd = 2, axes = FALSE, xlab = \"\", ylab = \"\")\nsd_axis_bounds = 5\naxis_bounds &lt;- seq(-sd_axis_bounds * population_sd + population_mean,\n                    sd_axis_bounds * population_sd + population_mean,\n                    by = population_sd)\naxis(side = 1, at = axis_bounds, pos = 0)<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Bu, a\u015fa\u011f\u0131daki grafi\u011fi olu\u015fturur:<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>Ggplot2&#8217;yi kullanma<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">R&#8217;de normal da\u011f\u0131l\u0131m grafi\u011fi olu\u015fturman\u0131n ba\u015fka bir yolu da ggplot2 paketini kullanmakt\u0131r. Burada ggplot2 kullanarak normal da\u011f\u0131l\u0131m grafi\u011fi olu\u015fturmaya y\u00f6nelik iki \u00f6rnek verilmi\u015ftir.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\u00d6rnek 1: ortalama = 0 ve standart sapma = 1 olan normal da\u011f\u0131l\u0131m<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">Ortalama = 0 ve standart sapma = 1 olan bir normal da\u011f\u0131l\u0131m grafi\u011fi olu\u015fturmak i\u00e7in a\u015fa\u011f\u0131daki kodu kullanabiliriz:<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#install (if not already installed) and load ggplot2<\/span>\nif(!(require(ggplot2))){install.packages('ggplot2')}\n\n<span style=\"color: #008080;\">#generate a normal distribution plot\n<\/span>ggplot(data.frame(x = c(-4, 4)), aes(x = x)) +\nstat_function(fun = dnorm)<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Bu, a\u015fa\u011f\u0131daki grafi\u011fi olu\u015fturur:<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\u00d6rnek 2: &#8216;mtcars&#8217; veri k\u00fcmesini kullanan normal da\u011f\u0131t\u0131m<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">A\u015fa\u011f\u0131daki kod, <em>mtcars<\/em> yerle\u015fik R veri k\u00fcmesinde <em>galon ba\u015f\u0131na mil<\/em> s\u00fctunu i\u00e7in normal bir da\u011f\u0131l\u0131m\u0131n nas\u0131l olu\u015fturulaca\u011f\u0131n\u0131 g\u00f6sterir:<\/span><\/p>\n<pre style=\"background-color: #e5e5e5; font-size: 15px;\"> <strong>ggplot(mtcars, aes(x = mpg)) +\nstat_function(\nfun = dnorm,\nargs = with(mtcars, c(mean = mean(mpg), sd = sd(mpg)))\n) +\nscale_x_continuous(\"Miles per gallon\")<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Bu, a\u015fa\u011f\u0131daki grafi\u011fi olu\u015fturur:<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>R&#8217;de normal bir da\u011f\u0131l\u0131m \u00e7izmek i\u00e7in R taban\u0131n\u0131 kullanabilir veya ggplot2 gibi daha karma\u015f\u0131k bir paket y\u00fckleyebiliriz. BaseR&#8217;yi kullanma Base R&#8217;yi kullanarak normal da\u011f\u0131l\u0131m grafi\u011fi olu\u015fturman\u0131n \u00fc\u00e7 \u00f6rne\u011fini burada bulabilirsiniz. \u00d6rnek 1: ortalama = 0 ve standart sapma = 1 olan normal da\u011f\u0131l\u0131m Ortalama = 0 ve standart sapma = 1 olan bir normal da\u011f\u0131l\u0131m [&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-458","post","type-post","status-publish","format-standard","hentry","category-rehber"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>R - Statorialsde normal da\u011f\u0131l\u0131m nas\u0131l \u00e7izilir<\/title>\n<meta name=\"description\" content=\"Bu basit e\u011fitim, R taban\u0131n\u0131 ve ggplot2&#039;yi kullanarak R&#039;de hem normal da\u011f\u0131l\u0131m\u0131n nas\u0131l \u00e7izilece\u011fini a\u00e7\u0131kl\u0131yor.\" \/>\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\/tr\/normal-dagilim-ryi-cizin\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"R - Statorialsde normal da\u011f\u0131l\u0131m nas\u0131l \u00e7izilir\" \/>\n<meta property=\"og:description\" content=\"Bu basit e\u011fitim, R taban\u0131n\u0131 ve ggplot2&#039;yi kullanarak R&#039;de hem normal da\u011f\u0131l\u0131m\u0131n nas\u0131l \u00e7izilece\u011fini a\u00e7\u0131kl\u0131yor.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/tr\/normal-dagilim-ryi-cizin\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-29T20:32:53+00:00\" \/>\n<meta name=\"author\" content=\"Dr.benjamin anderson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dr.benjamin anderson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/tr\/normal-dagilim-ryi-cizin\/\",\"url\":\"https:\/\/statorials.org\/tr\/normal-dagilim-ryi-cizin\/\",\"name\":\"R - Statorialsde normal da\u011f\u0131l\u0131m nas\u0131l \u00e7izilir\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/tr\/#website\"},\"datePublished\":\"2023-07-29T20:32:53+00:00\",\"dateModified\":\"2023-07-29T20:32:53+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48\"},\"description\":\"Bu basit e\u011fitim, R taban\u0131n\u0131 ve ggplot2&#39;yi kullanarak R&#39;de hem normal da\u011f\u0131l\u0131m\u0131n nas\u0131l \u00e7izilece\u011fini a\u00e7\u0131kl\u0131yor.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/tr\/normal-dagilim-ryi-cizin\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/tr\/normal-dagilim-ryi-cizin\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/tr\/normal-dagilim-ryi-cizin\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ev\",\"item\":\"https:\/\/statorials.org\/tr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"R&#39;de normal da\u011f\u0131l\u0131m nas\u0131l \u00e7izilir\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/tr\/#website\",\"url\":\"https:\/\/statorials.org\/tr\/\",\"name\":\"Statorials\",\"description\":\"\u0130statistik okuryazarl\u0131\u011f\u0131 rehberiniz!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/tr\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"tr\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48\",\"name\":\"Dr.benjamin anderson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/statorials.org\/tr\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/tr\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/tr\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"Dr.benjamin anderson\"},\"description\":\"Merhaba, ben Benjamin, emekli bir istatistik profes\u00f6r\u00fc ve Statorials \u00f6\u011fretmenine d\u00f6n\u00fc\u015ft\u00fcm. \u0130statistik alan\u0131ndaki kapsaml\u0131 deneyimim ve uzmanl\u0131\u011f\u0131mla, \u00f6\u011frencilerimi Statorials arac\u0131l\u0131\u011f\u0131yla g\u00fc\u00e7lendirmek i\u00e7in bilgilerimi payla\u015fmaya can at\u0131yorum. Daha fazlas\u0131n\u0131 bil\",\"sameAs\":[\"https:\/\/statorials.org\/tr\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"R - Statorialsde normal da\u011f\u0131l\u0131m nas\u0131l \u00e7izilir","description":"Bu basit e\u011fitim, R taban\u0131n\u0131 ve ggplot2&#39;yi kullanarak R&#39;de hem normal da\u011f\u0131l\u0131m\u0131n nas\u0131l \u00e7izilece\u011fini a\u00e7\u0131kl\u0131yor.","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\/tr\/normal-dagilim-ryi-cizin\/","og_locale":"tr_TR","og_type":"article","og_title":"R - Statorialsde normal da\u011f\u0131l\u0131m nas\u0131l \u00e7izilir","og_description":"Bu basit e\u011fitim, R taban\u0131n\u0131 ve ggplot2&#39;yi kullanarak R&#39;de hem normal da\u011f\u0131l\u0131m\u0131n nas\u0131l \u00e7izilece\u011fini a\u00e7\u0131kl\u0131yor.","og_url":"https:\/\/statorials.org\/tr\/normal-dagilim-ryi-cizin\/","og_site_name":"Statorials","article_published_time":"2023-07-29T20:32:53+00:00","author":"Dr.benjamin anderson","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Dr.benjamin anderson","Tahmini okuma s\u00fcresi":"3 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/tr\/normal-dagilim-ryi-cizin\/","url":"https:\/\/statorials.org\/tr\/normal-dagilim-ryi-cizin\/","name":"R - Statorialsde normal da\u011f\u0131l\u0131m nas\u0131l \u00e7izilir","isPartOf":{"@id":"https:\/\/statorials.org\/tr\/#website"},"datePublished":"2023-07-29T20:32:53+00:00","dateModified":"2023-07-29T20:32:53+00:00","author":{"@id":"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48"},"description":"Bu basit e\u011fitim, R taban\u0131n\u0131 ve ggplot2&#39;yi kullanarak R&#39;de hem normal da\u011f\u0131l\u0131m\u0131n nas\u0131l \u00e7izilece\u011fini a\u00e7\u0131kl\u0131yor.","breadcrumb":{"@id":"https:\/\/statorials.org\/tr\/normal-dagilim-ryi-cizin\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/tr\/normal-dagilim-ryi-cizin\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/tr\/normal-dagilim-ryi-cizin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Ev","item":"https:\/\/statorials.org\/tr\/"},{"@type":"ListItem","position":2,"name":"R&#39;de normal da\u011f\u0131l\u0131m nas\u0131l \u00e7izilir"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/tr\/#website","url":"https:\/\/statorials.org\/tr\/","name":"Statorials","description":"\u0130statistik okuryazarl\u0131\u011f\u0131 rehberiniz!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/tr\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"tr"},{"@type":"Person","@id":"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48","name":"Dr.benjamin anderson","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/statorials.org\/tr\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/tr\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/tr\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"Dr.benjamin anderson"},"description":"Merhaba, ben Benjamin, emekli bir istatistik profes\u00f6r\u00fc ve Statorials \u00f6\u011fretmenine d\u00f6n\u00fc\u015ft\u00fcm. \u0130statistik alan\u0131ndaki kapsaml\u0131 deneyimim ve uzmanl\u0131\u011f\u0131mla, \u00f6\u011frencilerimi Statorials arac\u0131l\u0131\u011f\u0131yla g\u00fc\u00e7lendirmek i\u00e7in bilgilerimi payla\u015fmaya can at\u0131yorum. Daha fazlas\u0131n\u0131 bil","sameAs":["https:\/\/statorials.org\/tr"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/posts\/458","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/comments?post=458"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/posts\/458\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/media?parent=458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/categories?post=458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/tags?post=458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}