<?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: 95% confidence intervals in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/95-confidence-intervals/m-p/236420#M46657</link>
    <description>&lt;P&gt;Hi mzwald,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have used the following and has worked a treat&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Column( "Lower 95% CI", Numeric, Continuous, Formula ( Round(:Name ("Mean(l10t)") - (:Name("Std Err(l10t)") * t Quantile (0.975,23)), 4)));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;if i have used the following to create a variable&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt2&amp;lt;&amp;lt; Summary(
	Group( :Sample ),
	Mean( :dilution factor, :l10t ),
	Freq( "None" ),
	Weight( "None" ),
	Output Table( "log10t" ),
	Std Err( :l10t ),
	Link to original data table(0)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and i would like to round the variable Mean(l10t), to four decimal places, can you do that from the above block of syntax???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Mickyboy&lt;/P&gt;</description>
    <pubDate>Tue, 26 Nov 2019 05:29:25 GMT</pubDate>
    <dc:creator>Mickyboy</dc:creator>
    <dc:date>2019-11-26T05:29:25Z</dc:date>
    <item>
      <title>95% confidence intervals</title>
      <link>https://community.jmp.com/t5/Discussions/95-confidence-intervals/m-p/235574#M46490</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;l am trying to get a summary from a data table, l would like the mean of a variable l10t, the standard error, and 95% confidence interval. It all seemed fairly straight forward, but am having trouble with the 95% confidence intervals, have tried different ways to no avail, currently have&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt2&amp;lt;&amp;lt; Summary(
	Group( :Sample ),
	Mean( :dilution factor, :l10t ),
	Freq( "None" ),
	Weight( "None" ),
	Output Table( "log10t" ),
	Std Err( :l10t ),
	Confidence Interval( :l10t, 0.95),
	Link to original data table(0)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;l am obviously doing something incorrectly, can anyone offer some advice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Heaps&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 05:04:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/95-confidence-intervals/m-p/235574#M46490</guid>
      <dc:creator>Mickyboy</dc:creator>
      <dc:date>2019-11-20T05:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: 95% confidence intervals</title>
      <link>https://community.jmp.com/t5/Discussions/95-confidence-intervals/m-p/235590#M46493</link>
      <description>&lt;P&gt;You can accomplish something similar like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
platform = dt &amp;lt;&amp;lt; Oneway(
	Y( :height ),
	X( :sex ),
	Means and Std Dev( 1 ),
	Box Plots( 1 ),
	Mean Diamonds( 1 ),
	Mean Error Bars( 1 ),
	Std Dev Lines( 1 ),
	Connect Means( 1 ),
	Points Jittered( 1 ),
	Grand Mean( 0 )
);
Wait( 0 );
Report( platform )[Outline Box( "Oneway Analysis of height By sex" )][
Outline Box( "Means and Std Deviations" )][Table Box( 1 )] &amp;lt;&amp;lt; Make Into Data Table;
Report( platform ) &amp;lt;&amp;lt; Close Window;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Place your group variable in the X() role.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 06:30:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/95-confidence-intervals/m-p/235590#M46493</guid>
      <dc:creator>Mark_Zwald</dc:creator>
      <dc:date>2019-11-20T06:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: 95% confidence intervals</title>
      <link>https://community.jmp.com/t5/Discussions/95-confidence-intervals/m-p/235848#M46519</link>
      <description>&lt;P&gt;Hi mzwald,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much for your help and your suggestion, i tried this code&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;platform = dt2 &amp;lt;&amp;lt; Oneway(
	Y( :l10t ),
	X( :fold dilution ),
	Means and Std Dev( 1 ),
	Box Plots( 1 ),
	Mean Diamonds( 1 ),
	Mean Error Bars( 1 ),
	Std Dev Lines( 1 ),
	Connect Means( 1 ),
	Points Jittered( 1 ),
	Grand Mean( 0 )
);
Wait( 0 );
Report( platform )[Outline Box( "Oneway Analysis of height By sex" )][
Outline Box( "Means and Std Deviations" )][Table Box( 1 )] &amp;lt;&amp;lt; Make Into Data Table;
Report( platform ) &amp;lt;&amp;lt; Close Window;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and received the following error message&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Cannot subscript Display Box in access or evaluation of 'Report(platform)[Outline Box("Oneway Analysis of height By sex")]' , Report( platform )[/*###*/Outline Box( "Oneway Analysis of height By sex" )]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;however, l am almost there as to what i want to achieve for my data table with this,&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt2&amp;lt;&amp;lt; Summary(
	Group( :Sample ),
	Mean( :dilution factor, :l10t ),
	Freq( "None" ),
	Weight( "None" ),
	Output Table( "log10t" ),
	Std Err( :l10t ),
	Confidence Interval( :Name ("Mean(l10t)")),
	Link to original data table(0)
);

Loq = Data Table( "log10t" );

Loq &amp;lt;&amp;lt; New Column( "Back T'sform Mean", Numeric, Continuous, Formula( Round(10^:Name ("Mean(l10t)"),0)));

Loq &amp;lt;&amp;lt; New Column( "Back T'sform Std error", Numeric, Continuous, Formula(10^:Name ("Std Err(l10t)"), Format( "fixed dec", 6, 0 ) ) );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;giving me this,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Data Table.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/20411iBA2DCCE33FDA71D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Data Table.PNG" alt="Data Table.PNG" /&gt;&lt;/span&gt;&amp;nbsp;so l am almost there, l was hoping the confidence intervals would be a single simple line of code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mickyboy&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 00:51:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/95-confidence-intervals/m-p/235848#M46519</guid>
      <dc:creator>Mickyboy</dc:creator>
      <dc:date>2019-11-21T00:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: 95% confidence intervals</title>
      <link>https://community.jmp.com/t5/Discussions/95-confidence-intervals/m-p/235992#M46561</link>
      <description>&lt;P&gt;Well it looks like Summary doesn't currently support CI's, but you can always make a formula for them yourself.&lt;BR /&gt;The formulas for a 95% confidence interval (assuming a normal distribution) would be:&lt;BR /&gt;Upper95CI = mean + 1.96*stdev&lt;BR /&gt;Lower95CI = mean - 1.96*stdev&lt;BR /&gt;You can generate those two columns from the fields returned by the Summary platform. Those formulas will get you pretty close to what you are looking for.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 19:22:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/95-confidence-intervals/m-p/235992#M46561</guid>
      <dc:creator>Mark_Zwald</dc:creator>
      <dc:date>2019-11-22T19:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: 95% confidence intervals</title>
      <link>https://community.jmp.com/t5/Discussions/95-confidence-intervals/m-p/236420#M46657</link>
      <description>&lt;P&gt;Hi mzwald,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have used the following and has worked a treat&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Column( "Lower 95% CI", Numeric, Continuous, Formula ( Round(:Name ("Mean(l10t)") - (:Name("Std Err(l10t)") * t Quantile (0.975,23)), 4)));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;if i have used the following to create a variable&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt2&amp;lt;&amp;lt; Summary(
	Group( :Sample ),
	Mean( :dilution factor, :l10t ),
	Freq( "None" ),
	Weight( "None" ),
	Output Table( "log10t" ),
	Std Err( :l10t ),
	Link to original data table(0)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and i would like to round the variable Mean(l10t), to four decimal places, can you do that from the above block of syntax???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Mickyboy&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 05:29:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/95-confidence-intervals/m-p/236420#M46657</guid>
      <dc:creator>Mickyboy</dc:creator>
      <dc:date>2019-11-26T05:29:25Z</dc:date>
    </item>
  </channel>
</rss>

