Skip to contents

SIMULATED data from an economic outlook poll

Usage

Econ_outlook_poll

Format

10,000 rows with three variables: age, income, pessimism

Data from a simple SIMULATION of people's pessimism about the economic state based on age group and income group. Nothing about the real world should be inferred from these data; they are merely to illustrate adjusting for covariates.

Source

The simulation is from "Statistical Modeling: A Fresh Approach" (2/e). Code for it is in the file system.file("SM2-simulations.R", package="LSTbook")