<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Plots are not sorted (PROC GLM) in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Plots-are-not-sorted-PROC-GLM/m-p/610481#M29589</link>
    <description>&lt;P&gt;April comes before January because the values on the plots are being sorted to have the levels in alphabetical order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How is April identified in your data set HAVE? Is it the number 4, or is it the word "APRIL"? I suggest you might want to use numbers or actual SAS date values instead of the word "APRIL".&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2019 14:29:02 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-12-09T14:29:02Z</dc:date>
    <item>
      <title>Plots are not sorted (PROC GLM)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Plots-are-not-sorted-PROC-GLM/m-p/610457#M29588</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using this code but the plots are not sorted properly as I have them in the original data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example,&amp;nbsp;the month of April came before January on the graph.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, in this case, how I could solve this out?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data = have;
  class month;
  model value = month-;
  run; quit; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks for your help&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ibrahim&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 13:29:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Plots-are-not-sorted-PROC-GLM/m-p/610457#M29588</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2019-12-09T13:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Plots are not sorted (PROC GLM)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Plots-are-not-sorted-PROC-GLM/m-p/610481#M29589</link>
      <description>&lt;P&gt;April comes before January because the values on the plots are being sorted to have the levels in alphabetical order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How is April identified in your data set HAVE? Is it the number 4, or is it the word "APRIL"? I suggest you might want to use numbers or actual SAS date values instead of the word "APRIL".&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 14:29:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Plots-are-not-sorted-PROC-GLM/m-p/610481#M29589</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-12-09T14:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Plots are not sorted (PROC GLM)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Plots-are-not-sorted-PROC-GLM/m-p/610485#M29590</link>
      <description>&lt;P&gt;Greate, I already recognized this issue a few minutes ago and I changed them to numbers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now, everything going well&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;barkamih&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 14:46:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Plots-are-not-sorted-PROC-GLM/m-p/610485#M29590</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2019-12-09T14:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Plots are not sorted (PROC GLM)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Plots-are-not-sorted-PROC-GLM/m-p/610487#M29591</link>
      <description>&lt;P&gt;You can use the&amp;nbsp;&lt;A href="https://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_glm_syntax01.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en#statug.glm.orderopt" target="_self"&gt;ORDER=&lt;/A&gt;&amp;nbsp;option in the PROC GLM statement to control how the levels of classification variables are ordered. The default ordering is by the formatted values, or internal values if no formats are provided. In this case that does put April before January. If your data are already sorted in the order of the variable Month that you want used, you can specify ORDER=DATA, in which case the variable levels are ordered how their appearance in the input data set.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 14:52:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Plots-are-not-sorted-PROC-GLM/m-p/610487#M29591</guid>
      <dc:creator>MichaelL_SAS</dc:creator>
      <dc:date>2019-12-09T14:52:59Z</dc:date>
    </item>
  </channel>
</rss>

