{"id":3428,"date":"2023-07-17T13:15:29","date_gmt":"2023-07-17T13:15:29","guid":{"rendered":"https:\/\/statorials.org\/tr\/rde-ornek-bir-t-testi\/"},"modified":"2023-07-17T13:15:29","modified_gmt":"2023-07-17T13:15:29","slug":"rde-ornek-bir-t-testi","status":"publish","type":"post","link":"https:\/\/statorials.org\/tr\/rde-ornek-bir-t-testi\/","title":{"rendered":"R&#39;de tek \u00f6rnekli t testi nas\u0131l yap\u0131l\u0131r"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">Bir pop\u00fclasyon ortalamas\u0131n\u0131n belirli bir de\u011fere e\u015fit olup olmad\u0131\u011f\u0131n\u0131 belirlemek i\u00e7in <a href=\"https:\/\/statorials.org\/tr\/ornek-t-testi\/\" target=\"_blank\" rel=\"noopener noreferrer\">tek \u00f6rnekli t testi<\/a> kullan\u0131l\u0131r.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Tek \u00f6rnekli bir t testi ger\u00e7ekle\u015ftirmek i\u00e7in R&#8217;de a\u015fa\u011f\u0131daki temel s\u00f6zdizimini kullanabilirsiniz:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>t. <span style=\"color: #3366ff;\">test<\/span> (data, mu= <span style=\"color: #008000;\">10<\/span> )<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">A\u015fa\u011f\u0131daki \u00f6rnek, bu s\u00f6zdiziminin pratikte nas\u0131l kullan\u0131laca\u011f\u0131n\u0131 g\u00f6sterir.<\/span><\/p>\n<h2> <strong>\u00d6rnek: R&#8217;deki bir T testi \u00f6rne\u011fi<\/strong><\/h2>\n<p> <span style=\"color: #000000;\">Bir botanik\u00e7inin belirli bir bitki t\u00fcr\u00fcn\u00fcn ortalama boyunun 15 in\u00e7 olup olmad\u0131\u011f\u0131n\u0131 bilmek istedi\u011fini varsayal\u0131m.<\/span><\/p>\n<p> <span style=\"color: #000000;\">12 bitkiden <a href=\"https:\/\/statorials.org\/tr\/ornekleme-yontemleri\/\" target=\"_blank\" rel=\"noopener\">rastgele basit bir \u00f6rnek<\/a> al\u0131yor ve her birinin y\u00fcksekli\u011fini in\u00e7 cinsinden kaydediyor.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Bu bitki t\u00fcr\u00fcn\u00fcn ortalama boyunun ger\u00e7ekte 15 in\u00e7 olup olmad\u0131\u011f\u0131n\u0131 belirlemek amac\u0131yla R&#8217;de tek \u00f6rnekli bir t testi ger\u00e7ekle\u015ftirmek i\u00e7in a\u015fa\u011f\u0131daki kodu kullanabilir:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#create vector to hold plant heights<\/span>\nmy_data &lt;- c(14, 14, 16, 13, 12, 17, 15, 14, 15, 13, 15, 14)\n\n<span style=\"color: #008080;\">#perform one sample t-test<\/span>\nt. <span style=\"color: #3366ff;\">test<\/span> (my_data, mu= <span style=\"color: #008000;\">15<\/span> )\n\n\tOne Sample t-test\n\ndata:my_data\nt = -1.6848, df = 11, p-value = 0.1201\nalternative hypothesis: true mean is not equal to 15\n95 percent confidence interval:\n 13.46244 15.20423\nsample estimates:\nmean of x \n 14.33333 \n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\u00c7\u0131kt\u0131daki her de\u011ferin nas\u0131l yorumlanaca\u011f\u0131 a\u015fa\u011f\u0131da a\u00e7\u0131klanm\u0131\u015ft\u0131r:<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>data<\/strong> : t-testinde kullan\u0131lan vekt\u00f6r\u00fcn ad\u0131. Bu \u00f6rnekte <strong>my_data&#8217;y\u0131<\/strong> kulland\u0131k.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>t<\/strong> : ( <span style=\"border-top: 1px solid black;\">x<\/span> \u2013 \u03bc) \/ (s\u221a <span style=\"border-top: 1px solid black;\">n<\/span> ) = (14,333-15)\/(1,370689\/\u221a <span style=\"border-top: 1px solid black;\">12<\/span> ) = <strong>-1,6848<\/strong> olarak hesaplanan t testi istatisti\u011fi.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>df<\/strong> : n-1 = 12-1 = <strong>11<\/strong> \u015feklinde hesaplanan serbestlik derecesi.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>p-de\u011feri<\/strong> : -1,6848 test istatisti\u011fine ve 11 serbestlik derecesine kar\u015f\u0131l\u0131k gelen iki kuyruklu p de\u011feri. Bu durumda p = <strong>0,1201<\/strong> .<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>%95 G\u00fcven Aral\u0131\u011f\u0131<\/strong> : <strong>[13.46244, 15.20423]<\/strong> olarak hesaplanan ger\u00e7ek pop\u00fclasyon ortalamas\u0131 i\u00e7in %95 g\u00fcven aral\u0131\u011f\u0131.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Bu tek \u00f6rneklemli t testi i\u00e7in bo\u015f ve alternatif hipotezler a\u015fa\u011f\u0131daki gibidir:<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>H <sub>0<\/sub> :<\/strong> \u00b5 = 15 (Bu bitki t\u00fcr\u00fcn\u00fcn ortalama boyu 15 in\u00e7tir)<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>H <sub>A<\/sub> :<\/strong> \u00b5 \u226015 (ortalama y\u00fckseklik 15 in\u00e7 <em>de\u011fil<\/em> )<\/span><\/p>\n<p> <span style=\"color: #000000;\">Testimizin p de\u011feri <strong>(0,1201)<\/strong> 0,05&#8217;ten b\u00fcy\u00fck oldu\u011fundan testin s\u0131f\u0131r hipotezini reddedemiyoruz.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Bu, bu belirli bitki t\u00fcr\u00fcn\u00fcn ortalama boyunun 15 in\u00e7ten farkl\u0131 oldu\u011funu s\u00f6yleyecek yeterli kan\u0131t\u0131m\u0131z olmad\u0131\u011f\u0131 anlam\u0131na geliyor.<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>Ek kaynaklar<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">A\u015fa\u011f\u0131daki e\u011fitimlerde R&#8217;de di\u011fer yayg\u0131n testlerin nas\u0131l ger\u00e7ekle\u015ftirilece\u011fi a\u00e7\u0131klanmaktad\u0131r:<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/tr\/rde-iki-ornek-t-testi\/\" target=\"_blank\" rel=\"noopener\">R&#8217;de iki \u00f6rnekli T testi nas\u0131l yap\u0131l\u0131r<\/a><br \/> <a href=\"https:\/\/statorials.org\/tr\/eslestirilmis-ornekler-t-testi-r\/\" target=\"_blank\" rel=\"noopener\">R&#8217;de e\u015fle\u015ftirilmi\u015f \u00f6rnekler t testi nas\u0131l yap\u0131l\u0131r<\/a><br \/> <a href=\"https:\/\/statorials.org\/tr\/rde-welch-t-testi\/\" target=\"_blank\" rel=\"noopener\">R&#8217;de Welch&#8217;in T testi nas\u0131l ger\u00e7ekle\u015ftirilir?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bir pop\u00fclasyon ortalamas\u0131n\u0131n belirli bir de\u011fere e\u015fit olup olmad\u0131\u011f\u0131n\u0131 belirlemek i\u00e7in tek \u00f6rnekli t testi kullan\u0131l\u0131r. Tek \u00f6rnekli bir t testi ger\u00e7ekle\u015ftirmek i\u00e7in R&#8217;de a\u015fa\u011f\u0131daki temel s\u00f6zdizimini kullanabilirsiniz: t. test (data, mu= 10 ) A\u015fa\u011f\u0131daki \u00f6rnek, bu s\u00f6zdiziminin pratikte nas\u0131l kullan\u0131laca\u011f\u0131n\u0131 g\u00f6sterir. \u00d6rnek: R&#8217;deki bir T testi \u00f6rne\u011fi Bir botanik\u00e7inin belirli bir bitki t\u00fcr\u00fcn\u00fcn ortalama [&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-3428","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 - Statorials&#039;de tek \u00f6rnekli t testi nas\u0131l yap\u0131l\u0131r<\/title>\n<meta name=\"description\" content=\"Bu e\u011fitimde, tam bir \u00f6rnek de dahil olmak \u00fczere R&#039;de tek \u00f6rnekli bir t testinin 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-ornek-bir-t-testi\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"R - Statorials&#039;de tek \u00f6rnekli t testi nas\u0131l yap\u0131l\u0131r\" \/>\n<meta property=\"og:description\" content=\"Bu e\u011fitimde, tam bir \u00f6rnek de dahil olmak \u00fczere R&#039;de tek \u00f6rnekli bir t testinin nas\u0131l ger\u00e7ekle\u015ftirilece\u011fi a\u00e7\u0131klanmaktad\u0131r.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/tr\/rde-ornek-bir-t-testi\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-17T13:15:29+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=\"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-ornek-bir-t-testi\/\",\"url\":\"https:\/\/statorials.org\/tr\/rde-ornek-bir-t-testi\/\",\"name\":\"R - Statorials&#39;de tek \u00f6rnekli t testi nas\u0131l yap\u0131l\u0131r\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/tr\/#website\"},\"datePublished\":\"2023-07-17T13:15:29+00:00\",\"dateModified\":\"2023-07-17T13:15:29+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 tek \u00f6rnekli bir t testinin nas\u0131l ger\u00e7ekle\u015ftirilece\u011fi a\u00e7\u0131klanmaktad\u0131r.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/tr\/rde-ornek-bir-t-testi\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/tr\/rde-ornek-bir-t-testi\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/tr\/rde-ornek-bir-t-testi\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ev\",\"item\":\"https:\/\/statorials.org\/tr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"R&#39;de tek \u00f6rnekli t testi nas\u0131l yap\u0131l\u0131r\"}]},{\"@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 - Statorials&#39;de tek \u00f6rnekli t testi nas\u0131l yap\u0131l\u0131r","description":"Bu e\u011fitimde, tam bir \u00f6rnek de dahil olmak \u00fczere R&#39;de tek \u00f6rnekli bir t testinin 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-ornek-bir-t-testi\/","og_locale":"tr_TR","og_type":"article","og_title":"R - Statorials&#39;de tek \u00f6rnekli t testi nas\u0131l yap\u0131l\u0131r","og_description":"Bu e\u011fitimde, tam bir \u00f6rnek de dahil olmak \u00fczere R&#39;de tek \u00f6rnekli bir t testinin nas\u0131l ger\u00e7ekle\u015ftirilece\u011fi a\u00e7\u0131klanmaktad\u0131r.","og_url":"https:\/\/statorials.org\/tr\/rde-ornek-bir-t-testi\/","og_site_name":"Statorials","article_published_time":"2023-07-17T13:15:29+00:00","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-ornek-bir-t-testi\/","url":"https:\/\/statorials.org\/tr\/rde-ornek-bir-t-testi\/","name":"R - Statorials&#39;de tek \u00f6rnekli t testi nas\u0131l yap\u0131l\u0131r","isPartOf":{"@id":"https:\/\/statorials.org\/tr\/#website"},"datePublished":"2023-07-17T13:15:29+00:00","dateModified":"2023-07-17T13:15:29+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 tek \u00f6rnekli bir t testinin nas\u0131l ger\u00e7ekle\u015ftirilece\u011fi a\u00e7\u0131klanmaktad\u0131r.","breadcrumb":{"@id":"https:\/\/statorials.org\/tr\/rde-ornek-bir-t-testi\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/tr\/rde-ornek-bir-t-testi\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/tr\/rde-ornek-bir-t-testi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Ev","item":"https:\/\/statorials.org\/tr\/"},{"@type":"ListItem","position":2,"name":"R&#39;de tek \u00f6rnekli t testi nas\u0131l yap\u0131l\u0131r"}]},{"@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\/3428","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=3428"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/posts\/3428\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/media?parent=3428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/categories?post=3428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/tr\/wp-json\/wp\/v2\/tags?post=3428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}