IQSS Beamer Class Demonstration

Beamer Features

Some of Gary's Examples

What's this course about?

::: incremental

:::

How much math will you scare us with?

. . .

\alert{A Test: What's this? \begin{align} b=(X'X)^{-1}X'y \end{align} }

Systematic Components: Examples

\includegraphics[width=8cm]{figs/functionalForms}

Negative Binomial Derivation

\uncover<+->{Recall:}

\begin{equation} \uncover<+->{\Pr(A|B)=\frac{\Pr(AB)}{\Pr(B)} \implies \alertb{\Pr(AB)}=\alerte{\Pr(A|B)}\alertd{\Pr(B)}} \end{equation}

\alertb<1-1>{one} \alertc<2-2>{two} \alertd<3-3>{three}

\begin{align} \uncover<+->{\text{NegBin}(y|\phi,\sigma^2) &= \int_0^\infty \alerte{\text{Poisson}(y|\lambda)} \times\alertd{\text{gamma}(\lambda|\phi,\sigma^2)}d\lambda\} \uncover<+->{&= \int_0^\infty \alertb{\P(y,\lambda|\phi,\sigma^2) }d\lambda\} \uncover<+->{&= \frac{\Gamma\left(\frac{\phi}{\sigma^2-1}+y_i\right)} {y_i!\Gamma\left(\frac{\phi}{\sigma^2-1}\right)} \left(\frac{\sigma^2-1}{\sigma^2}\right)^{y_i} \left(\sigma^2\right)^{\frac{-\phi}{\sigma^2-1}}} \end{align}

Other Features

Structural Features

Structural Features

Levels of Structure

\alertc{Overlay Alerts}

On the first overlay, \alert<1>{this text} is highlighted (or \emph{alerted}).
On the second, \alert<2>{this text} is.

Code blocks

\footnotesize

# Say hello in R
hello <- function(name) paste("hello", name)

. . .

# Say hello in Python
def hello(name):
return("Hello" + " " + name)

. . .

-- Say hello in Haskell
hello name = "Hello" ++ " " ++ name

. . .

/* Say hello in C */
#include <stdio.h>
int main()
{
  char name[256];
  fgets(name, sizeof(name), stdin);
  printf("Hello %s", name);
  return(0);
}

\normalsize

Alerts

More Features

Blocks

Other Features

Levels of Structure

Theorems and Proofs

\framesubtitle{The proof uses \textit{reductio ad absurdum}.}

Theorem

There is no largest prime number.

Proof

  • Suppose $p$ were the largest prime number.
  • Let $q$ be the product of the first $p$ numbers.
  • Then $q+1$ is not divisible by any of them.
  • But $q + 1$ is greater than $1$, thus divisible by some prime number not in the first $p$ numbers. \qedhere

Blocks

Normal block

A \alert{set} consists of elements.

\alert{Alert block}

$2=2$.

\alertc{Example block}

The set ${1,2,3,5}$ has four elements.

Appendix


Backup Slides


Details


Text omitted in main talk.


More details


Even more details



Try the binb package in your browser

Any scripts or data that you put into this service are public.

binb documentation built on July 2, 2020, 4:08 a.m.