<?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: Formula behind externally Studentized Residuals in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Formula-behind-externally-Studentized-Residuals/m-p/601888#M80528</link>
    <description>&lt;P&gt;Looks like JMP uses the formula here, which is slightly different than yours, and for smaller sample sizes can be markedly different.&lt;/P&gt;&lt;P&gt;&lt;A href="https://online.stat.psu.edu/stat462/node/247/" target="_blank"&gt;https://online.stat.psu.edu/stat462/node/247/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MRB3855_0-1676542435076.png" style="width: 609px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/50225i13836474B99AE724/image-dimensions/609x99?v=v2" width="609" height="99" role="button" title="MRB3855_0-1676542435076.png" alt="MRB3855_0-1676542435076.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2023 10:17:37 GMT</pubDate>
    <dc:creator>MRB3855</dc:creator>
    <dc:date>2023-02-16T10:17:37Z</dc:date>
    <item>
      <title>Formula behind externally Studentized Residuals</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-behind-externally-Studentized-Residuals/m-p/601870#M80525</link>
      <description>&lt;P&gt;I am trying to calculate the externally studentized residuals (jackknife residuals if you like) manually i.e. replicate the results that is already available from the "Save Columns" menu in the "Fit Least Sqaures" platform.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMP_Save_Ext_Stud_Res.jpg" style="width: 494px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/50219iBF5D8F95D52C1DB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMP_Save_Ext_Stud_Res.jpg" alt="JMP_Save_Ext_Stud_Res.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The documentation for JMP 17 doesn't list which formula is used behind the scenes, but the assumption is that it would follow literature, such as&amp;nbsp;&lt;A href="https://www.biostat.jhsph.edu/~iruczins/teaching/jf/ch7.pdf" target="_blank"&gt;ch7.pdf (jhsph.edu)&lt;/A&gt;&amp;nbsp;(also see attached screenshot from chapter to get context). The online documentation (&lt;A href="https://www.jmp.com/support/help/en/17.0/#page/jmp/row-diagnostics.shtml#ww694286" target="_blank"&gt;https://www.jmp.com/support/help/en/17.0/#page/jmp/row-diagnostics.shtml#ww694286)&lt;/A&gt;&amp;nbsp;wrongly states that one can only save the Studentized residuals, not the externally Studentized - this could need revision.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jackknife_res_2.jpg" style="width: 728px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/50222iBEA17809E9CBD940/image-size/large?v=v2&amp;amp;px=999" role="button" title="Jackknife_res_2.jpg" alt="Jackknife_res_2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have been trying the "easy" way from above, but I cannot arrive at the exact same result as JMP - depending on the dataset I can get within 4-5 decimal accuracy, but on others result differ already on the first digit, which worries me. Can someone elaborate on how JMP calculates the externally Studentized residuals? I have put together a simple dataset and added a regression model that can be used to extract residuals (no fixed factors i.e. p=0). The above formula requires the extraction of HATS as well, so these are also saved as a column (I can calculate these manually though). As the file shows everything matches fine when calculating residuals and internally Studentized residuals, but I cannot get the externally Studentized residuals to match :(&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Calc_Ext_Stud_Res.jpg" style="width: 779px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/50223i42D59D21F00B8331/image-size/large?v=v2&amp;amp;px=999" role="button" title="Calc_Ext_Stud_Res.jpg" alt="Calc_Ext_Stud_Res.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Formulas in columns:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Calc_Ext_Stud_Res_2.jpg" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/50224iC754BDF64E60AF6B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Calc_Ext_Stud_Res_2.jpg" alt="Calc_Ext_Stud_Res_2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A side note: Could it be considered to allow JMP to save the limits for the Studentized residuals as well? These I can calculate manually, but it is a hassle to keep track of factors and degrees of freedom manually. I would be great to be able to save these limits as a column.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 16:35:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-behind-externally-Studentized-Residuals/m-p/601870#M80525</guid>
      <dc:creator>TorbenRasmussen</dc:creator>
      <dc:date>2023-06-08T16:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Formula behind externally Studentized Residuals</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-behind-externally-Studentized-Residuals/m-p/601888#M80528</link>
      <description>&lt;P&gt;Looks like JMP uses the formula here, which is slightly different than yours, and for smaller sample sizes can be markedly different.&lt;/P&gt;&lt;P&gt;&lt;A href="https://online.stat.psu.edu/stat462/node/247/" target="_blank"&gt;https://online.stat.psu.edu/stat462/node/247/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MRB3855_0-1676542435076.png" style="width: 609px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/50225i13836474B99AE724/image-dimensions/609x99?v=v2" width="609" height="99" role="button" title="MRB3855_0-1676542435076.png" alt="MRB3855_0-1676542435076.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 10:17:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-behind-externally-Studentized-Residuals/m-p/601888#M80528</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2023-02-16T10:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Formula behind externally Studentized Residuals</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-behind-externally-Studentized-Residuals/m-p/601891#M80529</link>
      <description>&lt;P&gt;While posting the above, several of my colleagues argued back and forth and a suggestion was made to consider n the jackknifed count and not the total row count so n was in fact n-1. A bit embarrassing this solves the problem altogether as the numerator in the last formula then becomes N Row()-2 and the denominator becomes N Row()-1-Stud.Res.Calc^2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of deleting this post I will let it remain for others who might need to calculate these residuals manually.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: I see this confirms the above reply, which I gratefully accept as the solution. Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 10:31:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-behind-externally-Studentized-Residuals/m-p/601891#M80529</guid>
      <dc:creator>TorbenRasmussen</dc:creator>
      <dc:date>2023-02-16T10:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Formula behind externally Studentized Residuals</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-behind-externally-Studentized-Residuals/m-p/601899#M80531</link>
      <description>&lt;P&gt;Glad to help...I noticed further, that the formulas are actually the same. In yours, p = number of &lt;EM&gt;parameters&lt;/EM&gt; (p=1 since you are estimating the intercept). In the reference I provided, k=0 since k is the number of &lt;EM&gt;predictors&lt;/EM&gt;. So, if you substitute&amp;nbsp; p=k+1 in your reference the result is the same as my reference.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 11:01:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-behind-externally-Studentized-Residuals/m-p/601899#M80531</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2023-02-16T11:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Formula behind externally Studentized Residuals</title>
      <link>https://community.jmp.com/t5/Discussions/Formula-behind-externally-Studentized-Residuals/m-p/601904#M80532</link>
      <description>&lt;P&gt;Exactly. I could probably have saved myself the trouble of writing a post, if I had created my formula with p included as a table variable, as I would most likely have hit p=1 by accident when testing the formula. Usually, I would not count the intercept as a predictor but that one is on me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 11:28:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Formula-behind-externally-Studentized-Residuals/m-p/601904#M80532</guid>
      <dc:creator>TorbenRasmussen</dc:creator>
      <dc:date>2023-02-16T11:28:18Z</dc:date>
    </item>
  </channel>
</rss>

