Giter VIP home page Giter VIP logo

hayashir's Introduction

hayashir: R Companion for "Econometrics" by Fumio Hayashi

CRAN_Status_Badge Travis-CI Build Status AppVeyor Build Status

The hayashir data package contains all datasets used in the book "Econometrics" by Fumio Hayashi. Documentation and variable descriptions for each data set are also included. Vignettes provide R code that reproduces the output in the "Application" sections of each chapter

Installation

The hayashir package can be installed using the package devtools. After installing devtools, hayashir is installed by entering:

# install devtools if not already installed
# install.packages(devtools)
devtools::install_github("lachlandeer/hayashir")

into the R console.

Example

Load the hayashir package and use the data() function to load the desired data set. The data sets included are:

  • nerlove: Nerlove's electricity supply and cost data, used in Chapter 1
  • mishkin: Monthly Treasury Bill and inflation rates used in Chapter 2
  • griliches: NLS-Y data used in Chapter 3.
  • greene: Christiansen & Greene's electricty supply and cost data from Chapter 4
  • pwt: The Summers-Heston (Penn World Table) data for Chapter 5
  • yen: Yen spot and forward rates for Chapter 6
  • pound: GB Pound spot and forward rates for Chapter 6
  • dm: German Deutsche Mark spot and forward rates for Chapter 6
  • lothiantaylor: US Dollar / British Sterling Exchange rates for Chapter 9
  • moneydemand: US Money Demand data for Chapter 10

To load a data set:

library(hayashir)
data("nerlove")

If using RStudio, View the nerlove data set

View(nerlove)

Check out the documentation for nerlove. It includes variable column names, original source of data, as well as sections where the data appear in the text.

?nerlove

hayashir's People

Contributors

lachlandeer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hayashir's Issues

Vignettes with Chapter Content

Goal is to add vignettes that provide R code and output for each Chapter's Examples:

  • Chapter 1.7: Returns to Scale in Electricity Supply
  • Chapter 2.11: Rational Expectations Econometrics
  • Chapter 3.9 Returns to Schooling
  • Chapter 4.7: Interrelated Factor Demands
  • Chapter 5.4: International Differences in Growth Rates
  • Chapter 6.8: Forward Exchange Rates and Optimal Predictors
  • Chapter 9.6: Purchasing Power Parity
  • Chapter 10.5: Demand for Money in the United States

Vignettes with Empirical Exercise Solutions

Goal is to add vignettes that provide R code and output for each Chapter's Empirical Exercises:

  • Chapter 1
  • Chapter 2
  • Chapter 3
  • Chapter 4
  • Chapter 5
  • Chapter 6
  • Chapter 9
  • Chapter 10

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.