Econ_outlook_poll | R Documentation |
SIMULATED data from an economic outlook poll
Econ_outlook_poll
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.
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.