Skip to content

Commit

Permalink
presentations/causality-presentation: Added
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinThoma committed Aug 13, 2015
1 parent cb932a6 commit 757e092
Show file tree
Hide file tree
Showing 13 changed files with 1,077 additions and 0 deletions.
127 changes: 127 additions & 0 deletions presentations/causality-presentation/.gitignore
@@ -0,0 +1,127 @@
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc

## Intermediate documents:
*.dvi
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf

## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.brf
*.run.xml

## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync

## Auxiliary and intermediate files from other packages:

# algorithms
*.alg
*.loa

# achemso
acs-*.bib

# amsthm
*.thm

# beamer
*.nav
*.snm
*.vrb

#(e)ledmac/(e)ledpar
*.end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R

# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls

# gnuplottex
*-gnuplottex-*

# hyperref
*.brf

# knitr
*-concordance.tex
*.tikz
*-tikzDictionary

# listings
*.lol

# makeidx
*.idx
*.ilg
*.ind
*.ist

# minitoc
*.maf
*.mtc
*.mtc0

# minted
_minted*
*.pyg

# morewrites
*.mw

# nomencl
*.nlo

# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd

# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/

# todonotes
*.tdo

# xindy
*.xdy

# WinEdt
*.bak
*.sav
.ipynb_checkpoints/
10 changes: 10 additions & 0 deletions presentations/causality-presentation/Makefile
@@ -0,0 +1,10 @@
SOURCE = interventions

make:
#latexmk -pdf -pdflatex="pdflatex -interactive=nonstopmode" -use-make $(SOURCE).tex
pdflatex -shell-escape $(SOURCE).tex -output-format=pdf #shellescape wird fürs logo benötigt
pdflatex -shell-escape $(SOURCE).tex -output-format=pdf # nochmaliges ausführen wegen Inhaltsverzeichnissen
make clean

clean:
rm -rf $(TARGET) *.class *.html *.log *.aux *.out *.glo *.glg *.gls *.ist *.xdy *.1 *.toc *.snm *.nav *.vrb *.fls *.fdb_latexmk *.pyg
28 changes: 28 additions & 0 deletions presentations/causality-presentation/README.md
@@ -0,0 +1,28 @@
# Interventions
Dieses Repository ist für einen 30-minütigen Vortrag bei einer Sommerakademie.
Das Thema lautet "Intervention distribution".

