<?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: What does the code look like for this: Tabulate levels of Weight_StatusNew grouped by Weight_Sta in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/What-does-the-code-look-like-for-this-Tabulate-levels-of-Weight/m-p/856104#M37767</link>
    <description>&lt;P&gt;Best practice on this forum is to provide an example of your data, or use one of the SAS supplied training data sets such as SASHELP.CLASS that are installed. Then show what kind of expected output for the given data set is desired.&lt;/P&gt;
&lt;P&gt;You provide data in the form of data step code, open a text box on the forum using the &amp;lt;/&amp;gt; icon that appears above the message window and paste the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One of the basic procedures to "tabulate", assuming counts are what you are looking for is Proc Freq. Something like:&lt;/P&gt;
&lt;PRE&gt;Proc freq data=thenameofyourdatasetgoeshere;
   tables Weight_stat * Weight_StatusNew;
run;&lt;/PRE&gt;
&lt;P&gt;The * between two variables means do a cross tabulation with the first variable as row heading the second as a column heading.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 28 Jan 2023 17:46:00 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2023-01-28T17:46:00Z</dc:date>
    <item>
      <title>What does the code look like for this: Tabulate levels of Weight_StatusNew grouped by Weight_Stat  /</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-does-the-code-look-like-for-this-Tabulate-levels-of-Weight/m-p/856100#M37765</link>
      <description>&lt;P&gt;What would the code look like for this: Tabulate levels of Weight_StatusNew grouped by Weight_Stat /&lt;/P&gt;&lt;P&gt;I am not sure how to represent variables by group. Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2023 17:06:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-does-the-code-look-like-for-this-Tabulate-levels-of-Weight/m-p/856100#M37765</guid>
      <dc:creator>estith</dc:creator>
      <dc:date>2023-01-28T17:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: What does the code look like for this: Tabulate levels of Weight_StatusNew grouped by Weight_Sta</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-does-the-code-look-like-for-this-Tabulate-levels-of-Weight/m-p/856101#M37766</link>
      <description>&lt;P&gt;I think we need a lot more information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you describe these variables? Can you show us EXAMPLES of what each variable contains? What type of table do you want? What would be in the cells of the table?&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2023 17:36:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-does-the-code-look-like-for-this-Tabulate-levels-of-Weight/m-p/856101#M37766</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-01-28T17:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: What does the code look like for this: Tabulate levels of Weight_StatusNew grouped by Weight_Sta</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-does-the-code-look-like-for-this-Tabulate-levels-of-Weight/m-p/856104#M37767</link>
      <description>&lt;P&gt;Best practice on this forum is to provide an example of your data, or use one of the SAS supplied training data sets such as SASHELP.CLASS that are installed. Then show what kind of expected output for the given data set is desired.&lt;/P&gt;
&lt;P&gt;You provide data in the form of data step code, open a text box on the forum using the &amp;lt;/&amp;gt; icon that appears above the message window and paste the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One of the basic procedures to "tabulate", assuming counts are what you are looking for is Proc Freq. Something like:&lt;/P&gt;
&lt;PRE&gt;Proc freq data=thenameofyourdatasetgoeshere;
   tables Weight_stat * Weight_StatusNew;
run;&lt;/PRE&gt;
&lt;P&gt;The * between two variables means do a cross tabulation with the first variable as row heading the second as a column heading.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2023 17:46:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-does-the-code-look-like-for-this-Tabulate-levels-of-Weight/m-p/856104#M37767</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-01-28T17:46:00Z</dc:date>
    </item>
  </channel>
</rss>

