Wooldridge Source: D. McFadden (1994), “Demographics, the Housing Market, and the Welfare of the Elderly,” in D.A. Wise (ed.), Studies in the Economics of Aging. Chicago: University of Chicago Press, 225-285. The data are contained in the article. Data loads lazily.

data('hseinv')

Format

A data.frame with 42 observations on 14 variables:

  • year: 1947-1988

  • inv: real housing inv, millions $

  • pop: population, 1000s

  • price: housing price index; 1982 = 1

  • linv: log(inv)

  • lpop: log(pop)

  • lprice: log(price)

  • t: time trend: t=1,...,42

  • invpc: per capita inv: inv/pop

  • linvpc: log(invpc)

  • lprice_1: lprice[_n-1]

  • linvpc_1: linvpc[_n-1]

  • gprice: lprice - lprice_1

  • ginvpc: linvpc - linvpc_1

Used in Text

pages 367, 370, 407, 638-639, 822?

Examples

 str(hseinv)
#> 'data.frame':	42 obs. of  14 variables:
#>  $ year    : int  1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 ...
#>  $ inv     : num  54864 64717 63150 86014 70610 ...
#>  $ pop     : num  144126 146631 149188 151684 154287 ...
#>  $ price   : num  0.819 0.865 0.846 0.877 0.882 ...
#>  $ linv    : num  10.9 11.1 11.1 11.4 11.2 ...
#>  $ lpop    : num  11.9 11.9 11.9 11.9 11.9 ...
#>  $ lprice  : num  -0.2 -0.145 -0.168 -0.132 -0.126 ...
#>  $ t       : int  1 2 3 4 5 6 7 8 9 10 ...
#>  $ invpc   : num  0.381 0.441 0.423 0.567 0.458 ...
#>  $ linvpc  : num  -0.966 -0.818 -0.86 -0.567 -0.782 ...
#>  $ lprice_1: num  NA -0.2 -0.145 -0.168 -0.132 ...
#>  $ linvpc_1: num  NA -0.966 -0.818 -0.86 -0.567 ...
#>  $ gprice  : num  NA 0.05453 -0.02257 0.03589 0.00614 ...
#>  $ ginvpc  : num  NA 0.1479 -0.0418 0.2924 -0.2144 ...
#>  - attr(*, "time.stamp")= chr "25 Jun 2011 23:03"