<?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: Confidence interval for the Geometric mean from Distribution platform in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Confidence-interval-for-the-Geometric-mean-from-Distribution/m-p/589187#M79414</link>
    <description>&lt;P&gt;Another way, without JSL but making the same assumptions of a Log-Normal distribution; using the distribution platform, analyze the natural log of the data. The mean and confidence bounds acquired can then be back-transformed via Exp. The resulting interval is a confidence interval on the GM.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 09:57:30 GMT</pubDate>
    <dc:creator>MRB3855</dc:creator>
    <dc:date>2023-01-12T09:57:30Z</dc:date>
    <item>
      <title>Confidence interval for the Geometric mean from Distribution platform</title>
      <link>https://community.jmp.com/t5/Discussions/Confidence-interval-for-the-Geometric-mean-from-Distribution/m-p/588931#M79387</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is there any shortcut to get the&amp;nbsp;Confidence interval for the Geometric mean from the distribution platform?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 16:43:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Confidence-interval-for-the-Geometric-mean-from-Distribution/m-p/588931#M79387</guid>
      <dc:creator>RicardoCosta</dc:creator>
      <dc:date>2023-06-08T16:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence interval for the Geometric mean from Distribution platform</title>
      <link>https://community.jmp.com/t5/Discussions/Confidence-interval-for-the-Geometric-mean-from-Distribution/m-p/588968#M79388</link>
      <description>&lt;P&gt;That result is unavailable from the Distribution platform or any other place in JMP. The computation may be scripted using the guidance in this &lt;A href="https://blogs.sas.com/content/iml/2019/10/02/geometric-mean-deviation-cv-sas.html" target="_self"&gt;DO Loop blog post&lt;/A&gt;. SAS/IML is similar to JMP JSL, so the conversion is not too bad.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 17:46:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Confidence-interval-for-the-Geometric-mean-from-Distribution/m-p/588968#M79388</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2023-01-11T17:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence interval for the Geometric mean from Distribution platform</title>
      <link>https://community.jmp.com/t5/Discussions/Confidence-interval-for-the-Geometric-mean-from-Distribution/m-p/589165#M79412</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Mark,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much for the quick feedback.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 08:42:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Confidence-interval-for-the-Geometric-mean-from-Distribution/m-p/589165#M79412</guid>
      <dc:creator>RicardoCosta</dc:creator>
      <dc:date>2023-01-12T08:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence interval for the Geometric mean from Distribution platform</title>
      <link>https://community.jmp.com/t5/Discussions/Confidence-interval-for-the-Geometric-mean-from-Distribution/m-p/589187#M79414</link>
      <description>&lt;P&gt;Another way, without JSL but making the same assumptions of a Log-Normal distribution; using the distribution platform, analyze the natural log of the data. The mean and confidence bounds acquired can then be back-transformed via Exp. The resulting interval is a confidence interval on the GM.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 09:57:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Confidence-interval-for-the-Geometric-mean-from-Distribution/m-p/589187#M79414</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2023-01-12T09:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence interval for the Geometric mean from Distribution platform</title>
      <link>https://community.jmp.com/t5/Discussions/Confidence-interval-for-the-Geometric-mean-from-Distribution/m-p/589191#M79416</link>
      <description>&lt;P&gt;I didn't compare details with the guidance that&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358"&gt;@Mark_Bailey&lt;/a&gt;&amp;nbsp;quotes, but you can try the bootstrap too (either interactively or via JSL). For example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;NamesDefaultToHere(1);

// Get some data
dt = Open("$SAMPLE_DATA/Big Class.jmp");

// Use Distribution
dist = dt &amp;lt;&amp;lt; Distribution(
					Continuous Distribution(
						Column( :height ),
						Quantiles( 0 ),
						Vertical( 0 ),
						Outlier Box Plot( 0 ),
						Customize Summary Statistics(
							Mean( 0 ),
							Std Dev( 0 ),
							Std Err Mean( 0 ),
							Upper Mean Confidence Interval( 0 ),
							Lower Mean Confidence Interval( 0 ),
							N( 0 ),
							N Missing( 0 ),
							Geometric Mean( 1 )
						)
					)
				);

// Bootstrp the statistic in question (note 'dt2' is a list)
dt2 = Report(dist)[TableBox(1)] &amp;lt;&amp;lt; Bootstrap(1000);

// Inspect the bootstrp distribution
dist2 = dt2[2] &amp;lt;&amp;lt; runScript("Distribution");

// Get the confidence interval for the statistic by inspection or further JSL . . .&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 12 Jan 2023 10:52:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Confidence-interval-for-the-Geometric-mean-from-Distribution/m-p/589191#M79416</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2023-01-12T10:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence interval for the Geometric mean from Distribution platform</title>
      <link>https://community.jmp.com/t5/Discussions/Confidence-interval-for-the-Geometric-mean-from-Distribution/m-p/589205#M79418</link>
      <description>&lt;P&gt;And if you just care about the interval, you could get it using this kind of approach, which is much quicker since you don't have the overhead of all the platform launches that the generality of Bootstrap requires:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;NamesDefaultToHere(1);

// Get some data
dt = Open("$SAMPLE_DATA/Big Class.jmp");

n = NRow(dt);

dataVec = dt[0, "height"];	// Get the requisite data as a vector
nb = 100000;				// Number of bootstrsp samples
gms = J(nb, 1, .);			// Vector to hold the geometric mean of each bootstrap sample

for(s=1, s&amp;lt;=nb, s++,									// Loop over bootstrap samples
	pickMe = J(n, 1, RandomInteger(1, n));				// Indices of elements to compose this bootstrap sample
	bootstrapSampleVec = dataVec[pickMe];				// Values in this bootstrap sample
	gm = exp(Mean(ln(bootstrapSampleVec)));				// Geometric mean of this bootstrap sample
	gms[s] = gm;
);
gm95 = Quantile(0.95, gms);
gm05 = Quantile(0.05, gms);

Print("The Geometric Mean lies betweeen "||Char(Round(gm05, 3))||" and "||Char(Round(gm95, 3))||".");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Probably this code could be parallelised to make it even quicker, but with the loss of some readability.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 13:42:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Confidence-interval-for-the-Geometric-mean-from-Distribution/m-p/589205#M79418</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2023-01-12T13:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence interval for the Geometric mean from Distribution platform</title>
      <link>https://community.jmp.com/t5/Discussions/Confidence-interval-for-the-Geometric-mean-from-Distribution/m-p/589208#M79419</link>
      <description>&lt;P&gt;Hello Ian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's perfect. Thanks a lot for the suggestion.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 13:48:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Confidence-interval-for-the-Geometric-mean-from-Distribution/m-p/589208#M79419</guid>
      <dc:creator>RicardoCosta</dc:creator>
      <dc:date>2023-01-12T13:48:28Z</dc:date>
    </item>
  </channel>
</rss>

