<?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: error in Log using the collinearity in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/error-in-Log-using-the-collinearity/m-p/63186#M2991</link>
    <description>If you review the SAS-generated log and the input record dump, it may be revealing...mostly because your INFILE statement is pointing (I believe) to your SAS program and not your input data.  I have to wonder just how much time you are willing to invest to learn the SAS system and its programming facilities?&lt;BR /&gt;
&lt;BR /&gt;
Suggest you start with analyzing your SAS DATA step and get your input data properly read up into a SAS file - then begin to consider using PROCs to analyze the data.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Tue, 02 Mar 2010 12:21:20 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2010-03-02T12:21:20Z</dc:date>
    <item>
      <title>error in Log using the collinearity</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/error-in-Log-using-the-collinearity/m-p/63181#M2986</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I'm gettina errror in log .I used the code -&lt;BR /&gt;
&lt;BR /&gt;
libname sc 'c:\Sas\sales';&lt;BR /&gt;
data test;&lt;BR /&gt;
	proc reg;&lt;BR /&gt;
	model Score = Processor Memory Disk Video Battery/ collin;&lt;BR /&gt;
proc print data = test;&lt;BR /&gt;
Run;&lt;BR /&gt;
&lt;BR /&gt;
log - &lt;BR /&gt;
&lt;BR /&gt;
ERROR: Variable SCORE not found.&lt;BR /&gt;
ERROR: Variable PROCESSOR not found.&lt;BR /&gt;
ERROR: Variable MEMORY not found.&lt;BR /&gt;
ERROR: Variable DISK not found.&lt;BR /&gt;
ERROR: Variable VIDEO not found.&lt;BR /&gt;
ERROR: Variable BATTERY not found.&lt;BR /&gt;
NOTE: The previous statement has been deleted.&lt;BR /&gt;
&lt;BR /&gt;
WARNING: No variables specified for an SSCP matrix. Execution terminating.&lt;BR /&gt;
NOTE: PROCEDURE REG used (Total process time):&lt;BR /&gt;
      real time           0.04 seconds&lt;BR /&gt;
      cpu time            0.04 seconds&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
708  proc print data = test;&lt;BR /&gt;
709  Run;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: No variables in data set WORK.TEST.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Kind  regards ,&lt;BR /&gt;
markc</description>
      <pubDate>Mon, 01 Mar 2010 16:47:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/error-in-Log-using-the-collinearity/m-p/63181#M2986</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-01T16:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: error in Log using the collinearity</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/error-in-Log-using-the-collinearity/m-p/63182#M2987</link>
      <description>You are missing something in your data step</description>
      <pubDate>Mon, 01 Mar 2010 16:54:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/error-in-Log-using-the-collinearity/m-p/63182#M2987</guid>
      <dc:creator>RickM</dc:creator>
      <dc:date>2010-03-01T16:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: error in Log using the collinearity</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/error-in-Log-using-the-collinearity/m-p/63183#M2988</link>
      <description>Hello ,&lt;BR /&gt;
&lt;BR /&gt;
please help me . I'm getting an error in the code :-&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data sales;&lt;BR /&gt;
infile 'c:\Sas\sales.sas7bdat';&lt;BR /&gt;
input Score Ghz Price Processor Memory Disk Video Battery;&lt;BR /&gt;
proc reg simple corr;&lt;BR /&gt;
  model Score = Ghz Price Processor Memory Disk Video Battery / stb tol vif collin;&lt;BR /&gt;
proc print data = sales;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Error-&lt;BR /&gt;
&lt;BR /&gt;
NOTE: Invalid data for Score in line 1 1-87.&lt;BR /&gt;
NOTE: Invalid data for Ghz in line 1 89-97.&lt;BR /&gt;
NOTE: Invalid data for Price in line 1 157-160.&lt;BR /&gt;
NOTE: Invalid data for Processor in line 1 165-256.&lt;BR /&gt;
NOTE: Invalid data for Memory in line 2 1-10.&lt;BR /&gt;
NOTE: Invalid data for Disk in line 2 12-74.&lt;BR /&gt;
NOTE: Invalid data for Video in line 2 76-78.&lt;BR /&gt;
NOTE: Invalid data for Battery in line 2 80-88.&lt;BR /&gt;
RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9--&lt;BR /&gt;
&lt;BR /&gt;
2   CHAR  .......... ...à...................ä...0.......´...0.......´...........rupt the executing pro&lt;BR /&gt;
    ZONE  00000000002000E0000000100000000000E00030000000B00030000000B000000000007777276626766776662776&lt;BR /&gt;
    NUMR  00026050000E00010000004E00C00000004C00010000004C00000001004C00000010002504048505853549E7002F&lt;BR /&gt;
