Skip to content

Commit

Permalink
init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Haoda Fu committed Oct 15, 2018
0 parents commit 0054e98
Show file tree
Hide file tree
Showing 11 changed files with 474 additions and 0 deletions.
Binary file added LD_H_RGB.pdf
Binary file not shown.
Binary file added LD_H_new_RGB.pdf
Binary file not shown.
Binary file added LD_V_RGB.pdf
Binary file not shown.
Binary file added LillyLogo.pdf
Binary file not shown.
Binary file added LillyLogo_White_EPS.pdf
Binary file not shown.
Binary file added MissingData.pdf
Binary file not shown.
163 changes: 163 additions & 0 deletions MissingData.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
\documentclass[notes=no]{beamer}
%\documentclass[notes=only]{beamer}
%\documentclass[notes]{beamer}

\usetheme[white, compactlogo]{Lilly}





% begin definition
\def\conas{\stackrel{a.s.} {\rightarrow}} % conv. a.s.
\def\conP{\stackrel{\cal P} {\rightarrow}} % conv. in probability
\def\conD{\stackrel{\cal D} {\rightsquigarrow}} % conv. in distribution
\DeclareMathOperator*{\argmin}{argmin}
\DeclareMathOperator*{\argmax}{argmax}
\def\iid{\stackrel{ iid} {\sim}} % i.i.d
\def\hat{\widehat}
\def\tilde{\widetilde}

%general sets
\def\cal{\mathcal}
\def\calA{{\cal A}} %Action sets
\def\calB{{\cal B}} %Bounded set
\def\calC{{\cal C}} %Convex set
\def\calH{{\cal H}} %Hilbert Space
\def\calS{{\cal S}} %A regular set
\def\calNr{{\cal N}_r} %Neighborhood
\def\calX{{\cal X}} %Covariate space
\def\calF{{\cal F}} %Function space

\def\calD{{\cal D}} %decision rule


%special sets
\def\bbR{{\mathbb{R}}} %Real number
\def\bbN{{\mathbb{N}}}%Natural number
\def\bbQ{{\mathbb{Q}}} %Rational number
\def\bbZ{{\mathbb{Z}}} %Integer

%Matrix
\def\bA{{\bf A}}
\def\bB{{\bf B}}
\def\bC{{\bf C}}
\def\bD{{\bf D}}
\def\bH{{\bf H}}
\def\bI{{\bf I}}
\def\bJ{{\bf J}}
\def\bP{{\bf P}}
\def\bT{{\bf T}}
\def\bW{{\bf W}}
\def\bX{{\bf X}}

%vector
\def\balpha{{\boldsymbol \alpha}}
\def\bbeta{{\boldsymbol \beta}}
\def\btheta{{\boldsymbol \theta}}

\def\bzero{{\bf 0}}
\def\bone{{\bf 1}}
\def\bbf{{\bf f}}
\def\br{{\bf r}}
\def\by{{\bf y}}

%notations
\def\sign{{\mathrm{sign}}}
\def\var{{\mathrm{var}}}
\def\cov{{\mathrm{cov}}}
\def\ind{\perp\!\!\!\perp}

%others
\def\mif{\mathrm{if}\ }
\def\ow{\mathrm{otherwise}\ }
\def\st{\mathrm{subject\ to}\quad }
\def\diag{\mathrm{diag}}
\def\minimize{\mathrm{minimize}\quad }
\def\maximize{\mathrm{maximize}\quad }
\def\dom{{\rm dom}}



\title{On Missing Data} % Enter your title between curly braces
\author{Drafted by Haoda Fu, Ph.D.} % Enter your name between curly braces
\institute{Statistics for Data Scientists Series} % Enter your institute name between curly braces
\date{\today}

\begin{document}

\begin{frame}
\titlepage
\end{frame}


\begin{frame}
\frametitle{Why}
\begin{variableblock}{Why this topic is important}{bg=LillyGreen25,fg=black}{bg=LillyGreen75,fg=black}
Missing data are common problems for data scientists.
\end{variableblock}
\pause
\begin{variableblock}{Connections}{bg=LillyGreen25,fg=black}{bg=LillyGreen75,fg=black}
\begin{itemize}
\item Missing data and causal inference are closed connected and both are important to our digital health.
\item Different types of missing mechanism: missing completely at random, missing at random, and missing not at random.
\item Different methods to handle missing data.
\end{itemize}
\end{variableblock}
\end{frame}

