<?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 Intervals and Statistical Significance in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Confidence-Intervals-and-Statistical-Significance/m-p/437269#M69016</link>
    <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Excellent idea to present&amp;nbsp;the story&amp;nbsp;by visuals. In my real data, I have&amp;nbsp;12 different rates by all 62 counties. Do you think creating chart like below is possible in SAS? Also, if I&amp;nbsp;put&amp;nbsp;all rate1-rate12 &amp;nbsp;in same visual, would plot&amp;nbsp;be still informative? rate1=crude, rate2=adjusted, rate3-rate12 different and reflected on the third variable.&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="ci.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18573iD1E901680827D563/image-size/large?v=v2&amp;amp;px=999" role="button" title="ci.png" alt="ci.png" /&gt;&lt;/span&gt;reference: &lt;A href="https://surveillance.cancer.gov/cirank/query/" target="_blank"&gt;https://surveillance.cancer.gov/cirank/query/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Feb 2018 18:55:49 GMT</pubDate>
    <dc:creator>Cruise</dc:creator>
    <dc:date>2018-02-14T18:55:49Z</dc:date>
    <item>
      <title>Confidence Intervals and Statistical Significance</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Confidence-Intervals-and-Statistical-Significance/m-p/436998#M69012</link>
      <description>&lt;P&gt;How to test in SAS whether CI95 around incidence rate (arate) before adjustment to covariate ( ci95up and ci95low ) is statistically significantly different from CI 95 around incidence rate (arate2) after adjustment (ci95up2 and ci95low2 ). I'll appreciate your help, hints or any suggestions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data rate; 
input counties arate	ci95up	ci95low	arate2	ci95up2	ci95low2;
cards;
1 0.0049248307	0.0051575772	0.0046920842	0.0012312077	0.0011862427	0.0011261002
2 0.0046188674	0.0051729008	0.004064834	0.0011547169	0.0011897672	0.0009755602
3 0.0044704179	0.004586433	0.0043544028	0.0011176045	0.0010548796	0.0010450567
4 0.0050796534	0.0053595804	0.0047997263	0.0012699133	0.0012327035	0.0011519343
5 0.0049783924	0.0054169662	0.0045398187	0.0012445981	0.0012459022	0.0010895565
6 0.0048053275	0.0052370211	0.0043736339	0.0012013319	0.0012045148	0.0010496721
7 0.0055029619	0.0058532686	0.0051526552	0.0013757405	0.0013462518	0.0012366373
8 0.0051496166	0.0055738675	0.0047253657	0.0012874041	0.0012819895	0.0011340878
9 0.0034690852	0.0039164533	0.0030217171	0.0008672713	0.0009007843	0.0007252121
10 0.0038353754	0.0042293908	0.0034413599	0.0009588438	0.0009727599	0.0008259264
;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 06:27:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Confidence-Intervals-and-Statistical-Significance/m-p/436998#M69012</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-02-14T06:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence Intervals and Statistical Significance</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Confidence-Intervals-and-Statistical-Significance/m-p/437067#M69013</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/132289"&gt;@Cruise&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;How to test in SAS whether CI95 around incidence rate (arate) before adjustment to covariate ( ci95up and ci95low ) is statistically significantly different from CI 95 around incidence rate (arate2) after adjustment (ci95up2 and ci95low2 ). I'll appreciate your help, hints or any suggestions.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You can't do a statistical test to compare confidence intervals — there is no such thing. You can do a statistic test to compare arate to arate2, in which case you'd have to specify exactly what you want to compare ... do you want to compare the means, or the variances, or something else.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 12:41:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Confidence-Intervals-and-Statistical-Significance/m-p/437067#M69013</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-02-14T12:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence Intervals and Statistical Significance</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Confidence-Intervals-and-Statistical-Significance/m-p/437077#M69014</link>
      <description>&lt;P&gt;Perhaps you meant "compare" or "visualize" instead of "test"?&amp;nbsp; If so, look at &lt;A href="https://blogs.sas.com/content/iml/2015/08/05/coefficient-plots.html" target="_self"&gt;my article on the Regression Coefficient Plot&lt;/A&gt;, which enables you to compare estimates from different models. For your data, it looks like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* transpose data from wide to long */
data Want;
set Rate(rename=(arate=Estimate ci95low=LowerCL ci95up=UpperCL)
         drop=arate2 ci95up2 ci95low2 in=A)
    Rate(rename=(arate2=Estimate ci95low2=LowerCL ci95up2=UpperCL)
         drop=arate ci95up ci95low);

if A then Type = "Before Adjustment";
else      Type = "After Adjustment ";
run;

proc sgplot data=Want;
   scatter y=Counties x=Estimate / xerrorlower=LowerCL xerrorupper=UpperCL
           markerattrs=(symbol=diamondfilled)
           group=Type groupdisplay=cluster; /* display side-by-side estimates */
   refline 0 / axis=x;
   xaxis grid min=0 ;
   yaxis grid colorbands=odd discreteorder=data type=discrete;
   label Estimate = "Rate";
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPlot30.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18528i3904B24882BA4953/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SGPlot30.png" alt="SGPlot30.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 13:42:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Confidence-Intervals-and-Statistical-Significance/m-p/437077#M69014</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-02-14T13:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence Intervals and Statistical Significance</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Confidence-Intervals-and-Statistical-Significance/m-p/437269#M69016</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Excellent idea to present&amp;nbsp;the story&amp;nbsp;by visuals. In my real data, I have&amp;nbsp;12 different rates by all 62 counties. Do you think creating chart like below is possible in SAS? Also, if I&amp;nbsp;put&amp;nbsp;all rate1-rate12 &amp;nbsp;in same visual, would plot&amp;nbsp;be still informative? rate1=crude, rate2=adjusted, rate3-rate12 different and reflected on the third variable.&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="ci.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18573iD1E901680827D563/image-size/large?v=v2&amp;amp;px=999" role="button" title="ci.png" alt="ci.png" /&gt;&lt;/span&gt;reference: &lt;A href="https://surveillance.cancer.gov/cirank/query/" target="_blank"&gt;https://surveillance.cancer.gov/cirank/query/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 18:55:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Confidence-Intervals-and-Statistical-Significance/m-p/437269#M69016</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-02-14T18:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence Intervals and Statistical Significance</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Confidence-Intervals-and-Statistical-Significance/m-p/437275#M69017</link>
      <description>&lt;P&gt;Sure. Plotting the difference between rates is a standard technique, although I'm not sure how you plan to obtain the CIs. Do you have the standard errors?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For how to create similar graphs in SAS, see the last two graphs in the article &lt;A href="https://blogs.sas.com/content/iml/2016/09/08/coverage-probability-confidence-intervals.html" target="_self"&gt;"Coverage probability of confidence intervals"&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;To get the vertical&amp;nbsp;stripes, use the BLOCK statement, &lt;A href="https://blogs.sas.com/content/iml/2016/11/21/forecast-regions.html" target="_self"&gt;as shown in this blog post.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you run into problems, post to the SAS Graphics Support Community.&amp;nbsp; Good luck!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 19:07:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Confidence-Intervals-and-Statistical-Significance/m-p/437275#M69017</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-02-14T19:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence Intervals and Statistical Significance</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Confidence-Intervals-and-Statistical-Significance/m-p/437283#M69018</link>
      <description>You rock. Thanks a lot.</description>
      <pubDate>Wed, 14 Feb 2018 19:16:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Confidence-Intervals-and-Statistical-Significance/m-p/437283#M69018</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-02-14T19:16:55Z</dc:date>
    </item>
  </channel>
</rss>