&lt;BR /&gt;
      93  gram........................................................................................&lt;BR /&gt;
    ZONE  67662000000000000000000000000000000000000000000000000000000000000000000000000000000000000000&lt;BR /&gt;
    NUMR  721DE000000000000000000000000000000000000000000000000000000000000000000000000000000000000000&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9--&lt;BR /&gt;
&lt;BR /&gt;
     185  ........................................................................&lt;BR /&gt;
    ZONE  000000000000000000000000000000000000000000000000000000000000000000000000&lt;BR /&gt;
    NUMR  000000000000000000000000000000000000000000000000000000000000000000000000&lt;BR /&gt;
NOTE: Invalid data errors for file ''c:\Cwa\sales.sas7bdat'' occurred outside the printed range.&lt;BR /&gt;
NOTE: Increase available buffer lines with the INFILE n= option.&lt;BR /&gt;
Score=. Ghz=. Price=. Processor=. Memory=. Disk=. Video=. Battery=. _ERROR_=1 _N_=1&lt;BR /&gt;
NOTE: Invalid data for Score in line 3 1-256.&lt;BR /&gt;
NOTE: Invalid data for Ghz in line 4 1-40.&lt;BR /&gt;
NOTE: LOST CARD.&lt;BR /&gt;
NOTE: Invalid data errors for file ''c:\Cwa\sales.sas7bdat'' occurred outside the printed range.&lt;BR /&gt;
NOTE: Increase available buffer lines with the INFILE n= option.&lt;BR /&gt;
Score=. Ghz=. Price=. Processor=. Memory=. Disk=. Video=. Battery=. _ERROR_=1 _N_=2&lt;BR /&gt;
NOTE: 4 records were read from the infile 'c:\Cwa\sales.sas7bdat'.&lt;BR /&gt;
      The minimum record length was 40.&lt;BR /&gt;
      The maximum record length was 256.&lt;BR /&gt;
      One or more lines were truncated.&lt;BR /&gt;
NOTE: SAS went to a new line when INPUT statement reached past the end of a line.&lt;BR /&gt;
NOTE: The data set WORK.SALES has 1 observations and 8 variables.&lt;BR /&gt;
NOTE: DATA statement used (Total process time):&lt;BR /&gt;
      real time           0.03 seconds&lt;BR /&gt;
      cpu time            0.04 seconds&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
18   proc reg simple corr;&lt;BR /&gt;
19     model Score = Ghz Price Processor Memory Disk Video Battery / stb tol vif collin;&lt;BR /&gt;
&lt;BR /&gt;
ERROR: No valid observations are found.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I had an excel file which i converted it to "laptop_review.sas" and then to "sales.sas7bdat".If I'm wrong somewhere please suggest me how to correct it as I've been trying for long to run the code.&lt;BR /&gt;
&lt;BR /&gt;
Kind  Regards ,&lt;BR /&gt;
markc</description>
      <pubDate>Tue, 02 Mar 2010 01:55:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/error-in-Log-using-the-collinearity/m-p/63183#M2988</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-02T01:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: error in Log using the collinearity</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/error-in-Log-using-the-collinearity/m-p/63184#M2989</link>
      <description>For some reason, you have decided to omit the key part of your SAS log - that is the DATA step logic used to read up your external data file.  If you expect others to provide you feedback and guidance, you must share the entire SAS log by pasting the content in your forum post reply - not just the portion of the SAS program that is convenient or what you might believe is all that is relevant.&lt;BR /&gt;
&lt;BR /&gt;
Also, your INFILE statement is referring to a SAS data file, not an external file.  You would normally have a LIBNAME pointing to the file directory/folder and use a SET statement to input SAS data files -- not using an INFILE statement since this is not an external file.&lt;BR /&gt;
&lt;BR /&gt;
And, do consider that you may have already started a related post here - &lt;A href="http://support.sas.com/forums/thread.jspa?threadID=8824&amp;amp;tstart=0" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?threadID=8824&amp;amp;tstart=0&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: sbb

Message was edited by: sbb</description>
      <pubDate>Tue, 02 Mar 2010 02:11:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/error-in-Log-using-the-collinearity/m-p/63184#M2989</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-03-02T02:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: error in Log using the collinearity</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/error-in-Log-using-the-collinearity/m-p/63185#M2990</link>
      <description>9   data sales;&lt;BR /&gt;
