Skip to main content

Data sets from Introductory Econometrics: A Modern Approach (7th ed, J.M. Wooldridge)

Project description

PyPI version fury.io CodeQL Downloads

Wooldridge Meets Python

Data sets from Introductory Econometrics: A Modern Approach (7th ed, J.M. Wooldridge)

Description

A Python package which contains 111 data sets from one of the most famous econometrics textbooks for undergraduates.

It is extensively used in Pythonで学ぶ入門計量経済学 (Japanese). Its Google-translated version (in the language of your choice) is also available in Learning Introductory Econometrics with Python.

It is also used in Using Python for Introductory Econometrics, which is a sister book Using R for Introductory Econometrics.

How to Use

First things first.

import wooldridge

To load a data set named <dataset>:

wooldridge.data('<dataset>')

It returns pandas DataFrame. Note that <dataset> is entered in strings. For example, to load a data set mroz into df:

df = wooldridge.data('mroz')

To show the description (e.g. variable definitions and sources) of a data set:

wooldridge.data('mroz', description=True)

To show the list of 111 data sets contained in the package

wooldridge.data()

How to Install

pip install wooldridge

or

git clone https://github.com/spring-haru/wooldridge.git
pip install .

Note

The function dataWoo() introduced in the previous versions also works:

from wooldridge import *

df = dataWoo('<dataset>')

dataWoo('<dataset>', description=True)

dataWoo()

Reference

J.M. Wooldridge (2019) Introductory Econometrics: A Modern Approach, Cengage Learning, 7th edition.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wooldridge-0.4.5.tar.gz (5.0 MB view details)

Uploaded Source

Built Distribution

wooldridge-0.4.5-py3-none-any.whl (5.1 MB view details)

Uploaded Python 3

File details

Details for the file wooldridge-0.4.5.tar.gz.

File metadata

  • Download URL: wooldridge-0.4.5.tar.gz
  • Upload date:
  • Size: 5.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for wooldridge-0.4.5.tar.gz
Algorithm Hash digest
SHA256 5a024a649c71bad8674e5bd406adcda3678e448674c3f3909ef3b32ce695ea81
MD5 61cb7668ab9f2f1e97fd4eb01627b9bb
BLAKE2b-256 316a80a0b277872bc79aab1120ecfa2ebb91d078d3d90d1b2eb3283db2070972

See more details on using hashes here.

File details

Details for the file wooldridge-0.4.5-py3-none-any.whl.

File metadata

  • Download URL: wooldridge-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 5.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for wooldridge-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 100de35c9738d66e1a98a93d894ae361d8c86d9548a4bfc665724ade42f3469b
MD5 98c2b702064a48bbda36567d82da98e8
BLAKE2b-256 e2788d4ca380f46c8a6eebb646b7a09c9ab394dbd11791a579fc7def8e4882bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page