<?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: Contingency table from a dataset in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Contingency-table-from-a-dataset/m-p/650423#M78713</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input (a b) ($) c;
cards;
A X1 11
A X2 2
B X1 3
B X2 24 
;
run;
options missing='0' ;
proc transpose data=have out=want(drop=_:);
by a ;
id b;
var c;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 25 May 2020 10:31:24 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2020-05-25T10:31:24Z</dc:date>
    <item>
      <title>Contingency table from a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Contingency-table-from-a-dataset/m-p/650415#M78710</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need help creating a contingency table from a dataset. I have a dataset in a form:&lt;/P&gt;&lt;P&gt;A X1 n1&lt;/P&gt;&lt;P&gt;A X2 n2&lt;/P&gt;&lt;P&gt;B X1 n3&lt;/P&gt;&lt;P&gt;B X2 n4 , where ni is number of observations in a group&lt;/P&gt;&lt;P&gt;and I need to make a contingency table from this dataset. How can I do that?&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 09:50:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Contingency-table-from-a-dataset/m-p/650415#M78710</guid>
      <dc:creator>svzplayer</dc:creator>
      <dc:date>2020-05-25T09:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Contingency table from a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Contingency-table-from-a-dataset/m-p/650416#M78711</link>
      <description>&lt;P&gt;Are you asking how to turn this into another SAS data set which is set up like a contingency table? Or are you asking for output (results window, such as html) that looks like a contingency table?&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 09:55:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Contingency-table-from-a-dataset/m-p/650416#M78711</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-05-25T09:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Contingency table from a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Contingency-table-from-a-dataset/m-p/650417#M78712</link>
      <description>&lt;P&gt;I am asking &lt;SPAN&gt;how to turn this into another SAS data set which is set up like a contingency table, sorry for ambiguity.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 09:56:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Contingency-table-from-a-dataset/m-p/650417#M78712</guid>
      <dc:creator>svzplayer</dc:creator>
      <dc:date>2020-05-25T09:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Contingency table from a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Contingency-table-from-a-dataset/m-p/650423#M78713</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input (a b) ($) c;
cards;
A X1 11
A X2 2
B X1 3
B X2 24 
;
run;
options missing='0' ;
proc transpose data=have out=want(drop=_:);
by a ;
id b;
var c;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 May 2020 10:31:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Contingency-table-from-a-dataset/m-p/650423#M78713</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-05-25T10:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Contingency table from a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Contingency-table-from-a-dataset/m-p/650427#M78715</link>
      <description>Thanks!</description>
      <pubDate>Mon, 25 May 2020 10:41:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Contingency-table-from-a-dataset/m-p/650427#M78715</guid>
      <dc:creator>svzplayer</dc:creator>
      <dc:date>2020-05-25T10:41:28Z</dc:date>
    </item>
  </channel>
</rss>

