<?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: Correlation Coefficient Calculation in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Correlation-Coefficient-Calculation/m-p/633896#M83197</link>
    <description>&lt;P&gt;Hello, &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/47998"&gt;@TriangleDJT&lt;/a&gt;&amp;nbsp;and welcome. That formula is correct...but it is only correct for the coded factors (with mean=0).&amp;nbsp; In general, the formula is Cov[X,Y]/(SD[X]*SD[Y]). Lot's of stuff out there, but this shows example calculations.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.mygreatlearning.com/blog/covariance-vs-correlation/" target="_blank" rel="noopener"&gt;https://www.mygreatlearning.com/blog/covariance-vs-correlation/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2023 09:19:16 GMT</pubDate>
    <dc:creator>MRB3855</dc:creator>
    <dc:date>2023-05-22T09:19:16Z</dc:date>
    <item>
      <title>Correlation Coefficient Calculation</title>
      <link>https://community.jmp.com/t5/Discussions/Correlation-Coefficient-Calculation/m-p/633733#M83193</link>
      <description>&lt;P&gt;I'm trying to determine the correct way to caclulate the correlation value given in the table of correlations for a given DOE design (this is found in the color map when generating a DOE design). JMP support specialists have shared this formula with me, but I'm not sure it is matching. I'm attaching the small JMP file I'm examining as an example.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TriangleDJT_0-1684687316228.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52935i0A45FFDF098F48DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TriangleDJT_0-1684687316228.png" alt="TriangleDJT_0-1684687316228.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 00:01:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Correlation-Coefficient-Calculation/m-p/633733#M83193</guid>
      <dc:creator>TriangleDJT</dc:creator>
      <dc:date>2023-06-11T00:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Coefficient Calculation</title>
      <link>https://community.jmp.com/t5/Discussions/Correlation-Coefficient-Calculation/m-p/633896#M83197</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/47998"&gt;@TriangleDJT&lt;/a&gt;&amp;nbsp;and welcome. That formula is correct...but it is only correct for the coded factors (with mean=0).&amp;nbsp; In general, the formula is Cov[X,Y]/(SD[X]*SD[Y]). Lot's of stuff out there, but this shows example calculations.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.mygreatlearning.com/blog/covariance-vs-correlation/" target="_blank" rel="noopener"&gt;https://www.mygreatlearning.com/blog/covariance-vs-correlation/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 09:19:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Correlation-Coefficient-Calculation/m-p/633896#M83197</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2023-05-22T09:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Coefficient Calculation</title>
      <link>https://community.jmp.com/t5/Discussions/Correlation-Coefficient-Calculation/m-p/634023#M83201</link>
      <description>&lt;P&gt;Unfortunately,&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/7073"&gt;@MRB3855&lt;/a&gt;&amp;nbsp;, the link that you provide does not perform the calculations correctly and does not use the proper covariance formula.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The covariance formula is typically divided by n-1 rather than just n. The calculations are also incorrect as the last observation for (Y-Y bar) should be a -12, and the author just uses 12.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the simple four observation example in the article, the correct correlation is 1. The covariance should be 26.67.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 13:53:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Correlation-Coefficient-Calculation/m-p/634023#M83201</guid>
      <dc:creator>Dan_Obermiller</dc:creator>
      <dc:date>2023-05-22T13:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Coefficient Calculation</title>
      <link>https://community.jmp.com/t5/Discussions/Correlation-Coefficient-Calculation/m-p/634041#M83205</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/3194"&gt;@Dan_Obermiller&lt;/a&gt;&amp;nbsp; thanks; I was trying to be helpful and didn't properly assess the source &amp;lt;sigh&amp;gt;. What could go wrong with a simple correlation calculation?!&amp;nbsp; &amp;nbsp;Thanks again for the heads up, and hopefully&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/47998"&gt;@TriangleDJT&lt;/a&gt;&amp;nbsp; can still see what is going on.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 14:15:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Correlation-Coefficient-Calculation/m-p/634041#M83205</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2023-05-22T14:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Coefficient Calculation</title>
      <link>https://community.jmp.com/t5/Discussions/Correlation-Coefficient-Calculation/m-p/634057#M83207</link>
      <description>&lt;P&gt;Remember that the correlations reported in the DOE platform are for the estimates of the model parameters (i.e., based on the model matrix used in the regression analysis), not for the data (i.e., the design matrix or runs).&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 14:54:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Correlation-Coefficient-Calculation/m-p/634057#M83207</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2023-05-22T14:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Coefficient Calculation</title>
      <link>https://community.jmp.com/t5/Discussions/Correlation-Coefficient-Calculation/m-p/643947#M84083</link>
      <description>&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;these responses were kind, thank you.&lt;/P&gt;&lt;P&gt;The correct formula is the following, as shared by a SAS trainer.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TriangleDJT_0-1687227690519.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/53965i904F62FD2371BBF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TriangleDJT_0-1687227690519.png" alt="TriangleDJT_0-1687227690519.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/3194"&gt;@Dan_Obermiller&lt;/a&gt;&amp;nbsp;Indeed we use N-1, but the proper formula is in the image that hopefully you can see.&lt;/P&gt;&lt;P&gt;I'm attaching a JMP file to illustrate.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 02:24:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Correlation-Coefficient-Calculation/m-p/643947#M84083</guid>
      <dc:creator>TriangleDJT</dc:creator>
      <dc:date>2023-06-20T02:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Coefficient Calculation</title>
      <link>https://community.jmp.com/t5/Discussions/Correlation-Coefficient-Calculation/m-p/643948#M84084</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358"&gt;@Mark_Bailey&lt;/a&gt;&amp;nbsp;How are the model estimates calculated? Would you be able to please share a small example file that has the formula embedded so I can view it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to understand how the estimates are calculated and then see these estimates again alongside a script with the formula.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 02:27:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Correlation-Coefficient-Calculation/m-p/643948#M84084</guid>
      <dc:creator>TriangleDJT</dc:creator>
      <dc:date>2023-06-20T02:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Coefficient Calculation</title>
      <link>https://community.jmp.com/t5/Discussions/Correlation-Coefficient-Calculation/m-p/644234#M84101</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/47998"&gt;@TriangleDJT&lt;/a&gt;&amp;nbsp;, I am glad that you have your answer. I am sorry that I never went as far as to get the formula to you. I just knew the first one presented to you was not correct.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 15:58:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Correlation-Coefficient-Calculation/m-p/644234#M84101</guid>
      <dc:creator>Dan_Obermiller</dc:creator>
      <dc:date>2023-06-20T15:58:31Z</dc:date>
    </item>
  </channel>
</rss>

