<?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: Fitting NHPP-Lack of fitting statistics in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-NHPP-Lack-of-fitting-statistics/m-p/286466#M15168</link>
    <description>&lt;P&gt;This is kind of a kludgy way around it, and I am not sure that it will work. &amp;nbsp;If you use the parameter estimates to calculate predicted values at each time point, you could get the residuals, and from there calculate PRESS values as a way of comparing. &amp;nbsp;Another would be to look at Kolmogorov-Smirnov tests comparing the observed and predicted values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jul 2016 19:34:01 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2016-07-22T19:34:01Z</dc:date>
    <item>
      <title>Fitting NHPP-Lack of fitting statistics</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-NHPP-Lack-of-fitting-statistics/m-p/286425#M15165</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote the following code to fit a NHPP on my data. &lt;SPAN&gt;The problem is while it gives me the parameters and their relative errors, it does not provide a fitting error, like Anderson Darling. I want to see how far my fitted model is from the general data (e.g. mean square error). I want to know which model, power-law or log-linear, provides a better fit. I need your help, ASAP. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;code: &lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;proc reliability data=app1;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;title 'Apple-Dataset'; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unitid id; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; distribution nhpp(pow); &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model &amp;nbsp; time*day(-1); &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mcfplot time*day(-1) / fit=model noconf; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;run;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yazdan&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12770iC26CA6D6CB09F14C/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="nhpp.png" title="nhpp.png" /&gt;</description>
      <pubDate>Fri, 22 Jul 2016 16:05:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fitting-NHPP-Lack-of-fitting-statistics/m-p/286425#M15165</guid>
      <dc:creator>Yazdan</dc:creator>
      <dc:date>2016-07-22T16:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Fitting NHPP-Lack of fitting statistics</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-NHPP-Lack-of-fitting-statistics/m-p/286466#M15168</link>
      <description>&lt;P&gt;This is kind of a kludgy way around it, and I am not sure that it will work. &amp;nbsp;If you use the parameter estimates to calculate predicted values at each time point, you could get the residuals, and from there calculate PRESS values as a way of comparing. &amp;nbsp;Another would be to look at Kolmogorov-Smirnov tests comparing the observed and predicted values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 19:34:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fitting-NHPP-Lack-of-fitting-statistics/m-p/286466#M15168</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2016-07-22T19:34:01Z</dc:date>
    </item>
  </channel>
</rss>

