8.2.45.52 octave.dataset.presidents

Static Method: out = presidents ()

Quarterly Approval Ratings of US Presidents

Description

The (approximately) quarterly approval rating for the President of the United States from the first quarter of 1945 to the last quarter of 1974.

Format

date

Approximate date of the observation.

approval

Approval rating (%).

Details

The data are actually a fudged version of the approval ratings. See McNeil’s book for details.

Source

The Gallup Organisation.

References

McNeil, D. R. (1977). Interactive Data Analysis. New York: Wiley.

Examples

t = octave.dataset.presidents;

figure
plot (datenum (t.date), t.approval)
datetick ("x")
xlabel ("Date")
ylabel ("Approval rating (%)")
title ("presidents data")