- Notifications
You must be signed in to change notification settings - Fork78
The official R data package for "Introductory Econometrics: A Modern Approach". A vignette contains example models from each chapter.
JustinMShea/wooldridge
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Economics students new to both Econometrics andR may find the introduction to both challenging. However, if their text is"Introductory Econometrics: A Modern Approach, 7e" by Jeffrey M. Wooldridge, they are in luck!
Thewooldridge package aims to lighten the task by easily loading any data set from the text. The package contains full documentation for each set and all data have been compressed to a fraction of their original size. Just install the package, load it, and call the data you wish to work with.
But wait...there's more! A vignette,Introductory Econometrics Examples✨, illustrates solutions to examples from each chapter of the text, offering a relevant introduction to econometric modelling withR. The vignette also includes an Appendix of R resources, such asUsing R for Introductory Econometrics by Florian Heiss.
Note: All data sets are from the 7th edition (Wooldridge 2020,ISBN-13: 978-1-337-55886-0), which is compatible with all other editions.
One can Installwooldridge directly from Github or The Comprehensive R Archive Network (CRAN). Recent additions to the data set has bumped the dependency up toR >= 3.5.0.
# 7th edition on CRANinstall.packages("wooldridge")# 7th editionremotes::install_github("JustinMShea/wooldridge")It's always recommended that one read supporting documentation for data sets of interest. This becomes trivial with thewooldridge package:
?wage1Documentation includes Wooldridge's originalsource, variable descriptions, as well as page numbers in the referenced text. Some sets even contain additionalnotes suggesting related research projects or exploration.
Load thewooldridge package and use thedata() function to load the desired data set. Data set names match those in the text. Once loaded into the working environment, modeling data is quick and easy, leaving learners with more time to focus on interpretation of results and general diagnostics.
library(wooldridge)data("wage1")wageModel <- lm(lwage ~ educ + exper + tenure, data = wage1)summary(wageModel)About
The official R data package for "Introductory Econometrics: A Modern Approach". A vignette contains example models from each chapter.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.