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

jjchern/mmdata

Repository files navigation

About

Travis-CI Build Status AppVeyor Build Status

The purpose of the R data package mmdata is to store datasets from the beloved econometrics textbook Mastering 'Metrics.

Installation

# install.packages("devtools")
devtools::install_github("jjchern/mmdata")

Usage

List All the Datasets

library(mmdata)
ls("package:mmdata", all = TRUE)
#> [1] "banks" "child_labor_law" 
#> [3] "dd_mlda" "hs_diploma" 
#> [5] "mdve" "nhis2009" 
#> [7] "qob" "rand_hie_annual_spend" 
#> [9] "rand_hie_initial_sample" "rand_hie_person_years" 
#> [11] "rd_mlda" "twins"

The QOB Instrument from AK91

library(tibble)
mmdata::qob
#> Source: local data frame [329,509 x 5]
#> 
#> lnw s yob qob sob
#> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 5.790019 12 30 1 45
#> 2 5.952494 11 30 1 45
#> 3 5.315949 12 30 1 45
#> 4 5.595926 12 30 1 45
#> 5 6.068915 12 30 1 37
#> 6 5.793871 11 30 1 45
#> 7 6.389161 11 30 1 36
#> 8 6.047781 12 30 1 51
#> 9 5.354861 11 30 1 45
#> 10 5.259597 7 30 1 45
#> .. ... ... ... ... ...

About

An R data package containing datasets from the beloved econometrics textbook Mastering 'Metrics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /