Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The official R data package for "Introductory Econometrics: A Modern Approach". A vignette contains example models from each chapter.

NotificationsYou must be signed in to change notification settings

JustinMShea/wooldridge

Repository files navigation

CRAN_Status_BadgeR build statusAppVeyor Build Statusstatus

wooldridge: 115 Data Sets for Econometrics

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.

Installation

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")

Documentation

It's always recommended that one read supporting documentation for data sets of interest. This becomes trivial with thewooldridge package:

?wage1

Documentation 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.

Example

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

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp