Skip to content

vviers/ScPoEconometrics

 
 

Repository files navigation

ScPo UG Econometrics

Build Status

This is the git repo for the UG Econometrics book taught to 2nd year students at SciencesPo.

Tutorials

In order to run the accompanying tutorials, you must install this repository as an R package into your computer. Do this:

library(devtools)
install_github(repo = "floswald/ScPoEconometrics")

Then you can run the respective tutorial for the corresponding chapter, by typing, for example:

install.packages("learnr")  # install only once
library(learnr)
run_tutorial("chapter3",package="ScPoEconometrics")

Contribution Workflow

  1. fork this repository
  2. clone your fork to your computer: git clone url_or_your_fork
  3. add the upstream repo as a remote: git remote add upstream git@github.com:floswald/ScPoEconometrics.git
  4. make sure your master branch is always up to date with the upstream before you start working:
    git checkout master  # switch to your master branch
    git fetch upstream   # get stuff from upstream
    git merge upstrea/master  # merge upstream master
    
    only then should you start to edit any code.
  5. Create a new branch from your master: git checkout -b new_branch
  6. edit, add, commit
  7. push that branch to your fork: git push origin new_branch
  8. create pull request on upstream

Technology

this book is made using bookdown. You can find the preview of an example at https://bookdown.org/yihui/bookdown-demo/

License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

You are free to:

  • Share — copy and redistribute the material in any medium or format
  • Adapt — remix, transform, and build upon the material

Under the following terms:

  1. Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  2. NonCommercial — You may not use the material for commercial purposes.
  3. ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.

Attributions

Under the CC licence above, we are obliged to attribute any material that this book uses and which was shared under the same license:

  1. Chapter 2 Introduction to R is copied almost entirely from appliedstats by David Dalpiaz. I added a couple of practical tasks and made some minor edits.
  2. Chapter 3 is partly based on appliedstats, but only up to scatterplots.

About

Undergraduate textbook for Econometrics with R

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 94.3%
  • TeX 2.6%
  • CSS 2.5%
  • Shell 0.6%