<?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 Comparing Results From Multiple Dataset Files in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Comparing-Results-From-Multiple-Dataset-Files/m-p/351489#M18419</link>
    <description>&lt;P&gt;I've conducted &lt;STRONG&gt;many&lt;/STRONG&gt; Proc Univariate runs on data, each run creating a seperate small dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dependent Variables (totalling around 200) are discrete, a rank of: 0, 1, 2, 3, 4, 5, 6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Independent Variable(s): continuous&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example of SAS code for a single run:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc univariate data=SAS_1.combined; var i_50503; class rg5_21705 rg5_21502 ; ods output moments=SAS_1.i_50503__rg5_21705__rg5_21502 ; run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In plain English, my thinking is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;50503 is a function of 21705-level and 21502-level&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Each small resulting dataset contains the Mean for the particular run. As well as lots of other 'moments' numbers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to compare the Means in the &lt;STRONG&gt;different dataset files&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way for SAS to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or must I extract the individual Means from each dataset, and put into a new Just-Means dataset?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Might there be an alternative to Proc Univariate that can look at all possible combinations of the dependent variables levels, along with Mean score for the independent variable?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If further information is wanted I'll be happy to provide it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Nicholas Kormanik&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Apr 2017 01:01:29 GMT</pubDate>
    <dc:creator>NKormanik</dc:creator>
    <dc:date>2017-04-20T01:01:29Z</dc:date>
    <item>
      <title>Comparing Results From Multiple Dataset Files</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparing-Results-From-Multiple-Dataset-Files/m-p/351489#M18419</link>
      <description>&lt;P&gt;I've conducted &lt;STRONG&gt;many&lt;/STRONG&gt; Proc Univariate runs on data, each run creating a seperate small dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dependent Variables (totalling around 200) are discrete, a rank of: 0, 1, 2, 3, 4, 5, 6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Independent Variable(s): continuous&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example of SAS code for a single run:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc univariate data=SAS_1.combined; var i_50503; class rg5_21705 rg5_21502 ; ods output moments=SAS_1.i_50503__rg5_21705__rg5_21502 ; run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In plain English, my thinking is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;50503 is a function of 21705-level and 21502-level&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Each small resulting dataset contains the Mean for the particular run. As well as lots of other 'moments' numbers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to compare the Means in the &lt;STRONG&gt;different dataset files&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way for SAS to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or must I extract the individual Means from each dataset, and put into a new Just-Means dataset?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Might there be an alternative to Proc Univariate that can look at all possible combinations of the dependent variables levels, along with Mean score for the independent variable?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If further information is wanted I'll be happy to provide it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Nicholas Kormanik&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 01:01:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparing-Results-From-Multiple-Dataset-Files/m-p/351489#M18419</guid>
      <dc:creator>NKormanik</dc:creator>
      <dc:date>2017-04-20T01:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing Results From Multiple Dataset Files</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparing-Results-From-Multiple-Dataset-Files/m-p/352898#M18490</link>
      <description>&lt;P&gt;Could you just query dictionary.tables and dictionary.columns to get all table and column names in your library, and write a macro to run your comparison using the full list of tables and columns, and then combine all result sets into a single dataset? &amp;nbsp;This is what I do.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 15:08:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparing-Results-From-Multiple-Dataset-Files/m-p/352898#M18490</guid>
      <dc:creator>thomp7050</dc:creator>
      <dc:date>2017-04-24T15:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing Results From Multiple Dataset Files</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparing-Results-From-Multiple-Dataset-Files/m-p/353025#M18510</link>
      <description>&lt;P&gt;Please elaborate. &amp;nbsp;I have 400,000 datasets. &amp;nbsp;Seems absurd to append them all into one enormous dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would be far, far better to ask of SAS, "Which of these has the largest xyz data value?"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hoping for a better way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 22:03:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparing-Results-From-Multiple-Dataset-Files/m-p/353025#M18510</guid>
      <dc:creator>NKormanik</dc:creator>
      <dc:date>2017-04-24T22:03:46Z</dc:date>
    </item>
  </channel>
</rss>

