<?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: Exponential line with 95% confidence intervals histograms in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Exponential-line-with-95-confidence-intervals-histograms/m-p/833299#M23167</link>
    <description>&lt;P&gt;The exponential distribution assumes a continuous variable. It sounds like you have a discrete variable because the X axis is n=1,2,3,....&amp;nbsp; If so, the exponential model might not be appropriate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The discrete counterpart of the exponential distribution is the geometric distribution. However, the geometric model assumes independent Bernoulli trials, and it is not clear that your data fits that model. Can you post your data?&amp;nbsp; Perhaps this is better treated as a regression problem.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Sep 2022 10:43:50 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2022-09-14T10:43:50Z</dc:date>
    <item>
      <title>Exponential line with 95% confidence intervals histograms</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Exponential-line-with-95-confidence-intervals-histograms/m-p/832939#M23164</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently working with a data set I made. I am trying to make a histogram of the number of medical procedures on the x-axis (patient had 1 removed, 2 removed etc..) and the frequency on the y axis. I would like for an exponential line to be superimposed on the data set along with 95% confidence intervals. With the code I currently have, there is a line superimposed on the histogram but it's not fit very well. Please let me know if you know a way to graph an exponential line with confidence intervals. Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;lib1.akdata;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;set&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;lib0.akdata;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;actinic_keratoses ne&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;15&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;univariate&lt;/STRONG&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;actinic_keratoses;&lt;/P&gt;&lt;P&gt;histogram&lt;SPAN&gt;/&lt;/SPAN&gt;exponential&lt;SPAN&gt;&amp;nbsp;(&lt;/SPAN&gt;THETA&lt;SPAN&gt;=EST);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;*More generally-Does anyone know how to make an exponential frequency (count) function with 95% CIs.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 16:41:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Exponential-line-with-95-confidence-intervals-histograms/m-p/832939#M23164</guid>
      <dc:creator>sas54</dc:creator>
      <dc:date>2022-09-12T16:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Exponential line with 95% confidence intervals histograms</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Exponential-line-with-95-confidence-intervals-histograms/m-p/832951#M23165</link>
      <description>&lt;P&gt;I don't think I have ever seen a density curve with 95% confidence intervals. I'm pretty sure that PROC UNIVARIATE will not produce such confidence intervals.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suppose you could do a &lt;A href="https://blogs.sas.com/content/iml/2018/12/12/essential-guide-bootstrapping-sas.html" target="_self"&gt;bootstrap&lt;/A&gt; or &lt;A href="https://blogs.sas.com/content/iml/2017/06/21/jackknife-estimate-standard-error-sas.html" target="_self"&gt;jackknife&lt;/A&gt; and obtain these confidence intervals somehow, but that is beyond my wage grade — even in that case, I'm not convinced that a jackknife or bootstrap will actually work here. Those will provide estimates of variability for point estimates; I am not aware of whether or not they provide confidence intervals for a density curve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In fact, can you please show me a reference where someone has computed confidence intervals for density curves?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 18:08:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Exponential-line-with-95-confidence-intervals-histograms/m-p/832951#M23165</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-09-12T18:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Exponential line with 95% confidence intervals histograms</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Exponential-line-with-95-confidence-intervals-histograms/m-p/833299#M23167</link>
      <description>&lt;P&gt;The exponential distribution assumes a continuous variable. It sounds like you have a discrete variable because the X axis is n=1,2,3,....&amp;nbsp; If so, the exponential model might not be appropriate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The discrete counterpart of the exponential distribution is the geometric distribution. However, the geometric model assumes independent Bernoulli trials, and it is not clear that your data fits that model. Can you post your data?&amp;nbsp; Perhaps this is better treated as a regression problem.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 10:43:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Exponential-line-with-95-confidence-intervals-histograms/m-p/833299#M23167</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2022-09-14T10:43:50Z</dc:date>
    </item>
  </channel>
</rss>

