Skip to content

Instantly share code, notes, and snippets.

@jseabold
Created January 9, 2014 23:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jseabold/8344211 to your computer and use it in GitHub Desktop.
Save jseabold/8344211 to your computer and use it in GitHub Desktop.
Cheat sheet for stochastic independence and conditional probability in latex.
% stochastic independence
\newcommand\independent{\protect\mathpalette{\protect\independenT}{\perp}}
\def\independenT#1#2{\mathrel{\rlap{$#1#2$}\mkern2mu{#1#2}}}
% conditional probability pipe
\mid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment