<?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: Calculating median when comparing two continuous variables in a multivariate analysis in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Calculating-median-when-comparing-two-continuous-variables-in-a/m-p/427838#M67730</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure that I fully understand. However, I think that the Summary tool from the Tables menu could help.&lt;/P&gt;
&lt;P&gt;Using an example of data on students (Big Class.jmp) from JMP's sample data folder (Help &amp;gt; Sample Data &amp;gt; Examples for teaching) we can get the median Height and Weight for each group of Sex.&lt;/P&gt;
&lt;P&gt;We select Height and Weight and choose Median from the Statistics drop down. Then add Sex to the Group role:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Phil_Kay_0-1634574563680.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/36807iAC9CA4B527C20BC1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Phil_Kay_0-1634574563680.png" alt="Phil_Kay_0-1634574563680.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can see the medians in the resulting summary table:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Phil_Kay_1-1634574738848.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/36808i0EA20D9051D19ED6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Phil_Kay_1-1634574738848.png" alt="Phil_Kay_1-1634574738848.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you could use Tabulate from the Analyze menu to achieve a similar result in the form of a report:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Phil_Kay_3-1634574814693.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/36809i2D18C47D11FC1A96/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Phil_Kay_3-1634574814693.png" alt="Phil_Kay_3-1634574814693.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(I imagine you can figure out how to do this yourself, but let me know if not.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does this help?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, I suspect that there would be better ways to analyse your data, but I guess your PI knows best!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Phil&lt;/P&gt;</description>
    <pubDate>Mon, 18 Oct 2021 16:37:22 GMT</pubDate>
    <dc:creator>Phil_Kay</dc:creator>
    <dc:date>2021-10-18T16:37:22Z</dc:date>
    <item>
      <title>Calculating median when comparing two continuous variables in a multivariate analysis</title>
      <link>https://community.jmp.com/t5/Discussions/Calculating-median-when-comparing-two-continuous-variables-in-a/m-p/425974#M67556</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear JMP Board,&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am currently working on a biomedical dataset comparing doses and blood levels of four different medication. My PI instructed me in short to compare the data for each blood level and dose across different subgroups (male, female; pre-, post-pubescent etc.). Practically spoken he told me to use a multivariate analysis to calculate a p vale within groups (Y = Dose + blood level data by medicaments and e.g. sex or ethnicity or age). To calculate p value within groups I used a standard Spearmans test. Additionally to that, he asked me to calculate each the median for dose and blood level but both of us didn't really know how... All I found so far was a way to calculate a mean value for each when using a multivariate analysis.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So we both thought it might be best to ask people who are more acquainted with JMP and thus I am reaching out to anyone who might know better. Thanks for any help, much appreciated!&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am currently using macOS Big Sur 11.6 and JMP version 16.0.0.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 11:45:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Calculating-median-when-comparing-two-continuous-variables-in-a/m-p/425974#M67556</guid>
      <dc:creator>mmkaz</dc:creator>
      <dc:date>2021-10-13T11:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating median when comparing two continuous variables in a multivariate analysis</title>
      <link>https://community.jmp.com/t5/Discussions/Calculating-median-when-comparing-two-continuous-variables-in-a/m-p/427838#M67730</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure that I fully understand. However, I think that the Summary tool from the Tables menu could help.&lt;/P&gt;
&lt;P&gt;Using an example of data on students (Big Class.jmp) from JMP's sample data folder (Help &amp;gt; Sample Data &amp;gt; Examples for teaching) we can get the median Height and Weight for each group of Sex.&lt;/P&gt;
&lt;P&gt;We select Height and Weight and choose Median from the Statistics drop down. Then add Sex to the Group role:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Phil_Kay_0-1634574563680.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/36807iAC9CA4B527C20BC1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Phil_Kay_0-1634574563680.png" alt="Phil_Kay_0-1634574563680.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can see the medians in the resulting summary table:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Phil_Kay_1-1634574738848.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/36808i0EA20D9051D19ED6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Phil_Kay_1-1634574738848.png" alt="Phil_Kay_1-1634574738848.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you could use Tabulate from the Analyze menu to achieve a similar result in the form of a report:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Phil_Kay_3-1634574814693.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/36809i2D18C47D11FC1A96/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Phil_Kay_3-1634574814693.png" alt="Phil_Kay_3-1634574814693.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(I imagine you can figure out how to do this yourself, but let me know if not.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does this help?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, I suspect that there would be better ways to analyse your data, but I guess your PI knows best!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Phil&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 16:37:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Calculating-median-when-comparing-two-continuous-variables-in-a/m-p/427838#M67730</guid>
      <dc:creator>Phil_Kay</dc:creator>
      <dc:date>2021-10-18T16:37:22Z</dc:date>
    </item>
  </channel>
</rss>

