<?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 Analysis of categorical diary data in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Analysis-of-categorical-diary-data/m-p/409251#M65902</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using jmp 15.0 and have diary data to analyze. Patients had to record symptoms for 3 days (fictive example), either no symptom occurred (blank), or mild or moderate or severe symptoms or any combination of these categories occurred.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to count the patients with always the most severe symptom occurred within those 3 days e.g. a patient with symptom severe on day 1, moderate on day 2 and mild on day 3 should be counted as patient with severe symptom.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attach a sample file with the data structure for clarification and the outcome should be&amp;nbsp;&lt;/P&gt;&lt;P&gt;Patient A: blank (meaning no symptom but counted as case)&lt;/P&gt;&lt;P&gt;Patient B: severe&amp;nbsp;&lt;/P&gt;&lt;P&gt;Patient C: severe&amp;nbsp;&lt;/P&gt;&lt;P&gt;Patient D:&lt;/img&gt; severe&amp;nbsp;&lt;/P&gt;&lt;P&gt;Patient E: moderate&amp;nbsp;&lt;/P&gt;&lt;P&gt;Patient F: mild&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Summary then is:&lt;/P&gt;&lt;P&gt;one patient with no symptoms&lt;/P&gt;&lt;P&gt;one patient with mild symptoms&lt;/P&gt;&lt;P&gt;one patient with moderate symptoms&lt;/P&gt;&lt;P&gt;three patients with severe symptoms&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an easy way to analyze this as I am not so familiar with scripting. I tried Analyze/ Consumer Research / Categorical/ Multiple Responses by ID and managed to get an overview on patients with any symptoms but not in the way as described above. May be there is an easy way to prepare the data to use this platform? The original data sheet I am intending to analyze has several thousands rows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for your support!&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:35:24 GMT</pubDate>
    <dc:creator>MH1</dc:creator>
    <dc:date>2023-06-10T23:35:24Z</dc:date>
    <item>
      <title>Analysis of categorical diary data</title>
      <link>https://community.jmp.com/t5/Discussions/Analysis-of-categorical-diary-data/m-p/409251#M65902</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using jmp 15.0 and have diary data to analyze. Patients had to record symptoms for 3 days (fictive example), either no symptom occurred (blank), or mild or moderate or severe symptoms or any combination of these categories occurred.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to count the patients with always the most severe symptom occurred within those 3 days e.g. a patient with symptom severe on day 1, moderate on day 2 and mild on day 3 should be counted as patient with severe symptom.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attach a sample file with the data structure for clarification and the outcome should be&amp;nbsp;&lt;/P&gt;&lt;P&gt;Patient A: blank (meaning no symptom but counted as case)&lt;/P&gt;&lt;P&gt;Patient B: severe&amp;nbsp;&lt;/P&gt;&lt;P&gt;Patient C: severe&amp;nbsp;&lt;/P&gt;&lt;P&gt;Patient D:&lt;/img&gt; severe&amp;nbsp;&lt;/P&gt;&lt;P&gt;Patient E: moderate&amp;nbsp;&lt;/P&gt;&lt;P&gt;Patient F: mild&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Summary then is:&lt;/P&gt;&lt;P&gt;one patient with no symptoms&lt;/P&gt;&lt;P&gt;one patient with mild symptoms&lt;/P&gt;&lt;P&gt;one patient with moderate symptoms&lt;/P&gt;&lt;P&gt;three patients with severe symptoms&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an easy way to analyze this as I am not so familiar with scripting. I tried Analyze/ Consumer Research / Categorical/ Multiple Responses by ID and managed to get an overview on patients with any symptoms but not in the way as described above. May be there is an easy way to prepare the data to use this platform? The original data sheet I am intending to analyze has several thousands rows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for your support!&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:35:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Analysis-of-categorical-diary-data/m-p/409251#M65902</guid>
      <dc:creator>MH1</dc:creator>
      <dc:date>2023-06-10T23:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Analysis of categorical diary data</title>
      <link>https://community.jmp.com/t5/Discussions/Analysis-of-categorical-diary-data/m-p/409286#M65904</link>
      <description>&lt;P&gt;Most likely there is even easier way, but you could first recode/use formula to change those Character categories to numeric values:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1628791144514.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34977iD6C92334C65B72C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1628791144514.png" alt="jthi_0-1628791144514.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Create summary table (or use tabulate) with Max of the new column:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1628791191882.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34978iB8D06271FA73C5C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1628791191882.png" alt="jthi_1-1628791191882.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1628791206611.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34979i5176278A9FE209EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1628791206611.png" alt="jthi_2-1628791206611.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recode values back to categories:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_4-1628791259478.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34981iA9EA5001700DE963/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_4-1628791259478.png" alt="jthi_4-1628791259478.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Create summary/tabulate of that:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_5-1628791278839.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34982i62A83E501B6D021A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_5-1628791278839.png" alt="jthi_5-1628791278839.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This whole process can be fairly easily scripted if needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 18:04:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Analysis-of-categorical-diary-data/m-p/409286#M65904</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2021-08-12T18:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Analysis of categorical diary data</title>
      <link>https://community.jmp.com/t5/Discussions/Analysis-of-categorical-diary-data/m-p/409371#M65916</link>
      <description>&lt;P&gt;Many thanks the steps as described by you are working well. I am still on a beginner level with jmp and not there yet to script all that (my file has a lot of different symptoms in different rows) but I will look and get into it&amp;nbsp; step by step to manage that over time. For the time being - great that this works!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 08:48:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Analysis-of-categorical-diary-data/m-p/409371#M65916</guid>
      <dc:creator>MH1</dc:creator>
      <dc:date>2021-08-13T08:48:27Z</dc:date>
    </item>
  </channel>
</rss>

