{"id":2285,"date":"2023-11-29T19:35:00","date_gmt":"2023-11-29T16:35:00","guid":{"rendered":"http:\/\/www.gokberkcan.com\/?p=2285"},"modified":"2023-11-27T00:15:53","modified_gmt":"2023-11-26T21:15:53","slug":"stargazer-yerine-modelsummary","status":"publish","type":"post","link":"https:\/\/www.gokberkcan.com\/?p=2285","title":{"rendered":"Stargazer yerine ModelSummary"},"content":{"rendered":"\n<p>R&#8217;da elde etti\u011fim sonu\u00e7lar\u0131 Excel&#8217;e aktarmak i\u00e7in kulland\u0131\u011f\u0131m stargazer paketinin yerine kullanabilece\u011fim, beni CSV-HTML i\u015fleriyle u\u011fra\u015ft\u0131rmayacak, her \u015feyi haz\u0131r halde \u00f6n\u00fcme koyacak bir paket aray\u0131\u015f\u0131m sonunda bitti.<\/p>\n\n\n\n<p>\u00f6ncelikle <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-accent-color\">modelsummary <\/mark>paketini kuruyoruz ve sisteme y\u00fckl\u00fcyoruz<\/p>\n\n\n\n<p><code>install.packages(\"modelsummary\")<\/code><\/p>\n\n\n\n<p><code>library(modelsummary)<\/code><\/p>\n\n\n\n<p>Raporlamak istedi\u011finiz modelleri liste olarak kaydediyoruz<\/p>\n\n\n\n<p><code>ModListesi&lt;-List(Regresyon1,Regresyon2,Regresyon3)<\/code><\/p>\n\n\n\n<p>modelsummary ile listeyi \u00e7a\u011f\u0131rd\u0131\u011f\u0131n\u0131zda haliyle varsay\u0131lan ayarlar\u0131 ile \u00e7al\u0131\u015f\u0131yor. <\/p>\n\n\n\n<p><code>modelsummary(ModListesi)<\/code><\/p>\n\n\n\n<p>Benim kullanmay\u0131 tercih etti\u011fim ayarlar i\u015fte a\u015fa\u011f\u0131da<\/p>\n\n\n\n<p><code>modelsummary(ModListesi, fmt=4,statistic = \"{std.error}\",stars = c('***'=0.01,'**'=0.05, '*'=0.1),output = \"B_Model_List.docx\")<\/code><\/p>\n\n\n\n<p><code>fmt=4,<\/code> # ondal\u0131k hanede 4 basamak olacak<br><code>statistic = \"{std.error}\",<\/code> # katsay\u0131 haricinde sadece standart hatalar yer alacak<br><code>stars = c('***'=0.01,'**'=0.05, '*'=0.1)<\/code> # y\u0131ld\u0131zlar\u0131n eklenece\u011fi g\u00fcven aral\u0131klar\u0131<br><code>,output = \"ModListesi.docx\")<\/code> # sonu\u00e7lar\u0131 Word dosyas\u0131na kaydedilmesi<\/p>\n\n\n\n<p>RStudio kullan\u0131yorsan\u0131z, sa\u011f tarafta dosyalar listesinde ModListesi.docx g\u00f6rebiliyor olacaks\u0131n\u0131z. <\/p>\n\n\n\n<p>Umar\u0131m i\u015finize yarar.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.gokberkcan.com\/?p=1642\">Ayn\u0131 sonu\u00e7lar\u0131 Stargazer ile elde etmek i\u00e7in t\u0131klay\u0131n\u0131z<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>R&#8217;da elde etti\u011fim sonu\u00e7lar\u0131 Excel&#8217;e aktarmak i\u00e7in kulland\u0131\u011f\u0131m stargazer paketinin yerine kullanabilece\u011fim, beni CSV-HTML i\u015fleriyle u\u011fra\u015ft\u0131rmayacak, her \u015feyi haz\u0131r halde \u00f6n\u00fcme koyacak bir paket aray\u0131\u015f\u0131m sonunda bitti. \u00f6ncelikle modelsummary paketini kuruyoruz ve sisteme y\u00fckl\u00fcyoruz install.packages(&#8220;modelsummary&#8221;) library(modelsummary) Raporlamak istedi\u011finiz modelleri liste olarak kaydediyoruz ModListesi&lt;-List(Regresyon1,Regresyon2,Regresyon3) modelsummary ile listeyi \u00e7a\u011f\u0131rd\u0131\u011f\u0131n\u0131zda haliyle varsay\u0131lan ayarlar\u0131 ile \u00e7al\u0131\u015f\u0131yor. modelsummary(ModListesi) Benim kullanmay\u0131 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,9],"tags":[],"class_list":["post-2285","post","type-post","status-publish","format-standard","hentry","category-akademik","category-r"],"_links":{"self":[{"href":"https:\/\/www.gokberkcan.com\/index.php?rest_route=\/wp\/v2\/posts\/2285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gokberkcan.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gokberkcan.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gokberkcan.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gokberkcan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2285"}],"version-history":[{"count":3,"href":"https:\/\/www.gokberkcan.com\/index.php?rest_route=\/wp\/v2\/posts\/2285\/revisions"}],"predecessor-version":[{"id":2288,"href":"https:\/\/www.gokberkcan.com\/index.php?rest_route=\/wp\/v2\/posts\/2285\/revisions\/2288"}],"wp:attachment":[{"href":"https:\/\/www.gokberkcan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gokberkcan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gokberkcan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}