\begin{frame}
\frametitle{Notation}
\begin{itemize}
\item $Y=(Y_{ij})$: complete data matrix.
\item $M=(M_{ij})$: missing-data indicator matrix.
\item $\phi$: unknown parameter.
\item $Y_{obs}$ and $Y_{mis}$: the observed and missing components of $Y$.
\item $f(\cdot)$: probability density function.
\end{itemize}
\end{frame}

\begin{frame}
\frametitle{Missing Completely at Random (MCAR)}

\begin{definition}[MCAR]
MCAR is defined that the $M$ does not depend on $Y$,
\begin{align*}
f(M | Y, \phi) &= f(M|\phi), \quad \forall Y, \phi.
\end{align*}
\end{definition}
Note: this assumption does not mean that the pattern itself is random, but rather that the missingness does not depend on the data values.
\end{frame}

\begin{frame}
\frametitle{Missing at Random (MAR)}
\begin{definition}[MAR]
MAR is defined that the $M$ only depends on $Y_{obs}$,
\begin{align*}
f(M | Y, \phi) &= f(M|Y_{obs}, \phi), \quad \forall Y_{obs}, \phi.
\end{align*}
\end{definition}
Note: This assumption is weaker than the MCAR and it is the most widely used assumption for clinical trials.
\end{frame}

\begin{frame}
\frametitle{Missing Not at Random (MNAR)}
\begin{definition}[MNAR]
The mechanism is called MNAR if the distribution of $M$ depends on the $Y_{miss}$.
\end{definition}
Note: Assumptions are not verifiable. It is often used for robustness evaluation. Methods handle MNAR include pattern mixture models and selection models.
\end{frame}

\begin{frame}
\frametitle{MAR and Analytics Essentials}
Let $\theta$ be the interest parameter, i.e. $f(Y|\theta) = f(Y_{obs}, Y_{mis}|\theta)$, and $\psi$ be the parameter for missing mechanisms.
\begin{align*}
f(Y,M|\theta, \psi) &= f(Y|\theta) f(M|Y,\psi)\\
f(Y_{obs},M|\theta, \psi)&= \int f(Y_{obs}, Y_{mis}|\theta) f(M|Y_{obs}, Y_{mis},\psi) d Y_{mis} \\
&= f(M|Y_{obs}, \psi) \int f(Y_{obs},Y_{mis}|\theta) dY_{mis}\\
&= f(M|Y_{obs}, \psi) f(Y_{obs}|\theta)
\end{align*}
Note: the third equation coming from MAR assumption. This amazing results reflect the truth that we can simply estimate $\theta$ based on the observed values!!
\end{frame}

\end{document}
59 changes: 59 additions & 0 deletions beamercolorthemeLilly.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
\ProvidesPackage{beamercolorthemeWisconsin}
% Adapted from the default crane style

\mode<presentation>

% Suggestion from Jeff Ballard to help Beamer correctly draw shaded text.
\beamersetaveragebackground{black}

\definecolor{EmphColor}{RGB}{170,50,50}
\definecolor{HighlightBackground}{RGB}{213,43,30}
\definecolor{KeywordColor}{RGB}{50,50,150}

% Color definitions
\definecolor{UWRed}{RGB}{213,43,30}
\definecolor{UWGold}{RGB}{205,153,0}

\setbeamercolor*{normal text}{fg=white}
\setbeamercolor*{alerted text}{fg=white}
\setbeamercolor*{section text}{fg=white!80!gray}
\setbeamercolor{background canvas}{parent=normal text,bg=black}

\setbeamercolor{item projected}{bg=UWRed}
\setbeamercolor{itemize item}{fg=UWRed}
\setbeamercolor{itemize subitem}{fg=UWGold}
\setbeamercolor{description item}{fg=UWRed}
\setbeamercolor{enumerate item}{fg=UWRed}
\setbeamercolor{enumerate subitem}{fg=UWGold}

\setbeamercolor{palette primary}{fg=white,bg=black}
\setbeamercolor{palette secondary}{fg=white,bg=UWRed}

% This green is just so that I can figure out when, if ever, this
% is used. If it is a useful palette, it should be changed to something
% else. Let me know if you figure out what uses these.
\setbeamercolor{palette tertiary}{fg=green,bg=UWGold}
\setbeamercolor{palette quaternary}{fg=white,bg=UWRed}

\setbeamercolor{titlelike}{parent=palette secondary}

\setbeamercolor{block title}{parent=palette secondary}
\setbeamercolor{block title alerted}{use=alerted text,fg=green,bg=alerted text.fg}
\setbeamercolor{block title example}{use=example text,fg=green,bg=example text.fg}

\setbeamercolor{block body}{parent=normal text,use=block title,bg=black}
\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=black}
\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=black}

% This ends up applying to most navigation-related things
\setbeamercolor{sidebar}{bg=UWGold}

