Wooldridge Source: F. Vella and M. Verbeek (1998), “Whose Wages Do Unions Raise? A Dynamic Model of Unionism and Wage Rate Determination for Young Men,” Journal of Applied Econometrics 13, 163-183. I obtained the data from the Journal of Applied Econometrics data archive at http://qed.econ.queensu.ca/jae/. This is generally a nice resource for undergraduates looking to replicate or extend a published study. Data loads lazily.

data('wagepan')

Format

A data.frame with 4360 observations on 44 variables:

  • nr: person identifier

  • year: 1980 to 1987

  • agric: =1 if in agriculture

  • black: =1 if black

  • bus:

  • construc: =1 if in construction

  • ent:

  • exper: labor mkt experience

  • fin:

  • hisp: =1 if Hispanic

  • poorhlth: =1 if in poor health

  • hours: annual hours worked

  • manuf: =1 if in manufacturing

  • married: =1 if married

  • min:

  • nrthcen: =1 if north central

  • nrtheast: =1 if north east

  • occ1:

  • occ2:

  • occ3:

  • occ4:

  • occ5:

  • occ6:

  • occ7:

  • occ8:

  • occ9:

  • per:

  • pro:

  • pub:

  • rur:

  • south: =1 if south

  • educ: years of schooling

  • tra:

  • trad:

  • union: =1 if in union

  • lwage: log(wage)

  • d81: =1 if year == 1981

  • d82:

  • d83:

  • d84:

  • d85:

  • d86:

  • d87:

  • expersq: exper^2

Used in Text

pages 480, 494-495, 505

Examples

 str(wagepan)
#> 'data.frame':	4360 obs. of  44 variables:
#>  $ nr      : int  13 13 13 13 13 13 13 13 17 17 ...
#>  $ year    : int  1980 1981 1982 1983 1984 1985 1986 1987 1980 1981 ...
#>  $ agric   : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ black   : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ bus     : int  1 0 1 1 0 1 1 1 0 0 ...
#>  $ construc: int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ ent     : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ exper   : int  1 2 3 4 5 6 7 8 4 5 ...
#>  $ fin     : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ hisp    : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ poorhlth: int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ hours   : int  2672 2320 2940 2960 3071 2864 2994 2640 2484 2804 ...
#>  $ manuf   : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ married : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ min     : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ nrthcen : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ nrtheast: int  1 1 1 1 1 1 1 1 1 1 ...
#>  $ occ1    : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ occ2    : int  0 0 0 0 0 1 1 1 1 1 ...
#>  $ occ3    : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ occ4    : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ occ5    : int  0 0 0 0 1 0 0 0 0 0 ...
#>  $ occ6    : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ occ7    : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ occ8    : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ occ9    : int  1 1 1 1 0 0 0 0 0 0 ...
#>  $ per     : int  0 1 0 0 1 0 0 0 0 0 ...
#>  $ pro     : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ pub     : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ rur     : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ south   : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ educ    : int  14 14 14 14 14 14 14 14 13 13 ...
#>  $ tra     : int  0 0 0 0 0 0 0 0 0 0 ...
#>  $ trad    : int  0 0 0 0 0 0 0 0 1 1 ...
#>  $ union   : int  0 1 0 0 0 0 0 0 0 0 ...
#>  $ lwage   : num  1.2 1.85 1.34 1.43 1.57 ...
#>  $ d81     : int  0 1 0 0 0 0 0 0 0 1 ...
#>  $ d82     : int  0 0 1 0 0 0 0 0 0 0 ...
#>  $ d83     : int  0 0 0 1 0 0 0 0 0 0 ...
#>  $ d84     : int  0 0 0 0 1 0 0 0 0 0 ...
#>  $ d85     : int  0 0 0 0 0 1 0 0 0 0 ...
#>  $ d86     : int  0 0 0 0 0 0 1 0 0 0 ...
#>  $ d87     : int  0 0 0 0 0 0 0 1 0 0 ...
#>  $ expersq : int  1 4 9 16 25 36 49 64 16 25 ...
#>  - attr(*, "time.stamp")= chr "25 Jun 2011 23:03"