approval | R Documentation |
Wooldridge Source: Harbridge, L., J. Krosnick, and J.M. Wooldridge (forthcoming), “Presidential Approval and Gas Prices: Sociotropic or Pocketbook Influence?” in New Explorations in Political Psychology, ed. J. Krosnick. New York: Psychology Press (Taylor and Francis Group). Professor Harbridge kindly provided the data, of which I have used a subset. Data loads lazily.
data('approval')
A data.frame with 78 observations on 16 variables:
id: id
month: month
year: year
sp500: S&P 500 index
cpi: Consumer Price Index
cpifood: CPI for food
approve: Gallup approval rate, percent
gasprice: average gas price, cents
unemploy: unemployment rate, percent
katrina: =1 for three months after Hurricane Katrina
rgasprice: real gas price, 100*(gasprice/cpi)
lrgasprice: log(rgasprice)
sep11: =1 for 09/2001 and two months following
iraqinvade: =1 for three months after Iraq invasion
lsp500: log(sp500)
lcpifood: log(cpifood)
343, 371, 400
http://www.cengage.com/c/introductory-econometrics-a-modern-approach-6e-wooldridge
str(approval)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.