{"id":396,"date":"2017-05-06T04:16:41","date_gmt":"2017-05-06T04:16:41","guid":{"rendered":"http:\/\/sites.warnercnr.colostate.edu\/gwhite\/?page_id=396"},"modified":"2017-05-06T04:16:41","modified_gmt":"2017-05-06T04:16:41","slug":"design-matrix-reorder-columns","status":"publish","type":"page","link":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/design-matrix-reorder-columns\/","title":{"rendered":"Design Matrix Reorder Columns"},"content":{"rendered":"<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\"><a href=\"http:\/\/oldweb.warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/index.html\">Contents<\/a> &#8211; <a href=\"http:\/\/oldweb.warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/idx.htm\">Index<\/a><\/span><\/p>\n<hr \/>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: medium\"><b>Design Matrix Reorder Columns<\/b><\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Columns in the <a href=\"http:\/\/oldweb.warnercnr.colostate.edu\/~gwhite\/mark\/markhelp\/design_matrix.htm\">design matrix<\/a> can be moved to different positions by placing the cursor on the column heading and holding down on the left mouse button and dragging the column to a new position.\u00a0 Being able to move the columns is helpful to setting up complicated design matrices.<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">Once columns are in the desired order, this order can be preserved by right-clicking the design matrix window and selecting &#8220;Reorder Columns&#8221; from the pop-up menu.\u00a0 The design matrix will be re-created with the columns now ordered B1 &#8230; Bn.\u00a0 In other words, reordering columns is basically the same as renumbering the beta parameters.<\/span><\/p>\n<p><span style=\"color: #0000ff;font-family: Arial, helvetica, sans-serif;font-size: small\">If you do not reorder the columns before the model is run, the ordering will be lost, with the original ordering of betas in the estimates.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Contents &#8211; Index Design Matrix Reorder Columns Columns in the design matrix can be moved to different positions by placing the cursor on the column heading and holding down on the left mouse button and dragging the column to a &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/design-matrix-reorder-columns\/\"> <span class=\"screen-reader-text\">Design Matrix Reorder Columns<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":117,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-396","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/pages\/396","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/users\/117"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/comments?post=396"}],"version-history":[{"count":1,"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/pages\/396\/revisions"}],"predecessor-version":[{"id":397,"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/pages\/396\/revisions\/397"}],"wp:attachment":[{"href":"https:\/\/sites.warnercnr.colostate.edu\/gwhite\/wp-json\/wp\/v2\/media?parent=396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}