Coder Social home page Coder Social logo

mixtape's Introduction

Overview

This package provides the datasets used in the book “Casual Inference: The Mixtape” by Scott Cunningham.

Installation

devtools::install_github('johnson-shuffle/mixtape')

Datasets

The datasets included in this package are:

  • acemogluetal
  • ajrcomment
  • basque
  • card
  • castle_doctrine_2000_2010
  • coalIV
  • cornwell
  • cps_controls
  • fish
  • lalonde_1986
  • leoka2004
  • leoka2005
  • lmb_data
  • margin_victory
  • nsw_dw
  • psid_controls
  • smoking
  • star_sw
  • texas
  • titanic
  • titanic3
  • ucr2004
  • ucr2005
  • yule

See the documentation files for more information.

Usage

Loading the package attaches each of the datasets into the current environment.

library(mixtape)

summary(acemogluetal)
##    countryn           shortnam             africa          latitude      
##  Length:64          Length:64          Min.   :0.0000   Min.   :0.00000  
##  Class :character   Class :character   1st Qu.:0.0000   1st Qu.:0.08889  
##  Mode  :character   Mode  :character   Median :0.0000   Median :0.15278  
##                                        Mean   :0.4219   Mean   :0.18110  
##                                        3rd Qu.:1.0000   3rd Qu.:0.25833  
##                                        Max.   :1.0000   Max.   :0.66667  
##       euro             prot             lgdp           logmort     
##  Min.   :  0.00   Min.   : 3.500   Min.   : 6.109   Min.   :2.146  
##  1st Qu.:  0.00   1st Qu.: 5.614   1st Qu.: 7.300   1st Qu.:4.258  
##  Median :  0.00   Median : 6.477   Median : 7.950   Median :4.359  
##  Mean   : 18.07   Mean   : 6.516   Mean   : 8.062   Mean   :4.643  
##  3rd Qu.: 21.25   3rd Qu.: 7.352   3rd Qu.: 8.849   3rd Qu.:5.481  
##  Max.   :100.00   Max.   :10.000   Max.   :10.216   Max.   :7.986

mixtape's People

Contributors

johnson-shuffle avatar

Watchers

James Cloos avatar Federico Contiggiani 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.