\setbeamercolor{palette sidebar primary}{fg=white}
\setbeamercolor{palette sidebar secondary}{fg=UWGold}

\setbeamercolor*{separation line}{bg=UWGold}
\setbeamercolor*{fine separation line}{bg=UWGold}


\mode
<all>
67 changes: 67 additions & 0 deletions beamercolorthemeLillyWhite.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
\ProvidesPackage{beamercolorthemeLillyWhite}
% Adapted from the default crane style

\mode<presentation>

\definecolor{EmphColor}{RGB}{153,1,0}
\definecolor{HighlightBackground}{RGB}{255,255,0}
\definecolor{KeywordColor}{RGB}{0,0,95}

% Color definitions
\definecolor{LillyMediumGray}{RGB}{165,157,149}
\definecolor{LillyRed}{RGB}{213,43,30}
\definecolor{LillyRed75}{RGB}{243,106,80}
\definecolor{LillyRed50}{RGB}{255,158,135}
\definecolor{LillyRed25}{RGB}{255,207,193}

\definecolor{LillyGreen}{RGB}{0,175,63}
\definecolor{LillyGreen75}{RGB}{9,197,112}
\definecolor{LillyGreen50}{RGB}{127,218,158}
\definecolor{LillyGreen25}{RGB}{194,237,206}

\definecolor{LillyBlue}{RGB}{0,161,222}
\definecolor{LillyBlue75}{RGB}{93,184,231}
\definecolor{LillyBlue50}{RGB}{156,207,239}
\definecolor{LillyBlue25}{RGB}{208,231,247}

\definecolor{LillyPurple}{RGB}{177,5,157}
\definecolor{LillyPurple75}{RGB}{213,99,185}
\definecolor{LillyPurple50}{RGB}{231,153,208}
\definecolor{LillyPurple25}{RGB}{245,204,231}


\setbeamercolor*{section text}{fg=white!80!gray}

\setbeamercolor{item projected}{bg=LillyRed}
\setbeamercolor{itemize item}{fg=LillyRed}
\setbeamercolor{itemize subitem}{fg=LillyMediumGray}
\setbeamercolor{description item}{fg=LillyRed}
\setbeamercolor{enumerate item}{fg=LillyRed}
\setbeamercolor{enumerate subitem}{fg=LillyMediumGray}


\setbeamercolor{palette secondary}{fg=white,bg=LillyRed}
% This green is just so that I can figure out when, if ever, this
% is used. If it is a useful palette, it should be changed to something
% else. Let me know if you figure out what uses these.
\setbeamercolor{palette tertiary}{fg=green,bg=LillyMediumGray}
\setbeamercolor{palette quaternary}{fg=white,bg=LillyRed}

\setbeamercolor{titlelike}{parent=palette secondary}

\setbeamercolor{block title}{parent=palette secondary}
\setbeamercolor{block title alerted}{use=alerted text,fg=green,bg=alerted text.fg}
\setbeamercolor{block title example}{use=example text,fg=green,bg=example text.fg}

% This ends up applying to most navigation-related things
\setbeamercolor{sidebar}{bg=LillyMediumGray}

\setbeamercolor{palette sidebar primary}{fg=white}
\setbeamercolor{palette sidebar secondary}{fg=LillyMediumGray}

\setbeamercolor*{separation line}{bg=LillyMediumGray}
\setbeamercolor*{fine separation line}{bg=LillyMediumGray}


\mode
<all>
33 changes: 33 additions & 0 deletions beamerouterthemesubtle.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
% Copyright 2007 by Till Tantau
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/licenses/LICENSE for more details.

\ProvidesPackageRCS $Header: /home/vedranm/bitbucket/beamer/base/themes/outer/beamerouterthemeinfolines.sty,v 445340293dde 2010/07/10 12:51:34 rivanvx $


\mode<presentation>

% \setbeamercolor*{author in head/foot}{parent=palette tertiary}
\setbeamercolor*{title in head/foot}{parent=palette secondary}
\setbeamercolor*{page in head/foot}{parent=palette primary}

% \setbeamercolor*{section in head/foot}{parent=palette tertiary}
% \setbeamercolor*{subsection in head/foot}{parent=palette primary}

\defbeamertemplate*{footline}{subtle theme}
{
\leavevmode%
\makebox[\paperwidth][r]{\insertframenumber{} / \inserttotalframenumber{}\hspace*{1ex}}%
\vspace*{1ex}%
\vskip0pt%
}

\setbeamersize{text margin left=1em,text margin right=1em}

\mode
<all>
Loading

0 comments on commit 0054e98

Please sign in to comment.