<?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 How to extract one value from a variable, and link it with a whole other variable in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-to-extract-one-value-from-a-variable-and-link-it-with-a/m-p/505777#M1215</link>
    <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I am a complete newbie to SAS, so apologies for lacks of jargon, and probably posting a very simple and not very stimulating question. My deep appreciation for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the data-set with the following 2 categories:&amp;nbsp;&lt;/P&gt;&lt;P&gt;GENDER: Male (1), Female (2)&lt;/P&gt;&lt;P&gt;CAUSE FOR LIMB AMPUTATION: Trauma (1), Vascular with Diabetes (2), Vascular without Diabetes (3), Oncologic (4)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My task is to&amp;nbsp;see if there is a higher percentage of female patients whose reason for amputation was 'trauma'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is how to extract only count for patients who answered 'trauma' and produce a crosstab, only featuring 'Trauma' x 'Gender'?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can one achieve it using 'Tasks and Utilities' instead of the code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attach data in case someone wants to fiddle with it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Agnieszka&lt;/P&gt;</description>
    <pubDate>Thu, 18 Oct 2018 21:34:50 GMT</pubDate>
    <dc:creator>aczech2001</dc:creator>
    <dc:date>2018-10-18T21:34:50Z</dc:date>
    <item>
      <title>How to extract one value from a variable, and link it with a whole other variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-extract-one-value-from-a-variable-and-link-it-with-a/m-p/505777#M1215</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I am a complete newbie to SAS, so apologies for lacks of jargon, and probably posting a very simple and not very stimulating question. My deep appreciation for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the data-set with the following 2 categories:&amp;nbsp;&lt;/P&gt;&lt;P&gt;GENDER: Male (1), Female (2)&lt;/P&gt;&lt;P&gt;CAUSE FOR LIMB AMPUTATION: Trauma (1), Vascular with Diabetes (2), Vascular without Diabetes (3), Oncologic (4)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My task is to&amp;nbsp;see if there is a higher percentage of female patients whose reason for amputation was 'trauma'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is how to extract only count for patients who answered 'trauma' and produce a crosstab, only featuring 'Trauma' x 'Gender'?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can one achieve it using 'Tasks and Utilities' instead of the code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attach data in case someone wants to fiddle with it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Agnieszka&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 21:34:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-extract-one-value-from-a-variable-and-link-it-with-a/m-p/505777#M1215</guid>
      <dc:creator>aczech2001</dc:creator>
      <dc:date>2018-10-18T21:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract one value from a variable, and link it with a whole other variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-extract-one-value-from-a-variable-and-link-it-with-a/m-p/505778#M1216</link>
      <description>&lt;P&gt;1. Use an Utilities&amp;gt;Import task to import your data&lt;/P&gt;
&lt;P&gt;2. Use a Data&amp;gt;Filter task to get only the Trauma records&lt;/P&gt;
&lt;P&gt;3. Use a Statistics&amp;gt;Table Analysis to perform a Chi Square test&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Documentation for each task specifically can be found here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?activeCdc=webeditorcdc&amp;amp;cdcId=sasstudiocdc&amp;amp;cdcVersion=3.71&amp;amp;docsetId=webeditorref&amp;amp;docsetTarget=n1sppaq7r4mf40n1lm70px5igqfy.htm&amp;amp;locale=en&amp;amp;docsetVersion=3.71" target="_blank"&gt;https://documentation.sas.com/?activeCdc=webeditorcdc&amp;amp;cdcId=sasstudiocdc&amp;amp;cdcVersion=3.71&amp;amp;docsetId=webeditorref&amp;amp;docsetTarget=n1sppaq7r4mf40n1lm70px5igqfy.htm&amp;amp;locale=en&amp;amp;docsetVersion=3.71&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/240544"&gt;@aczech2001&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Dear All,&lt;/P&gt;
&lt;P&gt;I am a complete newbie to SAS, so apologies for lacks of jargon, and probably posting a very simple and not very stimulating question. My deep appreciation for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the data-set with the following 2 categories:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GENDER: Male (1), Female (2)&lt;/P&gt;
&lt;P&gt;CAUSE FOR LIMB AMPUTATION: Trauma (1), Vascular with Diabetes (2), Vascular without Diabetes (3), Oncologic (4)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My task is to&amp;nbsp;see if there is a higher percentage of female patients whose reason for amputation was 'trauma'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is how to extract only count for patients who answered 'trauma' and produce a crosstab, only featuring 'Trauma' x 'Gender'?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can one achieve it using 'Tasks and Utilities' instead of the code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I attach data in case someone wants to fiddle with it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Agnieszka&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 21:40:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-extract-one-value-from-a-variable-and-link-it-with-a/m-p/505778#M1216</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-18T21:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract one value from a variable, and link it with a whole other variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-extract-one-value-from-a-variable-and-link-it-with-a/m-p/505789#M1218</link>
      <description>&lt;P&gt;Thank you so much! This seemed to work!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 22:31:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-extract-one-value-from-a-variable-and-link-it-with-a/m-p/505789#M1218</guid>
      <dc:creator>aczech2001</dc:creator>
      <dc:date>2018-10-18T22:31:16Z</dc:date>
    </item>
  </channel>
</rss>