Die kompilierte PDF kann [hier](https://github.com/MartinThoma/causality-presentation/raw/master/interventions.pdf) herutergeladen werden.


## Given

* script 2.2. and ex. 3.1.1
https://stat.ethz.ch/people/jopeters/index/edit/causalityHomepage/causality_files/scriptChapter1-4.pdf
* examples: intervention distribution, simpson's paradox
* Block: Causality
* Thema: interventions
* Nr: 11
* Zeit: 30min

## Plan

* Einleitung: ca. 5 min
* Interventionsverteilung, def: ca. 2 min

## Fragen

1. Definition 2.2.1: "The set of noise variables in S now contains both ..."
- Soll hier wirklich "S" und nicht "\tilde{S}" stehen?
2. Was heißt "full support"?
3. A.2: Was ist Q?
10 changes: 10 additions & 0 deletions presentations/causality-presentation/backup/Makefile
@@ -0,0 +1,10 @@
SOURCE = interventions

make:
#latexmk -pdf -pdflatex="pdflatex -interactive=nonstopmode" -use-make $(SOURCE).tex
pdflatex -shell-escape $(SOURCE).tex -output-format=pdf #shellescape wird fürs logo benötigt
pdflatex -shell-escape $(SOURCE).tex -output-format=pdf # nochmaliges ausführen wegen Inhaltsverzeichnissen
make clean

clean:
rm -rf $(TARGET) *.class *.html *.log *.aux *.out *.glo *.glg *.gls *.ist *.xdy *.1 *.toc *.snm *.nav *.vrb *.fls *.fdb_latexmk *.pyg
23 changes: 23 additions & 0 deletions presentations/causality-presentation/backup/end.tex
@@ -0,0 +1,23 @@
%!TEX root = interventions.tex
\section{Ende}
\subsection{Quellen}
\begin{frame}{Quellen}
\begin{itemize}
\item \href{https://stat.ethz.ch/people/jopeters/index/edit/causalityHomepage/causality_files/scriptChapter1-4.pdf}{Causality, 2015. Jonas Peters.}
\end{itemize}
\end{frame}

\begin{frame}{Definitionen}
\begin{block}{Unabhängigkeit}
$X$ und $Y$ sind unabhängig $:\Leftrightarrow p(x, y) = p(x) \cdot p(y) \;\;\;\forall x,y$.

Man schreibt dann: $X \perp\!\!\!\perp Y$ und andernfalls $X \not\!\perp\!\!\!\perp Y$
\end{block}

\begin{block}{Korrelation}
Seien $X$ und $Y$ Zufallsvariablen und
\[C(X,Y) := \mathbb{E}((X- \mathbb{E}X) \cdot (Y - \mathbb{E}Y))\]
die Kovarianz zwischen $X$ und $Y$. Gilt $C(X, Y) = 0$, so heißen
$X$ und $Y$ unkorreliert.
\end{block}
\end{frame}
92 changes: 92 additions & 0 deletions presentations/causality-presentation/backup/interventions.tex
@@ -0,0 +1,92 @@
\documentclass{beamer}
\usetheme{Frankfurt}
\usecolortheme{beaver}
\definecolor{links}{HTML}{2A1B81}
\hypersetup{colorlinks,linkcolor=,urlcolor=links}
\usepackage{hyperref}
\usepackage[utf8]{inputenc} % this is needed for german umlauts
\usepackage[ngerman]{babel} % this is needed for german umlauts
\usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf
\usepackage{braket} % needed for \Set
\usepackage{csquotes}
\usepackage{enumitem}
\setitemize{label=\usebeamerfont*{itemize item}%
\usebeamercolor[fg]{itemize item}
\usebeamertemplate{itemize item}}
\usepackage{amsmath, amssymb}
\usepackage{bm}
\usepackage{dsfont}
\usepackage{nicefrac}
\usefonttheme[onlymath]{serif}
\usepackage{siunitx} % this package is for units!
\sisetup{range-phrase=--, range-units=single}

\usepackage{booktabs} % for \toprule, \midrule and \bottomrule
\selectlanguage{ngerman}

\usepackage{tikz}
\usetikzlibrary{arrows,positioning, calc}

\setbeamertemplate{navigation symbols}{}
\addtobeamertemplate{navigation symbols}{}{%
\usebeamerfont{footline}%
\usebeamercolor[fg]{footline}%
\hspace{1em}%
\insertframenumber/\inserttotalframenumber
}
\makeatletter
\setbeamertemplate{footline}
{%
\pgfuseshading{beamer@barshade}%
\ifbeamer@sb@subsection%
\vskip-9.75ex%
\else%
\vskip-7ex%
\fi%
\begin{beamercolorbox}[ignorebg,ht=2.25ex,dp=3.75ex]{section in head/foot}
\insertnavigation{\paperwidth}
\end{beamercolorbox}%
\ifbeamer@sb@subsection%
\begin{beamercolorbox}[ignorebg,ht=2.125ex,dp=1.125ex,%
leftskip=.3cm,rightskip=.3cm plus1fil]{subsection in head/foot}
\usebeamerfont{subsection in head/foot}\insertsubsectionhead
\end{beamercolorbox}%
\fi%
}%
\setbeamertemplate{headline}{%
% \hskip1em\usebeamercolor[fg]{navigation symbols dimmed}%
% \insertslidenavigationsymbol%
% \insertframenavigationsymbol%
% \insertsectionnavigationsymbol%
% \insertsubsectionnavigationsymbol%
% \insertdocnavigationsymbol%
% \insertbackfindforwardnavigationsymbol%
}
\makeatother

\begin{document}

\title{Interventions}
% \subtitle{A subtitle}
\author{Martin Thoma}
\date{10. August 2015}
\subject{Causality}

\frame{\titlepage}

% Show table of contents
% \frame{
% \frametitle{Inhalt}
% \setcounter{tocdepth}{1}
% \tableofcontents
% \setcounter{tocdepth}{2}
% }

%\AtBeginSection[]{
% \InsertToC[sections={\thesection}] % shows only subsubsections of one subsection
%}

\input{introduction}
\input{main}
\input{end}
\end{document}
16 changes: 16 additions & 0 deletions presentations/causality-presentation/backup/introduction.tex
@@ -0,0 +1,16 @@
%!TEX root = interventions.tex
\section{SEMs}
\subsection{SEMs}
\begin{frame}{SEMs}
\begin{block}{Structural Equaltion Model (kurz: SEM)}
Ein \textit{Strukturgleichungsmodel} ist ein Tupel
$\mathcal{S} := (\mathcal{S}, \mathbb{P}^\mathbf{N})$, wobei
$\mathcal{S} = (S_1, \dots, S_p)$ ein Tupel aus $p$ Gleichungen
\[S_j : X_j = f_j(\mathbf{PA}_j, N_j), \;\;\; j=1, \dots, p\]
ist und $\mathbf{PA}_j \subseteq \Set{X_1, \dots, X_p} \setminus \Set{X_j}$
die \textit{Eltern von $X_j$} und $\mathbb{P}^\mathbf{N} = \mathbb{P}^{N_1, \dots, N_p}$
die gemeinsame Verteilung der Rauschvariablen ist. Diese müssen
von einander unabhängig sein, $\mathbb{P}^\mathbf{N}$ muss also eine
Produktverteilung sein.
\end{block}
\end{frame}

0 comments on commit 757e092

Please sign in to comment.