<?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 Creating new variable set from existing data in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Creating-new-variable-set-from-existing-data/m-p/182069#M46364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a data set with test scores and I am trying to compare scores of subject a to subject b (for only only gender)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attempted to do a Wilcoxon-Rank sum test but I cannot use my class as gender when I proc npar1way because I need it to look at the two subjects not the two different genders as all genders for my data being used will be used one particular gender.&amp;nbsp; My question is am I able to create an overarching variable that I can put my subjects in.&amp;nbsp; Something along the lines of subject: a=0, b=1, c=2, d=3 and so on so that I can eventually do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc npar1way wilcoxon data = ...&lt;/P&gt;&lt;P&gt;class subject;&lt;/P&gt;&lt;P&gt;var diff;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get the idea.&amp;nbsp; Very dirty code at the moment but this has been racking my brain and I am not sure if I should just use a different nonparametric test (like Wilcoxon Signed Rank) or maybe a parametric test.&amp;nbsp; Thank you for your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2014 14:11:30 GMT</pubDate>
    <dc:creator>RCPenguin</dc:creator>
    <dc:date>2014-10-13T14:11:30Z</dc:date>
    <item>
      <title>Creating new variable set from existing data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Creating-new-variable-set-from-existing-data/m-p/182069#M46364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a data set with test scores and I am trying to compare scores of subject a to subject b (for only only gender)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attempted to do a Wilcoxon-Rank sum test but I cannot use my class as gender when I proc npar1way because I need it to look at the two subjects not the two different genders as all genders for my data being used will be used one particular gender.&amp;nbsp; My question is am I able to create an overarching variable that I can put my subjects in.&amp;nbsp; Something along the lines of subject: a=0, b=1, c=2, d=3 and so on so that I can eventually do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc npar1way wilcoxon data = ...&lt;/P&gt;&lt;P&gt;class subject;&lt;/P&gt;&lt;P&gt;var diff;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get the idea.&amp;nbsp; Very dirty code at the moment but this has been racking my brain and I am not sure if I should just use a different nonparametric test (like Wilcoxon Signed Rank) or maybe a parametric test.&amp;nbsp; Thank you for your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 14:11:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Creating-new-variable-set-from-existing-data/m-p/182069#M46364</guid>
      <dc:creator>RCPenguin</dc:creator>
      <dc:date>2014-10-13T14:11:30Z</dc:date>
    </item>
  </channel>
</rss>

