An open API service indexing awesome lists of open source software.

https://github.com/pachadotdev/hansen

Datasets and Unofficial Solutions from 'Econometrics' by Bruce E. Hansen
https://github.com/pachadotdev/hansen

econometrics rstats

Last synced: about 1 year ago
JSON representation

Datasets and Unofficial Solutions from 'Econometrics' by Bruce E. Hansen

Awesome Lists containing this project

README

          

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```

# hansen

## Overview

The goal of hansen is to provide the datasets used in the exercises of the book
*Econometrics* by Bruce E. Hansen following the Tidy Data principles.

The datasets were already processed and tidied following the steps in the
original code by Professor Hansen. The goal is to go directly to writing
functions in C++.

## Installation

You can install the development version of hansen like so:

``` r
remotes::install_github("pachadotdev/hansen")
```

## Usage

As an example, here is how to get the description for the data from Mankiw,
Romer and Well (1992), which is a dataset for economic growth analysis:

```{r example}
library(hansen)

str(mrw1992)
```