8.2.45.39 octave.dataset.longley

Static Method: out = longley ()

Longley’s Economic Regression Data

Description

A macroeconomic data set which provides a well-known example for a highly collinear regression.

Format

Year

The year.

GNP_deflator

GNP implicit price deflator (1954=100).

GNP

Gross National Product.

Unemployed

Number of unemployed.

Armed_Forces

Number of people in the armed forces.

Population

“Noninstitutionalized” population ≥ 14 years of age.

Employed

Number of people employed.

Source

J. W. Longley (1967). An appraisal of least-squares programs from the point of view of the user. Journal of the American Statistical Association, 62, 819–841.

References

Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988). The New S Language. Monterey: Wadsworth & Brooks/Cole.

Examples

t = octave.dataset.longley;

# TODO: Linear model
# TODO: opar plot