<?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: How to output or calculate Studentized Residuals in Proc NLMIXED? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165513#M8670</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;proc standard will not give you a standardized or studentized residual. Each residual has a unique variance, var(r_i), and you cannot recover this from proc standard (even though I saw a website that says that you can). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jul 2014 13:50:15 GMT</pubDate>
    <dc:creator>lvm</dc:creator>
    <dc:date>2014-07-22T13:50:15Z</dc:date>
    <item>
      <title>How to output or calculate Studentized Residuals in Proc NLMIXED?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165507#M8664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am struggling to output or calculate Studentized Residuals in Proc NLMIXED.&lt;/P&gt;&lt;P&gt;Your help would be appreciated,&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Marcio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 14:35:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165507#M8664</guid>
      <dc:creator>marcioadg</dc:creator>
      <dc:date>2014-07-03T14:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to output or calculate Studentized Residuals in Proc NLMIXED?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165508#M8665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know, and the person who I think does is seldom found around here anymore.&amp;nbsp; However, take a look at Dale McLerran's post:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/message/55521#55521"&gt;https://communities.sas.com/message/55521#55521&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where he calculates individual deviances for a Poisson.&amp;nbsp; I believe you could take the square root of the individual deviance and use it as a denominator in calculating the studentized residual.&amp;nbsp; to me, the key statement is the PREDICT statement with the OUT= option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 17:10:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165508#M8665</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-07-03T17:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to output or calculate Studentized Residuals in Proc NLMIXED?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165509#M8666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Steve, I ended up get this working and here is how.&lt;/P&gt;&lt;P&gt;As always thanks for your input,&lt;/P&gt;&lt;P&gt;Marcio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;predict L + U*(z1) out=ppp;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data ppp; set ppp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; resid=y-pred; &lt;/P&gt;&lt;P&gt;&amp;nbsp; resid_t=resid;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;proc standard data=ppp std =1 out =pred_std;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; var resid_t;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; title;&lt;/P&gt;&lt;P&gt; proc print data=ppp; run;&lt;/P&gt;&lt;P&gt;proc print data=pred_std;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; symbol1 value=dot color=blue i=none;&lt;/P&gt;&lt;P&gt;proc gplot data=pred_std;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; plot resid_t*x resid_t*pred/vref=(0);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 19:03:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165509#M8666</guid>
      <dc:creator>marcioadg</dc:creator>
      <dc:date>2014-07-03T19:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to output or calculate Studentized Residuals in Proc NLMIXED?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165510#M8667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should give yourself a "Correct answer".&amp;nbsp; The use of STANDARD is something I overlook way too often.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 14:40:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165510#M8667</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-07-09T14:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to output or calculate Studentized Residuals in Proc NLMIXED?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165511#M8668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;proc standard would not be giving you the standardized or studentized residual. You need to obtain the estimated standard error for EACH residual, which is not directly given by NLMIXED.The standard procedure is just scaling by the the variation in the raw residuals (not the same thing). I think getting standardized residuals from NLMIXED will require some coding (post-model-fitting) which would depend on the chosen conditional distribution. It would require the "hat" matrix. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 13:48:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165511#M8668</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2014-07-21T13:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to output or calculate Studentized Residuals in Proc NLMIXED?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165512#M8669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;lvm, thanks. This is what I have used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data ppp; set ppp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; resid=y-pred; &lt;/P&gt;&lt;P&gt;&amp;nbsp; resid_t=resid;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;proc standard data=ppp std =1 out =pred_std;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; var resid_t;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 03:34:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165512#M8669</guid>
      <dc:creator>marcioadg</dc:creator>
      <dc:date>2014-07-22T03:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to output or calculate Studentized Residuals in Proc NLMIXED?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165513#M8670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;proc standard will not give you a standardized or studentized residual. Each residual has a unique variance, var(r_i), and you cannot recover this from proc standard (even though I saw a website that says that you can). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 13:50:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165513#M8670</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2014-07-22T13:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to output or calculate Studentized Residuals in Proc NLMIXED?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165514#M8671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I saw the same thing, hence my excitementat using PROC STANDARD.&amp;nbsp; I think an IML solution may be the only way out now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 13:58:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165514#M8671</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-07-22T13:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to output or calculate Studentized Residuals in Proc NLMIXED?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165515#M8672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve, do you have any directions on how I could get that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 23:26:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165515#M8672</guid>
      <dc:creator>marcioadg</dc:creator>
      <dc:date>2014-10-22T23:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to output or calculate Studentized Residuals in Proc NLMIXED?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165516#M8673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search &lt;A __default_attr="129106" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;'s blog: The DO Loop.&amp;nbsp; You are going to need the entire X'VX matrix from NLMIXED, and the Y vector, to calculate the residual, and the variance for that residual.&amp;nbsp; The last step is the only easy one for me--residual/sqrt(var(r_i)).&amp;nbsp; I need to learn how to do more things "long hand".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 11:02:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165516#M8673</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-10-23T11:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to output or calculate Studentized Residuals in Proc NLMIXED?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165517#M8674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve, thanks!!! I was not able to find nothing related to NLMIXED or 'studentized' in his blog, any idea what I should look at?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Marcio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2014 20:53:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165517#M8674</guid>
      <dc:creator>marcioadg</dc:creator>
      <dc:date>2014-10-24T20:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to output or calculate Studentized Residuals in Proc NLMIXED?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165518#M8675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It wouldn't be specific, but more as background on how to use IML to calculate what you need from the various matrixes, following &lt;A __default_attr="178104" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;'s note regarding the individual variances of the residual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it seems to me that a residual is a sum of two non-independent random variables, and the estimate and the Y value are correlated, so the key is getting the covariance between the two to estimate the variance of the residual.&amp;nbsp; Surely someplace on the web has a matrix representation.&amp;nbsp; Then it is just a matter of of following the right examples in the documentation and Rick's blog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 12:00:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-output-or-calculate-Studentized-Residuals-in-Proc-NLMIXED/m-p/165518#M8675</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-10-27T12:00:19Z</dc:date>
    </item>
  </channel>
</rss>