30   infile 'c:\Sas\laptop_review.sas';&lt;BR /&gt;
31   input Score Ghz Price Processor Memory Disk Video Battery;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: The infile 'c:\Cwa\laptop_review.sas' is:&lt;BR /&gt;
      Filename=c:\Cwa\laptop_review.sas,&lt;BR /&gt;
      RECFM=V,LRECL=256,File Size (bytes)=244,&lt;BR /&gt;
      Last Modified=27Feb2010:10:38:30,&lt;BR /&gt;
      Create Time=27Feb2010:10:38:30&lt;BR /&gt;
&lt;BR /&gt;
NOTE: Invalid data for Score in line 1 1-4.&lt;BR /&gt;
NOTE: Invalid data for Ghz in line 1 6-11.&lt;BR /&gt;
NOTE: Invalid data for Price in line 1 13-16.&lt;BR /&gt;
NOTE: Invalid data for Processor in line 1 18-32.&lt;BR /&gt;
NOTE: Invalid data for Memory in line 2 13-21.&lt;BR /&gt;
NOTE: Invalid data for Disk in line 2 23-48.&lt;BR /&gt;
NOTE: Invalid data for Video in line 3 13-22.&lt;BR /&gt;
NOTE: Invalid data for Battery in line 3 24-31.&lt;BR /&gt;
RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9--&lt;BR /&gt;
3                     DBMS=EXCEL REPLACE; 31&lt;BR /&gt;
NOTE: Invalid data errors for file ''c:\Cwa\laptop_review.sas'' occurred outside the printed range.&lt;BR /&gt;
NOTE: Increase available buffer lines with the INFILE n= option.&lt;BR /&gt;
Score=. Ghz=. Price=. Processor=. Memory=. Disk=. Video=. Battery=. _ERROR_=1 _N_=1&lt;BR /&gt;
NOTE: Invalid data for Score in line 4 6-21.&lt;BR /&gt;
NOTE: Invalid data for Ghz in line 5 6-18.&lt;BR /&gt;
NOTE: Invalid data for Price in line 6 6-14.&lt;BR /&gt;
NOTE: Invalid data for Processor in line 7 6-18.&lt;BR /&gt;
NOTE: Invalid data for Memory in line 8 6-17.&lt;BR /&gt;
NOTE: Invalid data for Disk in line 9 6-18.&lt;BR /&gt;
NOTE: Invalid data for Video in line 10 1-4.&lt;BR /&gt;
NOTE: LOST CARD.&lt;BR /&gt;
NOTE: Invalid data errors for file ''c:\Cwa\laptop_review.sas'' occurred outside the printed range.&lt;BR /&gt;
NOTE: Increase available buffer lines with the INFILE n= option.&lt;BR /&gt;
Score=. Ghz=. Price=. Processor=. Memory=. Disk=. Video=. Battery=. _ERROR_=1 _N_=2&lt;BR /&gt;
NOTE: 10 records were read from the infile 'c:\Cwa\laptop_review.sas'.&lt;BR /&gt;
      The minimum record length was 4.&lt;BR /&gt;
      The maximum record length was 49.&lt;BR /&gt;
NOTE: SAS went to a new line when INPUT statement reached past the end of a line.&lt;BR /&gt;
NOTE: The data set WORK.SALES has 1 observations and 8 variables.&lt;BR /&gt;
NOTE: DATA statement used (Total process time):&lt;BR /&gt;
      real time           0.28 seconds&lt;BR /&gt;
      cpu time            0.01 seconds&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
32   proc reg simple corr;&lt;BR /&gt;
33     model Score = Ghz Price Processor Memory Disk Video Battery / stb tol vif collin;</description>
      <pubDate>Tue, 02 Mar 2010 03:14:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/error-in-Log-using-the-collinearity/m-p/63185#M2990</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-02T03:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: error in Log using the collinearity</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/error-in-Log-using-the-collinearity/m-p/63186#M2991</link>
      <description>If you review the SAS-generated log and the input record dump, it may be revealing...mostly because your INFILE statement is pointing (I believe) to your SAS program and not your input data.  I have to wonder just how much time you are willing to invest to learn the SAS system and its programming facilities?&lt;BR /&gt;
&lt;BR /&gt;
Suggest you start with analyzing your SAS DATA step and get your input data properly read up into a SAS file - then begin to consider using PROCs to analyze the data.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 02 Mar 2010 12:21:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/error-in-Log-using-the-collinearity/m-p/63186#M2991</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-03-02T12:21:20Z</dc:date>
    </item>
  </channel>
</rss>

