Learn R Programming

⚠️There's a newer version (1.4-4) of this package.Take me there.

wooldridge

Economics students new to both Econometrics and R may find the tasks of learning both a bit daunting. However, if your text is "Introductory Econometrics: A Modern Approach" by Jeffrey M. Wooldridge, then you are in luck! The wooldridge data package aims to lighten the task by loading any data set from the text with a single command.

In addition the package contains documentation for each data set and all data has been efficiently compressed resulting in a total size that is 62.73% of its original size. Just install the package, load it, and call the data set you need to work with.

But wait...there's more! Contained in the package is also the wooldridge-vignette, which shows you how to recreate examples from every chapter of the text, offering a relevant introduction to R's statistical model syntax.

Note: All data sets are from the 5th edition (Wooldridge 2013, ISBN-13:978-1-111-53104-1), which is compatible with most other editions.

Installation

If you don't already have devtools installed, try the ghit package, a lightweight github installer.

install.packages("ghit")

Next, install 'wooldridge' package from my GitHub page.

ghit::install_github("JustinMShea/wooldridge")

Example

Load the wooldridge package and use the data() function to load the desired set.

library(wooldridge)
data("jtrain")

Check out the documentation on the variable column names and what they are.

?jtrain

In addition, load the wooldridge-vignette for a recreation of examples from the text.

 vignette("wooldridge-vignette")

Copy Link

Version

Install

install.packages('wooldridge')

Monthly Downloads

18,884

Version

1.0.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Justin Shea

Last Published

July 11th, 2017

Functions in wooldridge (1.0.1)

admnrev

admnrev
affairs

affairs
athlet2

athlet2
attend

attend
airfare

airfare
alcohol

alcohol
`401k`

`401k`
`401ksubs`

`401ksubs`
apple

apple
athlet1

athlet1
beveridge

beveridge
big9salary

big9salary
cps78_85

cps78_85
cps91

cps91
discrim

discrim
driving

driving
fish

fish
audit

audit
barium

barium
cement

cement
ceosal1

ceosal1
crime3

crime3
crime4

crime4
fertil2

fertil2
fertil3

fertil3
campus

campus
card

card
crime1

crime1
intqrt

intqrt
inven

inven
lawsch85

lawsch85
loanapp

loanapp
crime2

crime2
ezanders

ezanders
ezunem

ezunem
gpa1

gpa1
bwght

bwght
bwght2

bwght2
consump

consump
corn

corn
beauty

beauty
benefits

benefits
ceosal2

ceosal2
mlb1

mlb1
mroz

mroz
prison

prison
prminwge

prminwge
engin

engin
expendshares

expendshares
fair

fair
charity

charity
fertil1

fertil1
injury

injury
intdef

intdef
volat

volat
vote1

vote1
wagepan

wagepan
wageprc

wageprc
earns

earns
elem94_95

elem94_95
gpa3

gpa3
happiness

happiness
meap00_01

meap00_01
meap01

meap01
meap93

meap93
minwage

minwage
fringe

fringe
hprice1

hprice1
hprice2

hprice2
jtrain

jtrain
recid

recid
rental

rental
sleep75

sleep75
slp75_81

slp75_81
jtrain2

jtrain2
murder

murder
nbasal

nbasal
rdchem

rdchem
htv

htv
infmrt

infmrt
lowbrth

lowbrth
mathpnl

mathpnl
gpa2

gpa2
hprice3

hprice3
hseinv

hseinv
jtrain3

jtrain3
rdtelec

rdtelec
traffic2

traffic2
twoyear

twoyear
kielmc

kielmc
openness

openness
pension

pension
nyse

nyse
okun

okun
return

return
saving

saving
phillips

phillips
pntsprd

pntsprd
smoke

smoke
traffic1

traffic1
vote2

vote2
voucher

voucher
wine

wine
wage1

wage1
wage2

wage2