{"id":763,"date":"2019-08-12T08:00:00","date_gmt":"2019-08-12T12:00:00","guid":{"rendered":"http:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/?p=763"},"modified":"2019-08-10T20:41:16","modified_gmt":"2019-08-11T00:41:16","slug":"collecting-my-thoughts-about-variable-selection-in-multiple-regression","status":"publish","type":"post","link":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/blog\/2019\/08\/12\/collecting-my-thoughts-about-variable-selection-in-multiple-regression\/","title":{"rendered":"Collecting my thoughts about variable selection in multiple regression"},"content":{"rendered":"\r\n<p>I was talking with one of my graduate students a few days ago about variable selection in multiple regression. She was looking for a published \u201ccheat sheet.\u201d I told her I didn\u2019t know of any. \u201cWhy don\u2019t you write one?\u201d \u201cThe world\u2019s too complicated for that. There will always be judgment involved. There will never be a simple recipe to follow.\u201d That was the end of it, for then.<\/p>\r\n\r\n\r\n\r\n<p>From the title you can tell that I decided I needed to get my own thoughts in order about variable selection. If you know me, you also know that I find one of the best ways to get my thoughts straight is to write them down. So that\u2019s what I\u2019m starting now.<\/p>\r\n\r\n\r\n\r\n<p>Expect to see a new entry every week or so. I\u2019ll be posting the details in <a href=\"https:\/\/bookdown.org\/yihui\/rmarkdown\/notebook.html\">R notebooks<\/a> so that you can download the code, run it yourself, and play around with it if you\u2019re so inclined.<sup><a id=\"ffn1\" class=\"footnote\" href=\"#fn1\">1<\/a><\/sup> As I develop notebooks, I\u2019ll develop a static page with links to them. Unlike the page on <a href=\"http:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/causal-inference-in-ecology\/\">causal inference in ecology<\/a>, which links to blog posts, these will link directly to HTML versions of R notebooks that will show discuss the aspect of the issue I\u2019m working through that week along with the R code that facilitated my thinking. All of the source code will be available in a <a href=\"https:\/\/github.com\/kholsinger\/variable-selection\">Github repository<\/a>, but you\u2019ll also be able to download the .Rmd file when you have the HTML version open simply by clicking on the \u201cCode\u201d button at the top right of the page and selecting \u201cDownload Rmd\u201d from the dropdown.<\/p>\r\n\r\n\r\n\r\n<p>If you\u2019re still interested after all of that. Here\u2019s a link to the first installment:<\/p>\r\n\r\n\r\n\r\n<p><a href=\"http:\/\/darwin.eeb.uconn.edu\/pages\/variable-selection\/multiple-regression-basics.nb.html\">Why multiple regression is needed<\/a><\/p>\r\n\r\n\r\n\r\n<ol class=\"wp-block-list\">\r\n<li id=\"fn1\">You\u2019ll get the most out of R notebooks if you work with them through <a href=\"https:\/\/www.rstudio.com\/products\/rstudio\/\">RStudio<\/a>. Fortunately, the open source version is likely to serve your needs, so all it will cost you is a little bit of disk space. <a href=\"#ffn1\">&#x21a9;<\/a><\/li>\r\n<\/ol>\r\n","protected":false},"excerpt":{"rendered":"<p>I was talking with one of my graduate students a few days ago about variable selection in multiple regression. She was looking for a published \u201ccheat sheet.\u201d I told her&#8230; <a class=\"read-more-button\" href=\"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/blog\/2019\/08\/12\/collecting-my-thoughts-about-variable-selection-in-multiple-regression\/\">Read more &gt;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-763","post","type-post","status-publish","format-standard","hentry","category-statistics"],"_links":{"self":[{"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/wp-json\/wp\/v2\/posts\/763","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/wp-json\/wp\/v2\/comments?post=763"}],"version-history":[{"count":3,"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/wp-json\/wp\/v2\/posts\/763\/revisions"}],"predecessor-version":[{"id":766,"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/wp-json\/wp\/v2\/posts\/763\/revisions\/766"}],"wp:attachment":[{"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/wp-json\/wp\/v2\/media?parent=763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/wp-json\/wp\/v2\/categories?post=763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/wp-json\/wp\/v2\/tags?post=763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}