<?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 Compute Cronbach's alpha for dichotomous items in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Compute-Cronbach-s-alpha-for-dichotomous-items/m-p/724895#M35160</link>
    <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a simple problem. I am trying to compute cronbach's alpha for a group of dichotomous items (0/1) -- see code below -- but am getting error message that the first variable name is not valid. There is nothing wrong with the variable name -- when I run a proc freq for it, I have no problem. I wonder if the problem is trying to compute cronbach's alpha for dichotomous items? I know the&amp;nbsp;Kuder-Richardson Formula 20 (KR-20) was developed to assess reliability for dichotomous items, but my understanding was that it is also acceptable to compute cronbach's alpha for dichotomous items. It is my preference to use alpha because it is more familiar to readers. If someone can help me understand the problem I would be grateful!&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;&lt;STRONG&gt;corr&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;data&lt;/SPAN&gt;=si nomiss alpha;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;var&lt;/SPAN&gt; &amp;nbsp;bl_sw_stigma7 bl_sw_stigma8 bl_sw_stigma9 ;&lt;/P&gt;&lt;P class="p3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class="s3"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;ERROR: "&amp;nbsp;BL_SW_STIGMA7" is not a valid name.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Mar 2021 15:48:53 GMT</pubDate>
    <dc:creator>amcr729</dc:creator>
    <dc:date>2021-03-09T15:48:53Z</dc:date>
    <item>
      <title>Compute Cronbach's alpha for dichotomous items</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compute-Cronbach-s-alpha-for-dichotomous-items/m-p/724895#M35160</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a simple problem. I am trying to compute cronbach's alpha for a group of dichotomous items (0/1) -- see code below -- but am getting error message that the first variable name is not valid. There is nothing wrong with the variable name -- when I run a proc freq for it, I have no problem. I wonder if the problem is trying to compute cronbach's alpha for dichotomous items? I know the&amp;nbsp;Kuder-Richardson Formula 20 (KR-20) was developed to assess reliability for dichotomous items, but my understanding was that it is also acceptable to compute cronbach's alpha for dichotomous items. It is my preference to use alpha because it is more familiar to readers. If someone can help me understand the problem I would be grateful!&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;&lt;STRONG&gt;corr&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;data&lt;/SPAN&gt;=si nomiss alpha;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;var&lt;/SPAN&gt; &amp;nbsp;bl_sw_stigma7 bl_sw_stigma8 bl_sw_stigma9 ;&lt;/P&gt;&lt;P class="p3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class="s3"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;ERROR: "&amp;nbsp;BL_SW_STIGMA7" is not a valid name.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 15:48:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compute-Cronbach-s-alpha-for-dichotomous-items/m-p/724895#M35160</guid>
      <dc:creator>amcr729</dc:creator>
      <dc:date>2021-03-09T15:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Compute Cronbach's alpha for dichotomous items</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Compute-Cronbach-s-alpha-for-dichotomous-items/m-p/724914#M35163</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/236736"&gt;@amcr729&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your code as posted runs without problems with dummy data I've just created. The code with the double "blank" after the VAR keyword, the error message and the "blank" it contains after the first quotation mark suggest that in your real code there is an invisible character (e.g., a non-breakable space 'A0'x) between "var" and "bl_sw_stigma7" which the compiler sees as an invalid character in the first variable name (like "var&amp;nbsp;&lt;FONT color="#FF0000"&gt;§&lt;/FONT&gt;bl_sw_stigma7"). So, deleting that character (and possibly other irregular "blank" characters, if any) should solve the problem.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 16:47:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Compute-Cronbach-s-alpha-for-dichotomous-items/m-p/724914#M35163</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-03-09T16:47:25Z</dc:date>
    </item>
  </channel>
</rss>

