<?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 The &amp;quot;VAR&amp;quot; statement in proc means not detecting column labels in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/The-quot-VAR-quot-statement-in-proc-means-not-detecting-column/m-p/36682#M9285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot take the mean of a character variable.&lt;/P&gt;&lt;P&gt;You can use them in a CLASS statement.&amp;nbsp; Did you try that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2012 01:08:20 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2012-03-20T01:08:20Z</dc:date>
    <item>
      <title>The "VAR" statement in proc means not detecting column labels</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/The-quot-VAR-quot-statement-in-proc-means-not-detecting-column/m-p/36679#M9282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a data table where the sorting has been done on a &lt;STRONG&gt;char8&lt;/STRONG&gt; column successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I would like to do a proc means on the table, but when I get to the VAR statement, the variable column lable doesn't appear from the selection. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done the exact same procedure before, but I'm puzzled by why the program no longer detects the column of interest in the "VAR" statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 20:15:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/The-quot-VAR-quot-statement-in-proc-means-not-detecting-column/m-p/36679#M9282</guid>
      <dc:creator>SASs33ker</dc:creator>
      <dc:date>2012-03-19T20:15:51Z</dc:date>
    </item>
    <item>
      <title>The "VAR" statement in proc means not detecting column labels</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/The-quot-VAR-quot-statement-in-proc-means-not-detecting-column/m-p/36680#M9283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What drop down are you talking about?&amp;nbsp; Are you using Enterprise Guide?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 21:59:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/The-quot-VAR-quot-statement-in-proc-means-not-detecting-column/m-p/36680#M9283</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2012-03-19T21:59:10Z</dc:date>
    </item>
    <item>
      <title>The "VAR" statement in proc means not detecting column labels</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/The-quot-VAR-quot-statement-in-proc-means-not-detecting-column/m-p/36681#M9284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I am using enterprise guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You know when you after you've written "VAR" the Enterprise Guide prompts you to choose from columns to do the means calculations on? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's like filling in argument(s) in Excel formula. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect it has to do with the data type of the column, which is char8, but it should not matter. (All columns contains text values except the numeric column where the average calculation is done)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anybody else ran into the same problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 01:04:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/The-quot-VAR-quot-statement-in-proc-means-not-detecting-column/m-p/36681#M9284</guid>
      <dc:creator>SASs33ker</dc:creator>
      <dc:date>2012-03-20T01:04:24Z</dc:date>
    </item>
    <item>
      <title>The "VAR" statement in proc means not detecting column labels</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/The-quot-VAR-quot-statement-in-proc-means-not-detecting-column/m-p/36682#M9285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot take the mean of a character variable.&lt;/P&gt;&lt;P&gt;You can use them in a CLASS statement.&amp;nbsp; Did you try that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 01:08:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/The-quot-VAR-quot-statement-in-proc-means-not-detecting-column/m-p/36682#M9285</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2012-03-20T01:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: The "VAR" statement in proc means not detecting column labels</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/The-quot-VAR-quot-statement-in-proc-means-not-detecting-column/m-p/36683#M9286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh.....right...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've missed the fact that what's after the "VAR" are columns on which arithmetic average are done, which require them to be numeric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;btw, how would you write it using a CLASS statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 01:14:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/The-quot-VAR-quot-statement-in-proc-means-not-detecting-column/m-p/36683#M9286</guid>
      <dc:creator>SASs33ker</dc:creator>
      <dc:date>2012-03-20T01:14:20Z</dc:date>
    </item>
  </channel>
</rss>

