{"id":177,"date":"2023-05-12T09:07:36","date_gmt":"2023-05-12T12:07:36","guid":{"rendered":"https:\/\/wp.ufpel.edu.br\/lmaia\/?page_id=177"},"modified":"2025-03-12T13:37:03","modified_gmt":"2025-03-12T16:37:03","slug":"sas-glm","status":"publish","type":"page","link":"https:\/\/wp.ufpel.edu.br\/lmaia\/sas-glm\/","title":{"rendered":"SAS GLM"},"content":{"rendered":"<p><span style=\"font-family: 'courier new', courier, monospace;\">proc glm &#8211; exemplo 1 em DIC:<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier, monospace; color: #0000ff;\">data teste1;<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #0000ff;\">infile datalines DLM=&#8217;09&#8217;x;<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier, monospace; color: #008000;\">input trat rep peso;<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #008000;\">cards;<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #ff0000;\">1 1 4.00<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #ff0000;\">1 2 4.50<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #ff0000;\">1 3 4.20<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #ff0000;\">2 1 2.80<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #ff0000;\">2 2 3.80<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #ff0000;\">2 3 3.60<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #ff0000;\">3 1 3.15<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #ff0000;\">3 2 3.45<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #ff0000;\">3 3 3.55<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #ff0000;\">4 1 3.90<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #ff0000;\">4 2 4.70<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #ff0000;\">4 3 4.60<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #008000;\">;<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier, monospace; color: #0000ff;\">proc print data=teste1;<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #0000ff;\">run;<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier, monospace; color: #800000;\">proc glm data=teste1;<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #800000;\">class trat rep;<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #800000;\">model peso = trat;<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #800000;\">means trat \/ adjust=tukey lines;<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; color: #800000;\">run;<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier, monospace;\">download,<\/span> dados<\/p>\n<p><a href=\"https:\/\/wp.ufpel.edu.br\/lmaia\/files\/2025\/03\/exemplo1.xlsx\">exemplo1<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>proc glm &#8211; exemplo 1 em DIC: data teste1; infile datalines DLM=&#8217;09&#8217;x; input trat rep peso; cards; 1 1 4.00 1 2 4.50 1 3 4.20 2 1 2.80 2 2 3.80 2 3 3.60 3 1 3.15 3 2 &hellip; <a href=\"https:\/\/wp.ufpel.edu.br\/lmaia\/sas-glm\/\">Continue lendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1301,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-177","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/wp.ufpel.edu.br\/lmaia\/wp-json\/wp\/v2\/pages\/177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.ufpel.edu.br\/lmaia\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wp.ufpel.edu.br\/lmaia\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wp.ufpel.edu.br\/lmaia\/wp-json\/wp\/v2\/users\/1301"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.ufpel.edu.br\/lmaia\/wp-json\/wp\/v2\/comments?post=177"}],"version-history":[{"count":11,"href":"https:\/\/wp.ufpel.edu.br\/lmaia\/wp-json\/wp\/v2\/pages\/177\/revisions"}],"predecessor-version":[{"id":412,"href":"https:\/\/wp.ufpel.edu.br\/lmaia\/wp-json\/wp\/v2\/pages\/177\/revisions\/412"}],"wp:attachment":[{"href":"https:\/\/wp.ufpel.edu.br\/lmaia\/wp-json\/wp\/v2\/media?parent=177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}