Git Product home page Git Product logo

bowershansen-ci-course's Introduction

Causal Inference for Social Scientists

Source files for Jake and Ben and Tom's causal inference course materials. This file provides some instructions for ourselves and future collaborators in regards building course materials

Bibliographies

We encourage the use of the BIB/Master_Bibliography.bib file.

Compiling .Rnw files

From within RStudio:

  • open file in RStudio
  • If you have multiple files open, make sure this one's at front
  • Press Compile PDF button above file edit window
  • (You may get warnings and or failure messages in the output window even though a PDF was produced.)
  • (If the file contains cross-references, you may have to hit Compile PDF twice.)

From within R and at the Command Line

Start R from within the root directory of this repository. We are using renv https://rstudio.github.io/renv/ to help us keep our packages up to date across collaborators.

library(knitr)
knit("foo.Rnw")

Separately (outside of R), use pdflatex to compile foo.tex. E.g., from the command line:

$ pdflatex foo.tex
$ pdflatex foo.tex

(Yep, pdflatex is run twice on the same file.)

Alternatively you can use the knitandtex.sh shell command file which uses latexmk to automagically run latex and bibtex as many times as necessary. For example,

$ ./knitandtex.sh unit07-Rex

Compiling unitXX-YYY.tex files

You'll need a LaTeX installation equipped with the beamer package and its dependencies.

Near the top of the .tex file, comment out all but one of these lines, depending on what format you want to produce:

%\input{slidesonly}
%\input{handout}
\input{handout+mynotes}

Latex should be run twice. Or, for a file with \usepackage{tikz} in the preamble, three times.

About this work

Improving these hints

Please don't hesitate to fork this repository, improve these hints (or any other aspect) and then shoot us a pull request explaining your fix.

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.

bowershansen-ci-course's People

Contributors

jwbowers avatar benthestatistician avatar tl2624 avatar jabranham avatar

Stargazers

Yezi Chu avatar Abdullah Kabaoğlu avatar Sanghoon Kim-Leffingwell avatar OpenMind avatar  avatar

Watchers

Mark Fredrickson avatar  avatar  avatar James Cloos avatar Clayton Besaw avatar  avatar

bowershansen-ci-course's Issues

2016 student instructions re IT setup?

  1. What LMS's will the summer program be using: Ctools, Canvas, or both?
  2. Which LMS's are they recommending to instructor?
  3. Will they have use/need for UM Friend accounts?

Relevant to syllabus.

vignette demo of xBal w/ clusters, strata

The Gerber/Green vote 98 study has experiments in it, all involving clustering and two involving stratification. Now that RItools::xBalance is (soon to be) equipped to handle clusters and strata in combination, we should produce a code demo of this for the course.
gg2k-exptdesign.pdf

`.local` vs `lib`

This repo's .gitignore file has an entry .local. Presumably that's a directory for local installs of packages. I propose to use lib instead, so that we can more readily see what local packages we may have built within a cloned working copy.

Any objections?

Present propensity scores (now unit 6) before "multivariate distance matching" (unit 5)?

I propose to upend the current ordering of material in units 5 and 6. Partly this is to try to bring my 1/2 of the 4 week course to a sensible stopping points, partly out of a hope that I'll find time to say a little about inverse probability weighting in its application to experiments. (This connects to the propensity score on a conceptual level, and may help to bridge from the RCT focus of weeks 1 and 2 toward including more observational studies methods in weeks 3 and 4.)

I'll just go ahead and do it w/o further posting here -- unless somebody posts a comment that causes me to reconsider, of course.

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.