<?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: Can JMP show the probability of 1 result or range through a graph? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/697192#M88262</link>
    <description>&lt;P&gt;Here is an alternative implementation which also allows "combined" filter conditions (A and B and C ...).&lt;/P&gt;&lt;P&gt;For this case it makes sense to enable the Conditional(1) setting - then additional filters will only show values that are within the range of the first filters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, one can create several filter "groups". Click on OR and a filter group N+1 is generated with the corresponding probability value.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;drawbacks:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;with the current version of Jmp, Conditional(1) and filter groups via OR are not compatible :(&lt;/img&gt;&lt;BR /&gt;So, if you want to compare different selection groups, you have to do this without the Conditional(1) feature.&lt;BR /&gt;here is a wish to fix this problem:&amp;nbsp;&lt;LI-MESSAGE title="data filters: more flexible use of the conditional flag" uid="556164" url="https://community.jmp.com/t5/JMP-Wish-List/data-filters-more-flexible-use-of-the-conditional-flag/m-p/556164#U556164" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;The possibilities to adjust the graph are more restricted than in GraphBuilder:&lt;BR /&gt;- selected values are indicated via the semitransparent blue region, which looks nice.&lt;BR /&gt;On the other hand, it's not possible to switch "different colors for selected/unselected"&amp;nbsp;&lt;BR /&gt;- the default number of bins in a data filter is 10, just giving a rough idea of the actual distribution.&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Number of Bins&lt;/FONT&gt;&amp;nbsp; can be adjusted via the red triangle menu:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1699857190223.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58609iB2D3D40D3EE7AED9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1699857190223.png" alt="hogi_1-1699857190223.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6340997384112w736h540r530" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6340997384112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6340997384112w736h540r530');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6340997384112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;/*""" https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/697074/highlight/true#M88231

Topic: direct access to data filter selections via ldf &amp;lt;&amp;lt; get where clause
Author: hogi
Date: 2023-11-12
*/

Names Default To Here( 1 );

convertToList = Function( {myExpr},{Nargs,myList},
	Nargs= N Arg(Name Expr(myExpr));
	myList={};
	For(i=1, i&amp;lt;=NArgs, i++,
	Insert Into(myList,Arg(Name Expr(myExpr),i))
	);
	return(Name Expr(myList))
);



New Window( "probabilites",
H list Box (
Current Data Table() &amp;lt;&amp;lt; 
		data filter(
			Local,
			Title( "Selection" ),
			Show Controls( 1 ),
			Show Modes( 0 ),
			Conditional( 1 ),
			add Filter (columns(Column(1),Column(2)),Display( Column(1), NBins( 100 ) ),Display( Column(2), NBins( 100 ) ))
	),
	H List Box( Name Expr( myExpr ), hlb = H List Box() ));
);


update = Function( {a}, {myExpr,myselection},
// collect Selections from Local Data Filter - every OR is a group - kind of ...

	ldf = Current Report()["Selection"] &amp;lt;&amp;lt; get scriptable Object;
	myExpr = Parse( ldf &amp;lt;&amp;lt; get where clause );
	myExpr=Arg( myExpr, 1 );
	mySelections = If( (Head( myExpr ) == Expr( Or() ) &amp;amp; Head( Arg(myExpr,1) ) != Expr( Equal() )),
		convertToList(Name Expr(myExpr)  ), // several filter groups
		Eval List({Name Expr(myExpr)}) // one filter group
		
	);

// calculate the new values
	myBox = Outline Box( "probabilities" );
	For Each( {x, i}, mySelections,
		Eval(
			Substitute(
					Expr(
						sel_rows = Current Data Table() &amp;lt;&amp;lt; get rows where( _match_ );
						myValue = Char( Round( N Items( sel_rows ) / N Rows( Current Data Table() ) * 100, 2 ) ) || "%";
					),
				Expr( _match_ ), Name Expr( x )
			)
		);
		Insert Into( myBox, Panel Box( "selection group # " || Char( i ), Text Box( myValue ) ) );
	);
// update the results
	Try( result &amp;lt;&amp;lt; delete );
	hlb &amp;lt;&amp;lt; append( result = myBox );
);

