<?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 do I create a shaded confidence interval on a Graph Builder plot? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-create-a-shaded-confidence-interval-on-a-Graph-Builder/m-p/193670#M41409</link>
    <description>&lt;P&gt;NG,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; The standard curves I would like to reference would be formula columns that are independent of the data I am plotting against.&amp;nbsp; So in the background of the graph I would like to show the standard expected value curve as well as the upper and lower confidence limits the standard curve.&amp;nbsp; In front of this I would like to plot the data so that we can see how "is" compares to what "ought to be"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
    <pubDate>Thu, 18 Apr 2019 18:56:40 GMT</pubDate>
    <dc:creator>johnmoore</dc:creator>
    <dc:date>2019-04-18T18:56:40Z</dc:date>
    <item>
      <title>How do I create a shaded confidence interval on a Graph Builder plot?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-a-shaded-confidence-interval-on-a-Graph-Builder/m-p/193638#M41401</link>
      <description>&lt;P&gt;I would like to compare some results to a standard depletion curves.&amp;nbsp; I would like to plot the expected value curve and shade the area between the two confidence interval curves.&amp;nbsp; Does anyone know how I could do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 14:53:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-a-shaded-confidence-interval-on-a-Graph-Builder/m-p/193638#M41401</guid>
      <dc:creator>johnmoore</dc:creator>
      <dc:date>2019-04-18T14:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a shaded confidence interval on a Graph Builder plot?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-a-shaded-confidence-interval-on-a-Graph-Builder/m-p/193657#M41404</link>
      <description>&lt;P&gt;There are two ways.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) On the left, check the box for "Prediction"&lt;/P&gt;&lt;P&gt;2) Right click the plot --&amp;gt; line of fit --&amp;gt; click "Prediction"&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 16:10:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-a-shaded-confidence-interval-on-a-Graph-Builder/m-p/193657#M41404</guid>
      <dc:creator>NG</dc:creator>
      <dc:date>2019-04-18T16:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a shaded confidence interval on a Graph Builder plot?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-a-shaded-confidence-interval-on-a-Graph-Builder/m-p/193670#M41409</link>
      <description>&lt;P&gt;NG,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; The standard curves I would like to reference would be formula columns that are independent of the data I am plotting against.&amp;nbsp; So in the background of the graph I would like to show the standard expected value curve as well as the upper and lower confidence limits the standard curve.&amp;nbsp; In front of this I would like to plot the data so that we can see how "is" compares to what "ought to be"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 18:56:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-a-shaded-confidence-interval-on-a-Graph-Builder/m-p/193670#M41409</guid>
      <dc:creator>johnmoore</dc:creator>
      <dc:date>2019-04-18T18:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a shaded confidence interval on a Graph Builder plot?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-a-shaded-confidence-interval-on-a-Graph-Builder/m-p/193672#M41411</link>
      <description>&lt;P&gt;I'm too busy at the moment to work on a complete solution, but not too busy to 'get the ball rolling.'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the formulae are independent of the data and pre-determined, then it might be possible to add one or more graphics scripts to the frame box in Graph Builder to provide the visual reference that you want. I don't know if the graphics script is run before or after Graph Builder plots its own graphical elements.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 19:21:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-a-shaded-confidence-interval-on-a-Graph-Builder/m-p/193672#M41411</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-04-18T19:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a shaded confidence interval on a Graph Builder plot?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-a-shaded-confidence-interval-on-a-Graph-Builder/m-p/193792#M41447</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5241"&gt;@johnmoore&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358"&gt;@Mark_Bailey&lt;/a&gt;&amp;nbsp;said he was busy, I thought I'd add another option:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;If you have columns for the standard and Prediction of the Mean Curve or the Prediction of the Individual values you can use Graph Builder Area element to build your graphic.&lt;/LI&gt;
&lt;LI&gt;You could also use a column transform to create the temporary columns, this is a little bit messier since the prediction curves require the Std Error formula which is a bit messy in a transform formula. Note the standard formula should limit the prediction range and use the proper degrees of freedom based upon the standard.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;The example and script below are provided as a simple example of GraphBuilder features using option#1&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 655px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/16935i66B4F0143A23358F/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here(1);
//Note the Elements order is important, the last one will be on top, the first in the background

dt = open("c:\temp\BigClass_StandardCI.jmp");

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size( 534, 454 ),
	Show Control Panel( 0 ),
	Variables(
		X( :height ),
		Y( :Standard ),
		Y( :Lower 95% Standard, Position( 1 ) ),
		Y( :Upper 95% Standard, Position( 1 ) ),
		Y( :New Curve, Position( 1 ) ),
		Y( :weight, Position( 1 ) )
	),
	Elements(
		Line( X, Y( 1 ), Legend( 1 ) ),
		Area( X, Y( 2 ), Y( 3 ), Legend( 2 ), Area Style( "Range" ) ),
		Points( X, Y( 5 ), Legend( 3 ) ),
		Line Of Fit( X, Y( 4 ), Legend( 4 ) )
	),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				1,
				Level Name( 0, "Standard", Item ID( "Mean(Standard)", 1 ) ),
				Properties( 0, {Line Width( 3 )}, Item ID( "Mean(Standard)", 1 ) )
			), Legend Model(
				2,
				Properties(
					0,
					{Transparency( 0.4 )},
					Item ID(
						"Mean(Lower 95% Standard)..Mean(Upper 95% Standard)",
						1
					)
				)
			), Legend Model(
				4,
				Properties( 0, {Line Width( 3 )}, Item ID( "New Curve", 1 ) )
			)}
		),
		Dispatch(
			{},
			"Y title",
			TextEditBox,
			{Set Text( "Weight Curve vs Standard" )}
		),
		Dispatch(
			{},
			"400",
			LegendBox,
			{Legend Position( {1, [0], 2, [-1], 3, [2], 4, [1, -3]} ),
			Position( {0, -1, 2, 1, -3} )}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Apr 2019 23:35:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-a-shaded-confidence-interval-on-a-Graph-Builder/m-p/193792#M41447</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2019-04-19T23:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a shaded confidence interval on a Graph Builder plot?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-create-a-shaded-confidence-interval-on-a-Graph-Builder/m-p/193996#M41480</link>
      <description>&lt;P&gt;Georgia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much!&amp;nbsp; That was exactly what I needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 14:19:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-create-a-shaded-confidence-interval-on-a-Graph-Builder/m-p/193996#M41480</guid>
      <dc:creator>johnmoore</dc:creator>
      <dc:date>2019-04-22T14:19:39Z</dc:date>
    </item>
  </channel>
</rss>

