<?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: Proc univariate in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-univariate/m-p/408410#M99697</link>
    <description>&lt;P&gt;Can you please tell us how you are bringing in the data? This is an easy fix but it is easiest to fix coming in vs once it is there.&lt;/P&gt;</description>
    <pubDate>Sun, 29 Oct 2017 20:50:56 GMT</pubDate>
    <dc:creator>AlanC</dc:creator>
    <dc:date>2017-10-29T20:50:56Z</dc:date>
    <item>
      <title>Proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-univariate/m-p/408398#M99688</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am a student trying to perform a proc univariate on my data, however I had to recode my data and now the variables are character variables instead of numeric. I keep getting the &lt;STRONG&gt;&lt;SPAN&gt;&lt;CODE&gt;ERROR: Variable&amp;nbsp;Diabetes in list does not match type prescribed for this list.&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&lt;CODE&gt;I realize it is due to the fact that it is not in numerical form, but how else would I go about performing this procedure? Or is there a statement needed for SAS to assign the characters to numeric form.&amp;nbsp;&lt;BR /&gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&lt;CODE&gt;Thank you so much!&amp;nbsp;&lt;BR /&gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2017 19:22:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-univariate/m-p/408398#M99688</guid>
      <dc:creator>ericageiger</dc:creator>
      <dc:date>2017-10-29T19:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-univariate/m-p/408409#M99696</link>
      <description>&lt;P&gt;How else would you go about performing this procedure?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's really not clear what you mean, there is no logical way to do something like a PROC UNIVARIATE on character variables. So this is NOT a SAS issue in any way. And you haven't explained what the variable diabetes is, or why you recoded it to character.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2017 20:50:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-univariate/m-p/408409#M99696</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-10-29T20:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-univariate/m-p/408410#M99697</link>
      <description>&lt;P&gt;Can you please tell us how you are bringing in the data? This is an easy fix but it is easiest to fix coming in vs once it is there.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2017 20:50:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-univariate/m-p/408410#M99697</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2017-10-29T20:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-univariate/m-p/408424#M99704</link>
      <description>&lt;P&gt;If your variable is categorical you likely want count summaries instead and that lends itself to PROC FREQ, not PROC UNIVARIATE.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Statistical summaries, such as means/medians don't make sense for a categorical variable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're trying to group your summaries by the categorical variable include it in your CLASS statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2017 22:58:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-univariate/m-p/408424#M99704</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-10-29T22:58:16Z</dc:date>
    </item>
  </channel>
</rss>

