<?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 Automated Extrapolation of Threshold in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Automated-Extrapolation-of-Threshold/m-p/581802#M78855</link>
    <description>&lt;P&gt;Imagine a scenario where you are trying to measure the accuracy of the penalty kicks of 10000 soccer players.&lt;/P&gt;&lt;P&gt;As you move farther from the goals, the less accurate the players will be and more shots will be missed.&lt;/P&gt;&lt;P&gt;I would like to extrapolate out the threshold distance where 10% of players start missing.&lt;/P&gt;&lt;P&gt;This is not a real world problem, it's a hopefully more easily understood description of my problem.&lt;/P&gt;&lt;P&gt;Attached data table yields the following plot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Penalty_Kicks.png" style="width: 655px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/48317i840396BABFB1268A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Penalty_Kicks.png" alt="Penalty_Kicks.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would like to figure out the x value (ie the distance) when the graph passes the 10% miss rate.&lt;/P&gt;&lt;P&gt;I know I can read from the graph using the Crosshairs, but I would like to be able to do this automatically/programmatically.&lt;/P&gt;&lt;P&gt;Using JMP16.0&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:58:22 GMT</pubDate>
    <dc:creator>Malteaser6900</dc:creator>
    <dc:date>2023-06-10T23:58:22Z</dc:date>
    <item>
      <title>Automated Extrapolation of Threshold</title>
      <link>https://community.jmp.com/t5/Discussions/Automated-Extrapolation-of-Threshold/m-p/581802#M78855</link>
      <description>&lt;P&gt;Imagine a scenario where you are trying to measure the accuracy of the penalty kicks of 10000 soccer players.&lt;/P&gt;&lt;P&gt;As you move farther from the goals, the less accurate the players will be and more shots will be missed.&lt;/P&gt;&lt;P&gt;I would like to extrapolate out the threshold distance where 10% of players start missing.&lt;/P&gt;&lt;P&gt;This is not a real world problem, it's a hopefully more easily understood description of my problem.&lt;/P&gt;&lt;P&gt;Attached data table yields the following plot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Penalty_Kicks.png" style="width: 655px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/48317i840396BABFB1268A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Penalty_Kicks.png" alt="Penalty_Kicks.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would like to figure out the x value (ie the distance) when the graph passes the 10% miss rate.&lt;/P&gt;&lt;P&gt;I know I can read from the graph using the Crosshairs, but I would like to be able to do this automatically/programmatically.&lt;/P&gt;&lt;P&gt;Using JMP16.0&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:58:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Automated-Extrapolation-of-Threshold/m-p/581802#M78855</guid>
      <dc:creator>Malteaser6900</dc:creator>
      <dc:date>2023-06-10T23:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Extrapolation of Threshold</title>
      <link>https://community.jmp.com/t5/Discussions/Automated-Extrapolation-of-Threshold/m-p/581857#M78859</link>
      <description>&lt;P&gt;Here is a little script that I believe will give you the distance you are requesting.&amp;nbsp; It finds the row above and below the target value, and interpolates between them to find the approximated distance.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();
target = .1;

lowerMax = Max( dt:shots_Missed_%[dt &amp;lt;&amp;lt; get rows where( :Shots_Missed_% &amp;lt;= target )] );
lowerRow = (dt &amp;lt;&amp;lt; get rows where( :Shots_Missed_% &amp;lt;= target ))[Loc(
	dt:shots_Missed_%[dt &amp;lt;&amp;lt; get rows where( :Shots_Missed_% &amp;lt;= target )],
	lowerMax
)[1]];

upperMin = Min( dt:shots_Missed_%[dt &amp;lt;&amp;lt; get rows where( :Shots_Missed_% &amp;gt;= target )] );
upperRow = (dt &amp;lt;&amp;lt; get rows where( :Shots_Missed_% &amp;gt;= target ))[Loc(
	dt:shots_Missed_%[dt &amp;lt;&amp;lt; get rows where( :Shots_Missed_% &amp;gt;= target )],
	upperMin
)[1]];

Distance = Interpolate(
	target,
	:shots_Missed_%[lowerRow],
	:distance_m[lowerRow],
	:shots_Missed_%[upperRow],
	:distance_m[upperRow]
)
;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Dec 2022 10:51:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Automated-Extrapolation-of-Threshold/m-p/581857#M78859</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-12-15T10:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Extrapolation of Threshold</title>
      <link>https://community.jmp.com/t5/Discussions/Automated-Extrapolation-of-Threshold/m-p/582282#M78881</link>
      <description>&lt;P&gt;If you're looking for a non-scripting solution, you can use the Custom Inverse Prediction tool in the Fit Curve Platform to give you the predicted X for a given Y. This would require you to find a curve that fits your data well, though, which may not be what you are looking for. I attached an updated version of your file with the Fit Curve script saved.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jed_Campbell_3-1671141107555.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/48347i35ADFD862F6F2F68/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jed_Campbell_3-1671141107555.png" alt="Jed_Campbell_3-1671141107555.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 21:52:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Automated-Extrapolation-of-Threshold/m-p/582282#M78881</guid>
      <dc:creator>Jed_Campbell</dc:creator>
      <dc:date>2022-12-15T21:52:31Z</dc:date>
    </item>
  </channel>
</rss>

