{"id":3152,"date":"2023-07-18T23:20:40","date_gmt":"2023-07-18T23:20:40","guid":{"rendered":"https:\/\/statorials.org\/tr\/rde-dogrusal-enterpolasyon\/"},"modified":"2023-07-18T23:20:40","modified_gmt":"2023-07-18T23:20:40","slug":"rde-dogrusal-enterpolasyon","status":"publish","type":"post","link":"https:\/\/statorials.org\/tr\/rde-dogrusal-enterpolasyon\/","title":{"rendered":"R&#39;de do\u011frusal i\u0307nterpolasyon nas\u0131l ger\u00e7ekle\u015ftirilir (\u00f6rnekle)"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\"><strong>Do\u011frusal enterpolasyon,<\/strong> bir fonksiyonun bilinen iki de\u011feri aras\u0131ndaki bilinmeyen bir de\u011ferini tahmin etme i\u015flemidir.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Bilinen iki de\u011fer (x <sub>1<\/sub> , y <sub>1<\/sub> ) ve (x <sub>2<\/sub> , y <sub>2<\/sub> ) verildi\u011finde, a\u015fa\u011f\u0131daki form\u00fcl\u00fc kullanarak bir x noktas\u0131 i\u00e7in y de\u011ferini tahmin edebiliriz:<\/span><\/p>\n<p> <span style=\"color: #000000;\">y = y <sub>1<\/sub> + (xx <sub>1<\/sub> )(y <sub>2<\/sub> -y <sub>1<\/sub> )\/(x <sub>2<\/sub> -x <sub>1<\/sub> )<\/span><\/p>\n<p> <span style=\"color: #000000;\">A\u015fa\u011f\u0131daki \u00f6rnek, R&#8217;de do\u011frusal enterpolasyonun nas\u0131l ger\u00e7ekle\u015ftirilece\u011fini g\u00f6sterir.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\u00d6rnek: R&#8217;de do\u011frusal enterpolasyon<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">R&#8217;de x ve y de\u011ferlerine sahip a\u015fa\u011f\u0131daki veri \u00e7er\u00e7evesine sahip oldu\u011fumuzu varsayal\u0131m:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#define data frame\n<\/span>df &lt;- data. <span style=\"color: #3366ff;\">frame<\/span> (x=c(2, 4, 6, 8, 10, 12, 14, 16, 18, 20),\n                 y=c(4, 7, 11, 16, 22, 29, 38, 49, 63, 80))\n\n<span style=\"color: #008080;\">#view data frame\n<\/span>df\n\n    xy\n1 2 4\n2 4 7\n3 6 11\n4 8 16\n5 10 22\n6 12 29\n7 14 38\n8 16 49\n9 18 63\n10 20 80<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Veri \u00e7er\u00e7evesindeki (x,y) de\u011ferlerini g\u00f6rselle\u015ftirmek amac\u0131yla da\u011f\u0131l\u0131m grafi\u011fi olu\u015fturmak i\u00e7in a\u015fa\u011f\u0131daki kodu kullanabiliriz:<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008080;\">#create scatterplot<\/span>\nplot(df$x, df$y, col=' <span style=\"color: #ff0000;\">blue<\/span> ', pch= <span style=\"color: #008000;\">19<\/span> )\n<\/span><\/span><\/strong><\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" wp-image-26793 aligncenter\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/lineairer1.jpg\" alt=\"\" width=\"430\" height=\"394\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p> <span style=\"color: #000000;\">\u015eimdi, <strong>13&#8217;l\u00fck<\/strong> yeni bir x de\u011feriyle ili\u015fkili y de\u011ferini bulmak istedi\u011fimizi varsayal\u0131m.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Bunu yapmak i\u00e7in R&#8217;deki <strong>approx()<\/strong> fonksiyonunu kullanabiliriz:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #008080;\">#fit linear regression model using data frame<\/span>\nmodel &lt;- lm(y ~ x, data = df)\n\n<span style=\"color: #008080;\">#interpolate y value based on x value of 13\n<\/span>y_new = approx(df$x, df$y, xout= <span style=\"color: #008000;\">13<\/span> )\n\n<span style=\"color: #008080;\">#view interpolated y value\n<\/span>y_new\n\n$x\n[1] 13\n\n$y\n[1] 33.5\n<\/strong><\/span><\/pre>\n<p> <span style=\"color: #000000;\">Tahmin edilen y de\u011feri <strong>33,5<\/strong> olarak \u00e7\u0131k\u0131yor.<\/span><\/p>\n<p> <span style=\"color: #000000;\">E\u011fer (13, 33.5) noktas\u0131n\u0131 \u00e7izimimize eklersek, fonksiyonla olduk\u00e7a iyi e\u015fle\u015fti\u011fi g\u00f6r\u00fcl\u00fcyor:<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008080;\">#create scatterplot\n<\/span>plot(df$x, df$y, col=' <span style=\"color: #ff0000;\">blue<\/span> ', pch= <span style=\"color: #008000;\">19<\/span> )\n\n<span style=\"color: #008080;\">#add the predicted point to the scatterplot\n<\/span>points(13, y_new$y, col=' <span style=\"color: #ff0000;\">red<\/span> ', pch= <span style=\"color: #008000;\">19<\/span> )\n<\/span><\/span><\/strong><\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-26794 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/lineairer2.jpg\" alt=\"R'de do\u011frusal enterpolasyon\" width=\"431\" height=\"398\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p> <span style=\"color: #000000;\">Herhangi bir yeni x de\u011feri i\u00e7in do\u011frusal enterpolasyon ger\u00e7ekle\u015ftirmek amac\u0131yla bu tam form\u00fcl\u00fc kullanabiliriz.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>Ek kaynaklar<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">A\u015fa\u011f\u0131daki e\u011fitimlerde R&#8217;de di\u011fer ortak g\u00f6revlerin nas\u0131l ger\u00e7ekle\u015ftirilece\u011fi a\u00e7\u0131klanmaktad\u0131r:<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/tr\/r-denklem-sistemini-coz\/\" target=\"_blank\" rel=\"noopener\">R&#8217;de bir denklem sistemi nas\u0131l \u00e7\u00f6z\u00fcl\u00fcr?<\/a><br \/> <a href=\"https:\/\/statorials.org\/tr\/rde-coklu-regresyonu-tahmin-edin\/\" target=\"_blank\" rel=\"noopener\">\u00c7oklu regresyon modeli kullan\u0131larak R&#8217;deki de\u011ferler nas\u0131l tahmin edilir?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do\u011frusal enterpolasyon, bir fonksiyonun bilinen iki de\u011feri aras\u0131ndaki bilinmeyen bir de\u011ferini tahmin etme i\u015flemidir. Bilinen iki de\u011fer (x 1 , y 1 ) ve (x 2 , y 2 ) verildi\u011finde, a\u015fa\u011f\u0131daki form\u00fcl\u00fc kullanarak bir x noktas\u0131 i\u00e7in y de\u011ferini tahmin edebiliriz: y = y 1 + (xx 1 )(y 2 -y 1 )\/(x 2 [&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-3152","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&#039;de Do\u011frusal \u0130nterpolasyon Nas\u0131l Ger\u00e7ekle\u015ftirilir (\u00d6rnekle) - Statorials<\/title>\n<meta name=\"description\" content=\"Bu e\u011fitimde, tam bir \u00f6rnek de dahil olmak \u00fczere R&#039;de do\u011frusal enterpolasyonun nas\u0131l ger\u00e7ekle\u015ftirilece\u011fi a\u00e7\u0131klanmaktad\u0131r.\" \/>\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\/rde-dogrusal-enterpolasyon\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"R&#039;de Do\u011frusal \u0130nterpolasyon Nas\u0131l Ger\u00e7ekle\u015ftirilir (\u00d6rnekle) - Statorials\" \/>\n<meta property=\"og:description\" content=\"Bu e\u011fitimde, tam bir \u00f6rnek de dahil olmak \u00fczere R&#039;de do\u011frusal enterpolasyonun nas\u0131l ger\u00e7ekle\u015ftirilece\u011fi a\u00e7\u0131klanmaktad\u0131r.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/tr\/rde-dogrusal-enterpolasyon\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-18T23:20:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/lineairer1.jpg\" \/>\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=\"2 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/tr\/rde-dogrusal-enterpolasyon\/\",\"url\":\"https:\/\/statorials.org\/tr\/rde-dogrusal-enterpolasyon\/\",\"name\":\"R&#39;de Do\u011frusal \u0130nterpolasyon Nas\u0131l Ger\u00e7ekle\u015ftirilir (\u00d6rnekle) - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/tr\/#website\"},\"datePublished\":\"2023-07-18T23:20:40+00:00\",\"dateModified\":\"2023-07-18T23:20:40+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48\"},\"description\":\"Bu e\u011fitimde, tam bir \u00f6rnek de dahil olmak \u00fczere R&#39;de do\u011frusal enterpolasyonun nas\u0131l ger\u00e7ekle\u015ftirilece\u011fi a\u00e7\u0131klanmaktad\u0131r.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/tr\/rde-dogrusal-enterpolasyon\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/tr\/rde-dogrusal-enterpolasyon\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/tr\/rde-dogrusal-enterpolasyon\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ev\",\"item\":\"https:\/\/statorials.org\/tr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"R&#39;de do\u011frusal i\u0307nterpolasyon nas\u0131l ger\u00e7ekle\u015ftirilir (\u00f6rnekle)\"}]},{\"@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&#39;de Do\u011frusal \u0130nterpolasyon Nas\u0131l Ger\u00e7ekle\u015ftirilir (\u00d6rnekle) - Statorials","description":"Bu e\u011fitimde, tam bir \u00f6rnek de dahil olmak \u00fczere R&#39;de do\u011frusal enterpolasyonun nas\u0131l ger\u00e7ekle\u015ftirilece\u011fi a\u00e7\u0131klanmaktad\u0131r.","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\/rde-dogrusal-enterpolasyon\/","og_locale":"tr_TR","og_type":"article","og_title":"R&#39;de Do\u011frusal \u0130nterpolasyon Nas\u0131l Ger\u00e7ekle\u015ftirilir (\u00d6rnekle) - Statorials","og_description":"Bu e\u011fitimde, tam bir \u00f6rnek de dahil olmak \u00fczere R&#39;de do\u011frusal enterpolasyonun nas\u0131l ger\u00e7ekle\u015ftirilece\u011fi a\u00e7\u0131klanmaktad\u0131r.","og_url":"https:\/\/statorials.org\/tr\/rde-dogrusal-enterpolasyon\/","og_site_name":"Statorials","article_published_time":"2023-07-18T23:20:40+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/lineairer1.jpg"}],"author":"Dr.benjamin anderson","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Dr.benjamin anderson","Tahmini okuma s\u00fcresi":"2 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/tr\/rde-dogrusal-enterpolasyon\/","url":"https:\/\/statorials.org\/tr\/rde-dogrusal-enterpolasyon\/","name":"R&#39;de Do\u011frusal \u0130nterpolasyon Nas\u0131l Ger\u00e7ekle\u015ftirilir (\u00d6rnekle) - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/tr\/#website"},"datePublished":"2023-07-18T23:20:40+00:00","dateModified":"2023-07-18T23:20:40+00:00","author":{"@id":"https:\/\/statorials.org\/tr\/#\/schema\/person\/365dc158a39a7c8ae256355451e3de48"},"description":"Bu e\u011fitimde, tam bir \u00f6rnek de dahil olmak \u00fczere R&#39;de do\u011frusal enterpolasyonun nas\u0131l ger\u00e7ekle\u015ftirilece\u011fi a\u00e7\u0131klanmaktad\u0131r.","breadcrumb":{"@id":"https:\/\/statorials.org\/tr\/rde-dogrusal-enterpolasyon\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/tr\/rde-dogrusal-enterpolasyon\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/tr\/rde-dogrusal-enterpolasyon\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Ev","item":"https:\/\/statorials.org\/tr\/"},{"@type":"ListItem","position":2,"name":"R&#39;de do\u011frusal i\u0307nterpolasyon nas\u0131l ger\u00e7ekle\u015ftirilir (\u00f6rnekle)"}]},{"@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\/3152","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=3152"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/posts\/3152\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/media?parent=3152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/categories?post=3152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/tags?post=3152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}