<?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 dataset to use for chi squared test of proportions in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928338#M46227</link>
    <description>&lt;P&gt;I'm trying to follow the code on this site&amp;nbsp;&lt;A href="https://blogs.sas.com/content/iml/2017/07/05/test-equality-two-proportions-sas.html" target="_blank"&gt;Test for the equality of two proportions in SAS - The DO Loop&lt;/A&gt; for the section called A chi-square test for association in SAS. I basically need to compare the proportion in one area which was tested for something to the proportion in another area which was tested and see if they are significantly different proportions, but I can't get the code to work right. I get this error:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="sasLogNote1_1715704201066" class="sasNote"&gt;NOTE: Invalid data for N in line 79 1-6.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;RULE: ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;79 CountyB Yes 71&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;Group=CountyA Seq=No N=. _ERROR_=1 _N_=2&lt;/DIV&gt;
&lt;DIV id="sasLogNote2_1715704201066" class="sasNote"&gt;NOTE: SAS went to a new line when INPUT statement reached past the end of a line.&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;My full code is:&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;data underfive;&lt;BR /&gt;length Group $15 Test $3;&lt;BR /&gt;input Group Test N;&lt;BR /&gt;datalines;&lt;BR /&gt;CountyA Yes 55&lt;BR /&gt;CountyA No 45027&lt;BR /&gt;CountyB Yes 71&lt;BR /&gt;CountyB No 311726;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;Once I had that in I figured I would run this:&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;proc freq data=underfive order=data;&lt;BR /&gt;weight N;&lt;BR /&gt;tables Group*Test/chisq;&lt;BR /&gt;run;&lt;/DIV&gt;</description>
    <pubDate>Tue, 14 May 2024 16:50:51 GMT</pubDate>
    <dc:creator>Geoghegan</dc:creator>
    <dc:date>2024-05-14T16:50:51Z</dc:date>
    <item>
      <title>creating dataset to use for chi squared test of proportions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928338#M46227</link>
      <description>&lt;P&gt;I'm trying to follow the code on this site&amp;nbsp;&lt;A href="https://blogs.sas.com/content/iml/2017/07/05/test-equality-two-proportions-sas.html" target="_blank"&gt;Test for the equality of two proportions in SAS - The DO Loop&lt;/A&gt; for the section called A chi-square test for association in SAS. I basically need to compare the proportion in one area which was tested for something to the proportion in another area which was tested and see if they are significantly different proportions, but I can't get the code to work right. I get this error:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="sasLogNote1_1715704201066" class="sasNote"&gt;NOTE: Invalid data for N in line 79 1-6.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;RULE: ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;79 CountyB Yes 71&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;Group=CountyA Seq=No N=. _ERROR_=1 _N_=2&lt;/DIV&gt;
&lt;DIV id="sasLogNote2_1715704201066" class="sasNote"&gt;NOTE: SAS went to a new line when INPUT statement reached past the end of a line.&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;My full code is:&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;data underfive;&lt;BR /&gt;length Group $15 Test $3;&lt;BR /&gt;input Group Test N;&lt;BR /&gt;datalines;&lt;BR /&gt;CountyA Yes 55&lt;BR /&gt;CountyA No 45027&lt;BR /&gt;CountyB Yes 71&lt;BR /&gt;CountyB No 311726;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;Once I had that in I figured I would run this:&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;proc freq data=underfive order=data;&lt;BR /&gt;weight N;&lt;BR /&gt;tables Group*Test/chisq;&lt;BR /&gt;run;&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 May 2024 16:50:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928338#M46227</guid>
      <dc:creator>Geoghegan</dc:creator>
      <dc:date>2024-05-14T16:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: creating dataset to use for chi squared test of proportions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928356#M46232</link>
      <description>&lt;P&gt;Can't replicate with the posted example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The main message windows on this forum will reformat text so it is possible that the code you posted has been modified in such a way that the error won't appear.&lt;/P&gt;
&lt;P&gt;The code you show cannot generate the error shown.&lt;/P&gt;
&lt;P&gt;Your shown INPUT statement does not create a variable named SEQ as shown with this:&lt;/P&gt;
&lt;PRE&gt;Group=CountyA Seq=No N=. _ERROR_=1 _N_=2&lt;/PRE&gt;
&lt;P&gt;Your code has variables Group, Test and N.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest that you copy your code and paste into a text box opened on the forum using the &amp;lt;/&amp;gt; icon above the message window and we can see if that will behave the same.&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 17:43:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928356#M46232</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-05-14T17:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: creating dataset to use for chi squared test of proportions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928359#M46234</link>
      <description>&lt;P&gt;Be sure to put the semicolon after the DATALINES statement on a line by itself:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data underfive;
