27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PREDICT<br />

PREDICT [{start date }] [THRU [{end date }]]<br />

{start case number} {end case number}<br />

{END }<br />

Example<br />

PREDICT Y 61 THRU Y 65.<br />

Overview<br />

PREDICT specifies the observations that mark the beginning and end of the forecast period.<br />

If the forecast period extends beyond the length of the series, PREDICT extends the series in<br />

the working data file to allow room for the forecast observations.<br />

Basic Specification<br />

The minimum specification on PREDICT is either the start or the end of the range, or keyword<br />

THRU. PREDICT sets up a forecast period beginning and ending with the dates or case<br />

numbers specified. The default starting point is the observation immediately after the end<br />

of the series or, if USE is specified, the observation immediately after the end of the use<br />

range (the historical period). The default end is the last observation in the series.<br />

<strong>Syntax</strong> Rules<br />

• You can specify a start, an end, or both.<br />

• The start and end are specified as either date specifications or case (observation) numbers.<br />

• Date specifications and case numbers cannot be mixed on one PREDICT command.<br />

• Keyword THRU is required if the end of the range is specified.<br />

• Keyword THRU by itself defines a PREDICT range starting with the first observation<br />

after the use range and ending with the end of the series. If USE has not been specified,<br />

PREDICT THRU is meaningless.<br />

Date Specifications<br />

• A date specification consists of DATE keyword(s) and value(s) (see DATE). These specifications<br />

must correspond to existing date variables.<br />

• If more than one date variable exists, the highest-order one must be included in the date<br />

specification.<br />

1234

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!