<?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 a 2X2 table from continuous data in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Creating-a-2X2-table-from-continuous-data/m-p/7217#M7211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;Dear community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;I have a 2 columns of continuous data. I would like to make a 2X2 table out that continuous data. I am trying to use this for sensitivity and specificity. I have a gold standar test and a new test. I want to set cutoff and get a table like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;-------------&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;| AB | Ab | &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;------------&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;| aB | ab |&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;------------&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;ie AB would the the number of values that are above both cutoffs. ab is is number of values below both cutoffs. Ab and aB is where capitalized values are above cutoff and lower case value is below the cutoff level. ANy help would be appreciated.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Aug 2013 02:54:27 GMT</pubDate>
    <dc:creator>drsultan85</dc:creator>
    <dc:date>2013-08-09T02:54:27Z</dc:date>
    <item>
      <title>Creating a 2X2 table from continuous data</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-2X2-table-from-continuous-data/m-p/7217#M7211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;Dear community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;I have a 2 columns of continuous data. I would like to make a 2X2 table out that continuous data. I am trying to use this for sensitivity and specificity. I have a gold standar test and a new test. I want to set cutoff and get a table like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;-------------&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;| AB | Ab | &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;------------&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;| aB | ab |&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;------------&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;ie AB would the the number of values that are above both cutoffs. ab is is number of values below both cutoffs. Ab and aB is where capitalized values are above cutoff and lower case value is below the cutoff level. ANy help would be appreciated.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia,palatino; font-size: 12pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 02:54:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-2X2-table-from-continuous-data/m-p/7217#M7211</guid>
      <dc:creator>drsultan85</dc:creator>
      <dc:date>2013-08-09T02:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a 2X2 table from continuous data</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-2X2-table-from-continuous-data/m-p/7218#M7212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll need to create two new columns as indicators of whether Column A is above or below the threshold and Column B is above or below the threshold.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's use the Big Class data from the Sample Data library as an example (Help-&amp;gt;Sample Data and then in the Examples for Teaching section).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we are interested in the 2x2 table for the number of students above and below a height of 62 and a weight of 120, we first need to create indicator columns for those conditions in each row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the height indicator you add a new column with a formula like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4020_JMPScreenSnapz017.png" style="width: 155px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/220iB7DEEBCB15A3BEAE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4020_JMPScreenSnapz017.png" alt="4020_JMPScreenSnapz017.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This will give you a column of capital Hs where height is above 62 and lowercase h where it's below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a similar column for weight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use these two columns in Fit Y by X to get a report like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4022_JMPScreenSnapz019.png" style="width: 406px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/221iB0D45CFF3F3EA922/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4022_JMPScreenSnapz019.png" alt="4022_JMPScreenSnapz019.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The Contingency Table is the table you're looking for. The Mosaic Plot is the graphical representation of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know if this isn't what you're looking for, or if you need more assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 20:21:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-2X2-table-from-continuous-data/m-p/7218#M7212</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2016-10-18T20:21:04Z</dc:date>
    </item>
  </channel>
</rss>