ldf = ((Current Report()["Selection"]) &amp;lt;&amp;lt; get scriptable object);
rs = ldf &amp;lt;&amp;lt; make filter change handler( update );
(Current Report() &amp;lt;&amp;lt; xpath( "//FrameBox" )) &amp;lt;&amp;lt; Frame Size( 500, 50 ) &amp;lt;&amp;lt; Fill Selection Mode( "Selected Same Color" );&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Nov 2023 06:37:13 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2023-11-13T06:37:13Z</dc:date>
    <item>
      <title>Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/694998#M88015</link>
      <description>&lt;P&gt;Hello everyone!!!, a question:&lt;BR /&gt;What graph in JMP can answer the probabilities of obtaining a value or range of response, for example like the following graph.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marco1_0-1699317866245.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58399iB4C82C989757BF2F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marco1_0-1699317866245.png" alt="Marco1_0-1699317866245.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 00:57:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/694998#M88015</guid>
      <dc:creator>Marco1</dc:creator>
      <dc:date>2023-11-07T00:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695153#M88030</link>
      <description>&lt;P&gt;I don't know any easy way to do exactly what your example shows, but you can of course construct it manually using the quantiles from the Distribution platform.&amp;nbsp; That platform also has an option to display the cdf, so that automatically shows the cumulative probabilities throughout the range.&amp;nbsp; You can also add reference lines at any particular value you are interested in, and select rows less than that value and that part of the histogram will be highlighted.&amp;nbsp; But beyond that I'm not aware of an automatic mechanism to produce your example.&amp;nbsp; Perhaps someone else does or perhaps someone can write a script to do that.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 11:42:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695153#M88030</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2023-11-07T11:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695193#M88032</link>
      <description>&lt;P&gt;Do you want the empirical result or one based on a model? Which JMP plot do you want to augment with this capability?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 14:29:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695193#M88032</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2023-11-07T14:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695440#M88049</link>
      <description>&lt;P&gt;Hello Mark,&lt;/P&gt;&lt;P&gt;I'm glad to greet you, JMP seems like a great software to me and I think someone can achieve it.&lt;/P&gt;&lt;P&gt;Regarding your question: Do you want the empirical result or one based on a model? Which JMP plot do you want to augment with this capability?&lt;/P&gt;&lt;P&gt;1. The simulation result could generate a bar graph for each objective with the option of entering a value and knowing its % probability or entering a range and knowing its % probability or entering a % probability and knowing the probable value or enter a probable % range and know the probable value range.&lt;BR /&gt;2. It should be based on a model, if possible in the Prediction Profiler&lt;/P&gt;&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 23:12:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695440#M88049</guid>
      <dc:creator>Marco1</dc:creator>
      <dc:date>2023-11-07T23:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695663#M88076</link>
      <description>&lt;P&gt;To some extent the profiler already does what you suggest.&amp;nbsp; If your Y variable is nominal, the profiler will show the estimated probability for whatever set of X variables you choose.&amp;nbsp; If you change the X variables, the estimated probability will adjust.&amp;nbsp; If you are looking for a display that automatically builds a table showing probabilities as functions of X or a histogram (such as you displayed) that has you enter a value and has the area adjust, I believe that either requires someone to script that or you might suggest that as a wish for further development.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 13:21:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695663#M88076</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2023-11-08T13:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695665#M88077</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/23407"&gt;@Marco1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/17.2/index.shtml#page/jmp/design-space-profiler.shtml#" target="_self"&gt;Design Space Profiler&lt;/A&gt;&amp;nbsp;may be helpful for what you intend to do.&amp;nbsp;&lt;BR /&gt;Based on Monte-Carlo simulations, and if you provide some specifications (Lower and/or Upper Specification Limits), the Design Space Profiler will &lt;SPAN&gt;calculate and display the in-spec rate, based on specific inputs ranges.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1699450269851.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58450i28F84A1FEAE8FDC2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_0-1699450269851.png" alt="Victor_G_0-1699450269851.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can look at an example here and see if it corresponds to your needs :&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/17.2/index.shtml#page/jmp/example-of-design-space-profiler.shtml#ww874472" target="_blank" rel="noopener"&gt;Example of Design Space Profiler.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this answer will help you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 13:33:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695665#M88077</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2023-11-08T13:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695715#M88085</link>
      <description>&lt;P&gt;Victor&lt;/P&gt;&lt;P&gt;Interesting idea, but I'm not finding the Design Space Profiler.&amp;nbsp; I ran a Fit model with a nominal Y variable and one continuous X variable and there is only the Profiler option at the red arrow and the red arrow for the Profiler does not list Design Space Profiler as an option (not even grayed out).&amp;nbsp; Where do I find it?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 15:27:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695715#M88085</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2023-11-08T15:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695719#M88086</link>
      <description>&lt;P&gt;The Design Space Profiler is only available for continuous responses :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1699458252386.png" style="width: 294px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58459i2873B68EA22865D2/image-dimensions/294x128?v=v2" width="294" height="128" role="button" title="Victor_G_0-1699458252386.png" alt="Victor_G_0-1699458252386.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As the original poster&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/23407"&gt;@Marco1&lt;/a&gt;&amp;nbsp;did not mention any nominal response, I thought the Design Space Profiler may be close to his expectations and goal :&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;What graph in JMP can answer the probabilities of obtaining a value or range of response&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 15:45:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695719#M88086</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2023-11-08T15:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695764#M88089</link>
      <description>&lt;P&gt;1. Simulation&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;What do you mean by "for each objective?"&lt;/LI&gt;
