<?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: proc corr in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/proc-corr/m-p/677620#M32550</link>
    <description>&lt;P&gt;Show your entire proc corr code.&lt;/P&gt;
&lt;P&gt;If you are interested in specific variables you may need/want fewer variables on a VAR and/or WITH statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the documentation NOMISS&lt;/P&gt;
&lt;DIV class="xis-refProc"&gt;
&lt;DIV id="procstat.corr.corrproc" class="aa-section"&gt;
&lt;DIV id="procstat.corr.corroptions"&gt;
&lt;DIV class="-contents"&gt;
&lt;TABLE class="aa-tabular"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="text-align: left;"&gt;
&lt;P&gt;Excludes observations with missing analysis values from the analysis&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;So you have told the procedure to use records that have, without more code shown, to use all numeric variables but only if none of them have missing values. Since the error message says every record has at least one missing variable all the records are excluded.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are interested in just some variables the use a VAR statement to list them. The WITH statement would do correlations between the varaibles on a VAR statement and those on a WITH statement only.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Aug 2020 19:51:36 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-08-18T19:51:36Z</dc:date>
    <item>
      <title>proc corr</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-corr/m-p/677572#M32547</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using proc corr with the nomiss option to calculate Cronbach's alpha:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc corr data = &lt;I&gt;datasetname&amp;nbsp;&lt;/I&gt;nomiss alpha;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: The NOMISS option is specified, but all variables have at least one missing value&lt;BR /&gt;for all observations in the input data set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to this statistic so I'm not sure how to resolve this issue. Any information would be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you, Matt&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 17:45:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-corr/m-p/677572#M32547</guid>
      <dc:creator>mt88</dc:creator>
      <dc:date>2020-08-18T17:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: proc corr</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-corr/m-p/677576#M32548</link>
      <description>&lt;P&gt;You might start by printing the data set. Is this really the kind of data set that you want to use with nomiss? Obviously not, but look at the data and convince yourself. Then either don't specify the option or get a different data set that is more complete or use fewer variables.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 17:57:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-corr/m-p/677576#M32548</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2020-08-18T17:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: proc corr</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-corr/m-p/677577#M32549</link>
      <description>&lt;P&gt;First, it would be good to see the actual code that produced this error message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But in short, let's say you have 10 variables.&amp;nbsp; The NOMISS options tells SAS to throw away any observations in which at least one of those variables is missing.&amp;nbsp;&amp;nbsp; So, theoretically if each of the 10 variables was missing only(!!) 10% of the time, it's possible that each observation would have a single missing value, and would therefore be discarded,&amp;nbsp; leaving no observations to submit to the proc corr.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 17:59:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-corr/m-p/677577#M32549</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2020-08-18T17:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: proc corr</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-corr/m-p/677620#M32550</link>
      <description>&lt;P&gt;Show your entire proc corr code.&lt;/P&gt;
&lt;P&gt;If you are interested in specific variables you may need/want fewer variables on a VAR and/or WITH statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the documentation NOMISS&lt;/P&gt;
&lt;DIV class="xis-refProc"&gt;
&lt;DIV id="procstat.corr.corrproc" class="aa-section"&gt;
&lt;DIV id="procstat.corr.corroptions"&gt;
&lt;DIV class="-contents"&gt;
&lt;TABLE class="aa-tabular"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="text-align: left;"&gt;
&lt;P&gt;Excludes observations with missing analysis values from the analysis&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;So you have told the procedure to use records that have, without more code shown, to use all numeric variables but only if none of them have missing values. Since the error message says every record has at least one missing variable all the records are excluded.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are interested in just some variables the use a VAR statement to list them. The WITH statement would do correlations between the varaibles on a VAR statement and those on a WITH statement only.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 19:51:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-corr/m-p/677620#M32550</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-08-18T19:51:36Z</dc:date>
    </item>
  </channel>
</rss>

