<?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 Importing Data for a Chi Square Test in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Importing-Data-for-a-Chi-Square-Test/m-p/412411#M279839</link>
    <description>&lt;P&gt;So for a problem, I am comparing Positron Emission Tomography (PET) and Computed Tomography (CT) to Magnetic Resonance Imaging (MRI). I am ultimately asked if there is a difference in accuracy between PETCT and MRI, which one would be better and what the degree of association between the two methods is. Because of the last part about association, I know I need to run a Chi-Square Test. But first, I can't get my data imported correctly.&lt;/P&gt;&lt;P&gt;There are 50 subjects and the data looks like this:&lt;/P&gt;&lt;P&gt;Subject MRI PET-CT&lt;BR /&gt;1 Correct Correct&lt;BR /&gt;2 Correct Correct&lt;BR /&gt;3 Correct Correct&lt;BR /&gt;4 Correct Correct&lt;BR /&gt;5 Correct Correct&lt;BR /&gt;6 Correct Correct&lt;BR /&gt;7 Correct Correct&lt;BR /&gt;8 Correct Correct&lt;BR /&gt;9 Correct Correct&lt;BR /&gt;10 Correct Correct&lt;BR /&gt;11 Correct Correct&lt;BR /&gt;12 Correct Correct&lt;BR /&gt;13 Correct Correct&lt;BR /&gt;14 Correct Correct&lt;BR /&gt;15 Correct Correct&lt;BR /&gt;16 Correct Correct&lt;BR /&gt;17 Correct Correct&lt;BR /&gt;18 Correct Correct&lt;BR /&gt;19 Correct Correct&lt;BR /&gt;20 Correct Correct&lt;BR /&gt;21 Correct Correct&lt;BR /&gt;22 Correct Correct&lt;BR /&gt;23 Correct Correct&lt;BR /&gt;24 Correct Correct&lt;BR /&gt;25 Correct Correct&lt;BR /&gt;26 Correct Correct&lt;BR /&gt;27 Correct Correct&lt;BR /&gt;28 Correct Correct&lt;BR /&gt;29 Correct Correct&lt;BR /&gt;30 Correct Correct&lt;BR /&gt;31 Correct Correct&lt;BR /&gt;32 Correct Correct&lt;BR /&gt;33 Correct Correct&lt;BR /&gt;34 Correct Correct&lt;BR /&gt;35 Correct Correct&lt;BR /&gt;36 Correct Correct&lt;BR /&gt;37 Correct Incorrect&lt;BR /&gt;38 Incorrect Correct&lt;BR /&gt;39 Incorrect Correct&lt;BR /&gt;40 Incorrect Correct&lt;BR /&gt;41 Incorrect Correct&lt;BR /&gt;42 Incorrect Correct&lt;BR /&gt;43 Incorrect Correct&lt;BR /&gt;44 Incorrect Correct&lt;BR /&gt;45 Incorrect Correct&lt;BR /&gt;46 Incorrect Correct&lt;BR /&gt;47 Incorrect Correct&lt;BR /&gt;48 Incorrect Correct&lt;BR /&gt;49 Incorrect Incorrect&lt;BR /&gt;50 Incorrect Incorrect&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how to get the data into a table that will allow me the run a chi-square. Any tips?&lt;/P&gt;</description>
    <pubDate>Fri, 10 Nov 2017 16:18:41 GMT</pubDate>
    <dc:creator>trash</dc:creator>
    <dc:date>2017-11-10T16:18:41Z</dc:date>
    <item>
      <title>Importing Data for a Chi Square Test</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-Data-for-a-Chi-Square-Test/m-p/412411#M279839</link>
      <description>&lt;P&gt;So for a problem, I am comparing Positron Emission Tomography (PET) and Computed Tomography (CT) to Magnetic Resonance Imaging (MRI). I am ultimately asked if there is a difference in accuracy between PETCT and MRI, which one would be better and what the degree of association between the two methods is. Because of the last part about association, I know I need to run a Chi-Square Test. But first, I can't get my data imported correctly.&lt;/P&gt;&lt;P&gt;There are 50 subjects and the data looks like this:&lt;/P&gt;&lt;P&gt;Subject MRI PET-CT&lt;BR /&gt;1 Correct Correct&lt;BR /&gt;2 Correct Correct&lt;BR /&gt;3 Correct Correct&lt;BR /&gt;4 Correct Correct&lt;BR /&gt;5 Correct Correct&lt;BR /&gt;6 Correct Correct&lt;BR /&gt;7 Correct Correct&lt;BR /&gt;8 Correct Correct&lt;BR /&gt;9 Correct Correct&lt;BR /&gt;10 Correct Correct&lt;BR /&gt;11 Correct Correct&lt;BR /&gt;12 Correct Correct&lt;BR /&gt;13 Correct Correct&lt;BR /&gt;14 Correct Correct&lt;BR /&gt;15 Correct Correct&lt;BR /&gt;16 Correct Correct&lt;BR /&gt;17 Correct Correct&lt;BR /&gt;18 Correct Correct&lt;BR /&gt;19 Correct Correct&lt;BR /&gt;20 Correct Correct&lt;BR /&gt;21 Correct Correct&lt;BR /&gt;22 Correct Correct&lt;BR /&gt;23 Correct Correct&lt;BR /&gt;24 Correct Correct&lt;BR /&gt;25 Correct Correct&lt;BR /&gt;26 Correct Correct&lt;BR /&gt;27 Correct Correct&lt;BR /&gt;28 Correct Correct&lt;BR /&gt;29 Correct Correct&lt;BR /&gt;30 Correct Correct&lt;BR /&gt;31 Correct Correct&lt;BR /&gt;32 Correct Correct&lt;BR /&gt;33 Correct Correct&lt;BR /&gt;34 Correct Correct&lt;BR /&gt;35 Correct Correct&lt;BR /&gt;36 Correct Correct&lt;BR /&gt;37 Correct Incorrect&lt;BR /&gt;38 Incorrect Correct&lt;BR /&gt;39 Incorrect Correct&lt;BR /&gt;40 Incorrect Correct&lt;BR /&gt;41 Incorrect Correct&lt;BR /&gt;42 Incorrect Correct&lt;BR /&gt;43 Incorrect Correct&lt;BR /&gt;44 Incorrect Correct&lt;BR /&gt;45 Incorrect Correct&lt;BR /&gt;46 Incorrect Correct&lt;BR /&gt;47 Incorrect Correct&lt;BR /&gt;48 Incorrect Correct&lt;BR /&gt;49 Incorrect Incorrect&lt;BR /&gt;50 Incorrect Incorrect&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how to get the data into a table that will allow me the run a chi-square. Any tips?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 16:18:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-Data-for-a-Chi-Square-Test/m-p/412411#M279839</guid>
      <dc:creator>trash</dc:creator>
      <dc:date>2017-11-10T16:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data for a Chi Square Test</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-Data-for-a-Chi-Square-Test/m-p/412415#M279840</link>
      <description>&lt;PRE&gt;/* UNTESTED CODE */
proc freq data=have;
     tables MRI*PETCT/chisq;
run;&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Nov 2017 16:23:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-Data-for-a-Chi-Square-Test/m-p/412415#M279840</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-11-10T16:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data for a Chi Square Test</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-Data-for-a-Chi-Square-Test/m-p/412420#M279841</link>
      <description>&lt;P&gt;In addition to Chi Squared you're likely going to want to calculate the specificity and sensitivity.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Sensitivity_and_specificity" target="_blank"&gt;https://en.wikipedia.org/wiki/Sensitivity_and_specificity&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 16:40:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-Data-for-a-Chi-Square-Test/m-p/412420#M279841</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-11-10T16:40:07Z</dc:date>
    </item>
  </channel>
</rss>