length Group $15 Test $3;
input Group Test N;
datalines;
CountyA Yes 55
CountyA No 45027
CountyB Yes 71
CountyB No 311726
;
 
proc freq data=underfive order=data;
   weight N;
   tables Group*Test/chisq;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 May 2024 18:11:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928359#M46234</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2024-05-14T18:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: creating dataset to use for chi squared test of proportions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928360#M46235</link>
      <description>&lt;P&gt;&amp;lt;/&amp;gt;&lt;/P&gt;
&lt;P&gt;data underfive;&lt;BR /&gt;length Group $9 Test $3;&lt;BR /&gt;input Group Test N;&lt;BR /&gt;datalines;&lt;BR /&gt;Worcester Yes 55&lt;BR /&gt;Worcester No 45027&lt;BR /&gt;NonWor Yes 71&lt;BR /&gt;NonWor No 311726&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;&amp;lt;/&amp;gt;&lt;/P&gt;
&lt;P&gt;Sorry, I had copied part of an old version in, this is my current code. It gives this error:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;NOTE: Invalid data for N in line 79 1-6.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But does create a dataset but the numbers aren't all included&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 18:36:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928360#M46235</guid>
      <dc:creator>Geoghegan</dc:creator>
      <dc:date>2024-05-14T18:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: creating dataset to use for chi squared test of proportions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928361#M46236</link>
      <description>&lt;P&gt;Thank you! That helped make it create a dataset, though now the variables don't have the values they should (only had 3 obs and one is blank for N)&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 18:37:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928361#M46236</guid>
      <dc:creator>Geoghegan</dc:creator>
      <dc:date>2024-05-14T18:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: creating dataset to use for chi squared test of proportions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928362#M46237</link>
      <description>&lt;P&gt;As posted that does not generate any error or invalid data :&lt;/P&gt;
&lt;PRE&gt;3468  data underfive;
3469  length Group $9 Test $3;
3470  input Group Test N;
3471  datalines;

NOTE: The data set USER.UNDERFIVE has 4 observations and 3 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds


3476  ;
&lt;/PRE&gt;
&lt;P&gt;So you have to be running something different to generate such an invalid data message.&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/302752"&gt;@Geoghegan&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;lt;/&amp;gt;&lt;/P&gt;
&lt;P&gt;data underfive;&lt;BR /&gt;length Group $9 Test $3;&lt;BR /&gt;input Group Test N;&lt;BR /&gt;datalines;&lt;BR /&gt;Worcester Yes 55&lt;BR /&gt;Worcester No 45027&lt;BR /&gt;NonWor Yes 71&lt;BR /&gt;NonWor No 311726&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;&amp;lt;/&amp;gt;&lt;/P&gt;
&lt;P&gt;Sorry, I had copied part of an old version in, this is my current code. It gives this error:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;NOTE: Invalid data for N in line 79 1-6.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But does create a dataset but the numbers aren't all included&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 18:45:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928362#M46237</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-05-14T18:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: creating dataset to use for chi squared test of proportions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928364#M46238</link>
      <description>&lt;P&gt;I don't know how you are running the code, but I assure you that the DATA step generates four observations:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data underfive;
length Group $15 Test $3;
input Group Test N;
datalines;
CountyA Yes 55
CountyA No 45027
CountyB Yes 71
CountyB No 311726
;
 
proc print data=underfive;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rick_SAS_0-1715712633628.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/96531i6D115D4CC02A179E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rick_SAS_0-1715712633628.png" alt="Rick_SAS_0-1715712633628.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 18:50:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928364#M46238</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2024-05-14T18:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: creating dataset to use for chi squared test of proportions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928366#M46239</link>
      <description>&lt;P&gt;Do the amount of spaces on the lines where it has CountyA Yes etc.. matter? I'm trying to figure out why it's telling me it only has three obs:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="sasLogNote3_1715711752177" class="sasNote"&gt;NOTE: SAS went to a new line when INPUT statement reached past the end of a line.&lt;/DIV&gt;
&lt;DIV id="sasLogNote4_1715711752177" class="sasNote"&gt;NOTE: The data set WORK.UNDERFIVE has 3 observations and 3 variables.&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 May 2024 19:26:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928366#M46239</guid>
      <dc:creator>Geoghegan</dc:creator>
      <dc:date>2024-05-14T19:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: creating dataset to use for chi squared test of proportions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928370#M46240</link>
      <description>&lt;P&gt;Post your code by doing the following:&lt;/P&gt;
