Code Monkey home page Code Monkey logo

wooldridge's Introduction

CRAN_Status_Badge status AppVeyor Build Status

wooldridge: 115 Data Sets for Econometrics

Economics students new to both Econometrics and R 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!

The wooldridge 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 with R. The vignette also includes an Appendix of R resources, such as Using 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 Install wooldridge directly from Github or The Comprehensive R Archive Network (CRAN). Recent additions to the data set has bumped the dependency up to R >= 3.5.0.

# 7th edition on CRAN
install.packages("wooldridge")
# 7th edition
remotes::install_github("JustinMShea/wooldridge")

Documentation

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

?wage1

Documentation includes Wooldridge's original source, variable descriptions, as well as page numbers in the referenced text. Some sets even contain additional notes suggesting related research projects or exploration.

Example

Load the wooldridge package and use the data() 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)

wooldridge's People

Contributors

justinmshea avatar tappek avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.