&lt;LI&gt;Where will your simulation results be found? In a JMP data table?&lt;/LI&gt;
&lt;LI&gt;Can the histogram in Distribution be used, or do you prefer a histogram in Graph Builder?&lt;/LI&gt;
&lt;LI&gt;A value does not have a probability. It only has a density. The histogram you show above has 'bins' to count data occurring in a range. Do you mean the frequency in a bin when you ask for the probability of a value?&lt;/LI&gt;
&lt;LI&gt;The inverse operation is ill-defined on a histogram.&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;2. Model&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;What model do you use?&lt;/LI&gt;
&lt;LI&gt;What is the function that you want to profile with the Prediction Profiler?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In general, you might be thinking in terms of frequency, not probability.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 17:13:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695764#M88089</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2023-11-08T17:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695889#M88106</link>
      <description>&lt;P&gt;Hi Dale,&lt;/P&gt;&lt;P&gt;I am happy to greet you, could you please show an example of your ingenious idea?&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 20:27:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695889#M88106</guid>
      <dc:creator>Marco1</dc:creator>
      <dc:date>2023-11-08T20:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695890#M88107</link>
      <description>&lt;P&gt;Hello Victor,&lt;/P&gt;&lt;P&gt;I am happy to greet you, the alternative you show is an interesting way to solve the problem, I will review it. Thank you!&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 20:41:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695890#M88107</guid>
      <dc:creator>Marco1</dc:creator>
      <dc:date>2023-11-08T20:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695899#M88108</link>
      <description>&lt;P&gt;Hello Mark,&lt;/P&gt;&lt;P&gt;Sorry for not letting me understand... although it may be the translator (Spanish-English), my question is... if it is possible that JMP, after a simulation using a bar graph, can answer:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marco1_1-1699477628573.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58470iEF5489E7EFAC98D5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marco1_1-1699477628573.png" alt="Marco1_1-1699477628573.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The value in the certainty field changes to reflect the probability of an income level for a range from positive US$0 to positive infinity, that is, the chance of achieving a profit (profit greater than or equal to US$0) is approximately 93.20 %&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marco1_2-1699478194060.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58471i9248ADD707F1CF29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marco1_2-1699478194060.png" alt="Marco1_2-1699478194060.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This graph shows all the possible results, that is, in an investment there is the possibility of losing US$ 14.7 million until winning US 34.4 million and the certainty field shows 100% since the initial range of certainty includes all possible values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marco1_3-1699478638553.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58472i4991C3D711424B16/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marco1_3-1699478638553.png" alt="Marco1_3-1699478638553.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Question 1: What is the probability of not losing money or the income being US$0?&lt;BR /&gt;Answer 1: 79.80% or 20.20% to lose (100 minus 79.80)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marco1_4-1699479348201.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58473i6678FCA960FC8394/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marco1_4-1699479348201.png" alt="Marco1_4-1699479348201.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Question 2: What is the probability of achieving a minimum profit of US$ 2 million?&lt;BR /&gt;Answer 2: 73.60%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marco1_5-1699479512262.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58474i10A4A07A36B7D966/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marco1_5-1699479512262.png" alt="Marco1_5-1699479512262.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Question 3: What is the probability of achieving a minimum profit of US$ 4 million?&lt;BR /&gt;Answer 3: 66.00%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 21:40:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/695899#M88108</guid>
      <dc:creator>Marco1</dc:creator>
      <dc:date>2023-11-08T21:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/696262#M88145</link>
      <description>&lt;P&gt;I'm very familiar with the displays you are showing - they are regular outputs of Excel simulation programs.&amp;nbsp; I don't know of an automatic JMP capability that shows the same - but this will provide the same kind of information, though not quite the same display.&amp;nbsp; You can Analyze Distribution for any variable (it could be the prediction formula from a model or just a variable you have data on).&amp;nbsp; If you save the Probability Scores you get a column of the cumulative probabilities associated with the values of that variable - this is a new column in your data set.&amp;nbsp; You can then use Fit Y by X, with the probability scores as Y and the variable values as X.&amp;nbsp; This will reproduce the cumulative probability distribution.&amp;nbsp; Choose to show the histogram borders.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, if you highlight a portion of the histogram border for your X variable, the corresponding cumulative probability associated with that value will show up as the Y value.&amp;nbsp; You can interactively use this to "discover" the types of probabilities you show in your examples, albeit without the automatic graphs.&amp;nbsp; Perhaps somebody knows a way to script producing those graphs - but that is not my expertise.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 17:16:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/696262#M88145</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2023-11-09T17:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/696390#M88157</link>
      <description>&lt;P&gt;Hi Dale,&lt;/P&gt;&lt;P&gt;Ingenious solution!!!....surely someone with a command of scripting could create an add-in for JMP that calculates the certainty of a response or range, just like the examples I shared.&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 20:19:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/696390#M88157</guid>
      <dc:creator>Marco1</dc:creator>
      <dc:date>2023-11-09T20:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/696404#M88160</link>
      <description>&lt;P&gt;I think what you're looking for is the &lt;A href="https://www.jmp.com/support/help/en/17.2/index.shtml#page/jmp/simulator.shtml#ww209127" target="_self"&gt;Simulator&lt;/A&gt; in the Profiler. &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-11-09_15-51-18.508.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58528i49EAABCAE3BF6D0E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2023-11-09_15-51-18.508.png" alt="2023-11-09_15-51-18.508.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="2023-11-09_15-50-51.037.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58527i53383EDD63B5DF1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2023-11-09_15-50-51.037.png" alt="2023-11-09_15-50-51.037.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You learn more here:&lt;/P&gt;