&lt;P&gt;1. Click the &lt;STRONG&gt;"Insert SAS Code" icon&lt;/STRONG&gt; (looks like a running man). A dialog box will pop up.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Paste the EXACT code that generates the error into the dialog box.&lt;/P&gt;
&lt;P&gt;3. Click &lt;STRONG&gt;OK&lt;/STRONG&gt; to display the code in the thread.&lt;/P&gt;
&lt;P&gt;4. Click &lt;STRONG&gt;Post &lt;/STRONG&gt;so we can see the code.&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 19:39:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928370#M46240</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2024-05-14T19:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: creating dataset to use for chi squared test of proportions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928375#M46242</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data underfive;
length Group $15 Test $3;
input Group Test N;
datalines;
Worcester      Yes  55
Worcester      No	45027
NonWor         Yes  71
NonWor         No   311726
;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 May 2024 20:24:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928375#M46242</guid>
      <dc:creator>Geoghegan</dc:creator>
      <dc:date>2024-05-14T20:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: creating dataset to use for chi squared test of proportions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928376#M46243</link>
      <description>&lt;P&gt;OK, here is my log for the code you posted. Show us yours.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;7033  data underfive;
7034  length Group $15 Test $3;
7035  input Group Test N;
7036  datalines;

NOTE: The data set WORK.UNDERFIVE has 4 observations and 3 variables.
NOTE: DATA statement used (Total process time):
      real time           0.02 seconds
      cpu time            0.03 seconds


7041  ;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 20:27:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928376#M46243</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2024-05-14T20:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: creating dataset to use for chi squared test of proportions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928377#M46244</link>
      <description>&lt;DIV id="timeStampDiv_htqws281a6wlmdvxe49k5l" class="logTimeStampHeader"&gt;Submission: May 14, 2024 4:29:12 PM&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;72&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV class="sasSource"&gt;73 data underfive;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;74 length Group $15 Test $3;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;75 input Group Test N;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;76 datalines;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="sasLogNote1_1715718552199" class="sasNote"&gt;NOTE: Invalid data for N in line 79 1-6.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;RULE: ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;79 NonWor Yes 71&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;Group=Worcester Test=No N= _ERROR_=1 _N_=2&lt;/DIV&gt;
&lt;DIV id="sasLogNote2_1715718552199" class="sasNote"&gt;NOTE: SAS went to a new line when INPUT statement reached past the end of a line.&lt;/DIV&gt;
&lt;DIV id="sasLogNote3_1715718552199" class="sasNote"&gt;NOTE: The data set WORK.UNDERFIVE has 3 observations and 3 variables.&lt;/DIV&gt;
&lt;DIV id="sasLogNote4_1715718552199" class="sasNote"&gt;NOTE: Compressing data set WORK.UNDERFIVE increased size by 100.00 percent.&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;Compressed is 2 pages; un-compressed would require 1 pages.&lt;/DIV&gt;
&lt;DIV id="sasLogNote5_1715718552199" class="sasNote"&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;real time 0.01 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;user cpu time 0.00 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;system cpu time 0.01 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;memory 567.62k&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;OS Memory 31904.00k&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;Timestamp 05/14/2024 08:29:13 PM&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;Step Count 201 Switch Count 2&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;Page Faults 0&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;Page Reclaims 208&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;Page Swaps 0&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;Voluntary Context Switches 24&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;Involuntary Context Switches 0&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;Block Input Operations 832&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;Block Output Operations 264&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;81 ;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;82&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;83 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;95&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;PRE id="pre_sasLog_42520" class="sasLog"&gt;&amp;nbsp;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 May 2024 20:29:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928377#M46244</guid>
      <dc:creator>Geoghegan</dc:creator>
      <dc:date>2024-05-14T20:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: creating dataset to use for chi squared test of proportions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928385#M46246</link>
      <description>&lt;P&gt;Hmm, my guess (and it's only a guess) is that there might be an unprintable character in your datalines.&amp;nbsp; This can happen if you copied/pasted the data from a MS Word file. Word and other "rich text" formats might have a CR/LF line ending, which could make SAS think there is a blank line between the 2nd and 3rd lines of data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My suggestion: type the program verbatim into the SAS editor. Don't copy and paste it. Do you get the same error, or does the DATA step now run correctly?&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 20:51:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928385#M46246</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2024-05-14T20:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: creating dataset to use for chi squared test of proportions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928386#M46247</link>
      <description>&lt;P&gt;Ahh thank you! I opened a new program and typed it out and it worked just fine, thanks so much for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 20:55:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/creating-dataset-to-use-for-chi-squared-test-of-proportions/m-p/928386#M46247</guid>
      <dc:creator>Geoghegan</dc:creator>
      <dc:date>2024-05-14T20:55:57Z</dc:date>
    </item>
  </channel>
</rss>

