<?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: How can i choose the same observation to calculate a ratio for a series of observations? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-can-i-choose-the-same-observation-to-calculate-a-ratio-for-a/m-p/846133#M102077</link>
    <description>&lt;P&gt;Hi, Jarmo!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is some example data for 4 of my animals, the E column will be my numerator and the early e' should be the denominator. So I want to calculate a ratio where E is from HR = 600, and early e' is from 400 for each animal (the HR intervals is the same for each animal)&lt;/P&gt;</description>
    <pubDate>Wed, 05 Mar 2025 12:00:20 GMT</pubDate>
    <dc:creator>PercentileBird2</dc:creator>
    <dc:date>2025-03-05T12:00:20Z</dc:date>
    <item>
      <title>How can i choose the same observation to calculate a ratio for a series of observations?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-i-choose-the-same-observation-to-calculate-a-ratio-for-a/m-p/845756#M102020</link>
      <description>&lt;P&gt;Hello, I am pretty new to jmp, but I have a question regarding creating a function column. So I have a dateset where I have recorded physiological data for the same 6 heart rate values in 16 mice. I want to choose two of these physiological variables to calculate a ratio - and I want the numerator to be the phys. value for the corresponding highest heart rate, and the denominator for another phys. value but for the middle (3rd lowest) heart rate. How can I specify this for all my 16 mice?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 07:41:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-i-choose-the-same-observation-to-calculate-a-ratio-for-a/m-p/845756#M102020</guid>
      <dc:creator>PercentileBird2</dc:creator>
      <dc:date>2025-03-04T07:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can i choose the same observation to calculate a ratio for a series of observations?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-i-choose-the-same-observation-to-calculate-a-ratio-for-a/m-p/845855#M102041</link>
      <description>&lt;P&gt;Can you provide example data?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 16:08:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-i-choose-the-same-observation-to-calculate-a-ratio-for-a/m-p/845855#M102041</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-03-04T16:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: How can i choose the same observation to calculate a ratio for a series of observations?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-i-choose-the-same-observation-to-calculate-a-ratio-for-a/m-p/846133#M102077</link>
      <description>&lt;P&gt;Hi, Jarmo!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is some example data for 4 of my animals, the E column will be my numerator and the early e' should be the denominator. So I want to calculate a ratio where E is from HR = 600, and early e' is from 400 for each animal (the HR intervals is the same for each animal)&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 12:00:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-i-choose-the-same-observation-to-calculate-a-ratio-for-a/m-p/846133#M102077</guid>
      <dc:creator>PercentileBird2</dc:creator>
      <dc:date>2025-03-05T12:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can i choose the same observation to calculate a ratio for a series of observations?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-i-choose-the-same-observation-to-calculate-a-ratio-for-a/m-p/846136#M102078</link>
      <description>&lt;P&gt;Are other HR values important? Do you wish to keep the data format same? Just asking because the calculation is much easier to perform from table like this&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1741179691299.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73574i77A1A7CB3156B7E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1741179691299.png" alt="jthi_0-1741179691299.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can also try to use formulas like these&lt;/P&gt;
&lt;P&gt;numerator:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:E[Col Min(If(:HR == 600, Row(), .), :Animal ID)]
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;denominator:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:"early e'"n[Col Min(If(:HR == 400, Row(), .), :Animal ID)]&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1741179906072.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73575i6A55497216BACD02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1741179906072.png" alt="jthi_1-1741179906072.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 13:05:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-i-choose-the-same-observation-to-calculate-a-ratio-for-a/m-p/846136#M102078</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-03-05T13:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can i choose the same observation to calculate a ratio for a series of observations?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-i-choose-the-same-observation-to-calculate-a-ratio-for-a/m-p/846138#M102079</link>
      <description>&lt;P&gt;Here is the formula I came up with&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Mean( If( :HR == 600, :E, . ), :Animal ID ) / Col Mean(
	If( :HR == 400, :early e', . ),
	:Animal ID
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1741181811345.png" style="width: 527px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/73576i5933528571BC404C/image-dimensions/527x671?v=v2" width="527" height="671" role="button" title="txnelson_0-1741181811345.png" alt="txnelson_0-1741181811345.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 13:37:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-i-choose-the-same-observation-to-calculate-a-ratio-for-a/m-p/846138#M102079</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-03-05T13:37:05Z</dc:date>
    </item>
  </channel>
</rss>