&lt;P&gt; &lt;LI-MESSAGE title="Simulating Data Using the Prediction Profiler" uid="272000" url="https://community.jmp.com/t5/Statistical-Thinking-for/Simulating-Data-Using-the-Prediction-Profiler/m-p/272000#U272000" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 20:51:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/696404#M88160</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2023-11-09T20:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/696412#M88162</link>
      <description>&lt;P&gt;If you want to calculate the percentage of the selected part of a distribution, you can plot the distribution in Graph Builder and use a column formula to display the percentage.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here I took the height distribution in students.jmp, but the same holds for some income, profit etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6340827777112w606h350r121" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6340827777112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6340827777112w606h350r121');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6340827777112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open( "$SAMPLE_DATA/Students.jmp" );

New Column( "percent",
	Formula(
		(Col Number( If( Selected(), :height, . ) ) / Col Number( :height )) * 100
	)
);
New Column( "one",Nominal, Set each value( 1 ));
:percent &amp;lt;&amp;lt; Label( 1 ); // I forgot to add this to the script, thanks @Dale_lehman
Graph Builder(
	Size( 590, 393 ),
	Show Control Panel( 0 ),
	Show Legend( 0 ),
	Variables( X( :height ), Y( :one ), Y( :height ) ),
	Relative Sizes( "Y", [59 231] ),
	Elements( Position( 1, 1 ), Heatmap( Y, Legend( 6 ), Label( "Label by Row" ) ) ),
	Elements( Position( 1, 2 ), Histogram( X, Y, Legend( 9 ) ) )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Nov 2023 06:09:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/696412#M88162</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-11-10T06:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/696422#M88163</link>
      <description>&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;It's a pleasure to greet you, of course it would be great if the simulation in JMP could show the certainty of obtaining a value or range, thank you for your response!&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 23:01:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/696422#M88163</guid>
      <dc:creator>Marco1</dc:creator>
      <dc:date>2023-11-09T23:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/696423#M88164</link>
      <description>&lt;P&gt;Hello Hogi,&lt;/P&gt;&lt;P&gt;Nice to greet you, a great idea!! It is the closest thing to the examples I shared... I tried to do it but I couldn't, could you share an example of the process (start - end)?, thank you!&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 23:17:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/696423#M88164</guid>
      <dc:creator>Marco1</dc:creator>
      <dc:date>2023-11-09T23:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/696426#M88165</link>
      <description>&lt;P&gt;Very nice.&amp;nbsp; But I think there is one error and one thing missing.&amp;nbsp; The error I believe is in the Graph Builder section of your script where you list the Variables - I think the :one should be :percent.&amp;nbsp; Then what I am missing is how to get the top display to show the percent in the black rectangle.&amp;nbsp; My attempt shows the percent on the Y axis but doesn't display the number across the top like yours does.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 00:35:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/696426#M88165</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2023-11-10T00:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can JMP show the probability of 1 result or range through a graph?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/696479#M88168</link>
      <description>&lt;P&gt;The JSL code shows the individual steps.&lt;/P&gt;&lt;P&gt;Some steps are just "workarounds" and don't have an apparent&amp;nbsp; "goal"&lt;BR /&gt;(like the Heatmap plot to create a display area for the computed value - or the column "one" to get a single heatmap cell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This video shows how to do it manually:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The histogram works as well without a value on the y axis&lt;BR /&gt;- but you need a value on the y axis to add the second subplot on top. So just use any column you want (it will be ignored).&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;percentage is created as a formula column - and is later used as "row" label for the heatmap plot to shoe the percentage in the plot.&lt;BR /&gt;[I added the label tag already in the beginning - I forgot to add this part in the first version of the JSL code,&amp;nbsp;Thanks&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/1701"&gt;@dale_lehman&lt;/a&gt;&amp;nbsp;for highlighting.]&lt;/LI&gt;&lt;LI&gt;to create the display area for the percentage:&lt;BR /&gt;- use a heatmap graph with just 1 cell:&lt;BR /&gt;- to do so, use a column with constant value (1, or "X") - or disabling the Y variable&lt;BR /&gt;- remove the X subgroups from the heatmap by disabling the X variable&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Then the graph is ready. Just some cosmetics like adjusting the dimensions, bar widths and colors.&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6340849629112w740h540r160" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6340849629112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6340849629112w740h540r160');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6340849629112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 06:31:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-JMP-show-the-probability-of-1-result-or-range-through-a/m-p/696479#M88168</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-11-10T06:31:40Z</dc:date>
    </item>
  </channel>
</rss>

