X-Delivery-Notice: SMTP MAIL FROM does not correspond to sender.
Newsgroups: bit.listserv.sas-l
Date:         Mon, 17 Aug 1992 16:37:51 BST
Reply-To:     "Jonathan Wheeler" <JFW1@IBM-B.RUTHERFORD.AC.UK>
From:         "Jonathan Wheeler" <JFW1@IBM-B.RUTHERFORD.AC.UK>
Subject:      Problem with SAS version 6.0

A local user has has a problem with stepwise regression.  As we have limited
experience with SAS here, I am sending his question to the list.  Please
send a copy of any replies direct me (JFW1@IB.RL.AC.UK) as I am not
subscribed to the list.  Many thanks for your assistance.

The problem is:

> I have been trying to run a SAS program to do a stepwise regression on
> several variables for quite a large amount of data. I keep getting
> a floating point overflow as shown below. Is this due to some divide by
> zero error or is it because there is a large amount of data and not
> enough workspace? Could you suggest a solution?
>
> (Reducing the number of variables in the stepwise PROC seems to make it
> work OK).
>
> 11                                                          The SAS System
>
>  NOTE: Copyright(c) 1989 by SAS Institute Inc., Cary, NC USA.
>  NOTE: SAS (r) Proprietary Software Release 6.06.01
>        Licensed to RUTHERFORD APPLETON LABORATORY, Site 0004007001.
>
>  NOTE: Running on IBM Model 3090 Serial Number 441890.
>
>
>  1          DATA WIND;
>  2              INFILE INDATA;
>  3              INPUT (X1-X83) (83*RB4.);
>  4              IF X3>-3000. THEN MONTH=X3;
>  5              ELSE MONTH=.;
>  6              IF X4>-3000. THEN DAY=X4;
>  7              ELSE DAY=.;
>  8              IF X5>-3000. THEN HOUR=X5;
>  9              ELSE HOUR=.;
>  10             IF X7>-3000. THEN TM00=X7;
>  11             ELSE TM00=.;
>  12             IF X9>-3000. THEN TF00=X9;
>  13             ELSE TF00=.;
>  14             IF X11>-3000. THEN UO=X11;
>  15             ELSE UO=.;
>  16             IF X12>-3000. THEN VO=X12;
>  17             ELSE VO=.;
>  18             IF X13>-3000. THEN UM00=X13;
>  19             ELSE UM00=.;
>  20             IF X15>-3000. THEN UF00=X15;
>  21             ELSE UF00=.;
>  22             IF X17>-3000. THEN VM00=X17;
>  23             ELSE VM00=.;
>  24             IF X19>-3000. THEN VF00=X19;
>  25             ELSE VF00=.;
>  26             IF X22>-3000. THEN VISM00=X22;
>  27             ELSE VISM00=.;
>  28             IF X24>-3000. THEN VISF00=X24;
>  29             ELSE VISF00=.;
>  30             IF X27>-3000. THEN RHM00=X27;
>  31             ELSE RHM00=.;
>  32             IF X29>-3000. THEN RHF00=X29;
>  33             ELSE RHF00=.;
>  34             IF X32>-3000. THEN CCM00=X32;
>  35             ELSE CCM00=.;
>  36             IF X34>-3000. THEN CCF00=X34;
>  37             ELSE CCF00=.;
>  38             IF X37>-3000. THEN CC1M00=X37;
>  39             ELSE CC1M00=.;
>  40             IF X39>-3000. THEN CC1F00=X39;
>  41             ELSE CC1F00=.;
>  42             IF X42>-3000. THEN CC2M00=X42;
>  43             ELSE CC2M00=.;
>  44             IF X44>-3000. THEN CC2F00=X44;
>  45             ELSE CC2F00=.;
>  46             IF X47>-3000. THEN CC3M00=X47;
>  47             ELSE CC3M00=.;
>  48             IF X49>-3000. THEN CC3F00=X49;
>  49             ELSE CC3F00=.;
>  50             IF X52>-3000. THEN CB1M00=X52;
>  51             ELSE CB1M00=.;
> 12                                                          The SAS System
>
>  52             IF X54>-3000. THEN CB1F00=X54;
>  53             ELSE CB1F00=.;
>  54             IF X57>-3000. THEN CB2M00=X57;
>  55             ELSE CB2M00=.;
>  56             IF X59>-3000. THEN CB2F00=X59;
>  57             ELSE CB2F00=.;
>  58             IF X62>-3000. THEN CB3M00=X62;
>  59             ELSE CB3M00=.;
>  60             IF X64>-3000. THEN CB3F00=X64;
>  61             ELSE CB3F00=.;
>  62             IF X67>-3000. THEN CB4M00=X67;
>  63             ELSE CB4M00=.;
>  64             IF X69>-3000. THEN CB4F00=X69;
>  65             ELSE CB4F00=.;
>  66             IF X72>-3000. THEN PDM00=X72;
>  67             ELSE PDM00=.;
>  68             IF X74>-3000. THEN PDF00=X74;
>  69             ELSE PDF00=.;
>  70             IF X76>-3000. THEN PCM00=X76;
>  71             ELSE PDM00=.;
>  72             IF X78>-3000. THEN PCF00=X78;
>  73             ELSE PCF00=.;
>  74
>
>  NOTE: The infile INDATA is:
>        Filename=TAP1               ,
>        Recfm=VBS ,Lrecl=32000,Blksize=32004,
>        Max data length=31996
>
>  NOTE: 8760 records were read from the infile INDATA.
>        The minimum record length was 332.
>        The maximum record length was 332.
>  NOTE: The data set WORK.WIND has 8760 observations and 118 variables.
>
>  75             PROC STEPWISE;
>  76                 MODEL UO=MONTH HOUR UM00 PCM00 RHM00 CCM00 VISM00
>  77                          /FORWARD;
>  ERROR: Floating Point Overflow.
> +ERROR: Floating Point Overflow.
> +ERROR: Floating Point Overflow.
>  NOTE: The SAS System stopped processing this step because of errors.
>
>  ERROR: Errors printed on page 2.
> +ERROR: Errors printed on page 2.
> +ERROR: Errors printed on page 2.
>
>  NOTE: SAS Software Limited, Wittington House, Marlow, SL7 2EB7512-8000

Jonathan Wheeler
Applications and User Support Group
Central Computing Department
Rutherford Appleton Laboratory