<?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: Nomiss Option in Proc CORR to Calculate Cronbach's Alpha in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Nomiss-Option-in-Proc-CORR-to-Calculate-Cronbach-s-Alpha/m-p/121184#M33404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you're variance of (X1+X2) formula is incorrect, I get 0.875 but I suppose that depends on how you deal with the missing value, because you'd need that to calculate the Cov(XY).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Var[X + Y] = Var&lt;X&gt; + Var&lt;Y&gt; - 2Cov[X,Y], where Cov[X,Y] = E[XY]-E&lt;X&gt;E&lt;Y&gt;&lt;/Y&gt;&lt;/X&gt;&lt;/Y&gt;&lt;/X&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2013 19:32:25 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2013-10-23T19:32:25Z</dc:date>
    <item>
      <title>Nomiss Option in Proc CORR to Calculate Cronbach's Alpha</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Nomiss-Option-in-Proc-CORR-to-Calculate-Cronbach-s-Alpha/m-p/121183#M33403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking help to solve the mystery in calculating cronbach's alpha WITHOUT "Nomiss" options in proc corr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my sample data:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image" src="https://communities.sas.com/legacyfs/online/4429_Capture.JPG" /&gt;&lt;/P&gt;&lt;P&gt;and here is my code: &lt;/P&gt;&lt;P&gt;Proc Corr Data = test Alpha Out = temp1;&lt;/P&gt;&lt;P&gt;Run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I got this result:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.JPG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/4431_Capture2.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;I have one missing value on X2.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;I didn't use the "Nomiss" option and get a raw alpha of 0.61538.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if calculate the alpha manually based on the formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alpha = K/(K - 1) * (1 - (Variance_X1 + Variance_X2) / Variance_(X1+X2)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since Variance_X1 = ((1-2)^2 + (2-2)^2 + (3-2)^2) / (3-1) = 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Variance_X2 = ((1-1.25)^2 + (1.5-1.25)^2) / (2-1) = 0.125,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Variance_(X1+X2) =&amp;nbsp; ((2-2.83)^2 + (3.5-2.83)^2 + (3-2.83)^2) / (3-1) = 1.125,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and with K = 2,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;I get alpha = (2/(2-1)) * (1 - (1+0.125)/1.125) = 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how SAS calculate the alpha in this example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 19:23:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Nomiss-Option-in-Proc-CORR-to-Calculate-Cronbach-s-Alpha/m-p/121183#M33403</guid>
      <dc:creator>Siriustar</dc:creator>
      <dc:date>2013-10-23T19:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Nomiss Option in Proc CORR to Calculate Cronbach's Alpha</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Nomiss-Option-in-Proc-CORR-to-Calculate-Cronbach-s-Alpha/m-p/121184#M33404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you're variance of (X1+X2) formula is incorrect, I get 0.875 but I suppose that depends on how you deal with the missing value, because you'd need that to calculate the Cov(XY).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Var[X + Y] = Var&lt;X&gt; + Var&lt;Y&gt; - 2Cov[X,Y], where Cov[X,Y] = E[XY]-E&lt;X&gt;E&lt;Y&gt;&lt;/Y&gt;&lt;/X&gt;&lt;/Y&gt;&lt;/X&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 19:32:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Nomiss-Option-in-Proc-CORR-to-Calculate-Cronbach-s-Alpha/m-p/121184#M33404</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-10-23T19:32:25Z</dc:date>
    </item>
  </channel>
</rss>

