% This is a simple LaTex sample document that gives a submission format
%   for IEEE PAMI-TC conference submissions.  Use at your own risk.

% Make two column format for LaTex 2e.
\documentclass[11pt,twocolumn]{article} %,twocolumn
\usepackage[dvips]{graphicx,graphics,color}
\usepackage{times,amsmath,amsfonts}

% Use following instead for LaTex 2.09 (may need some other mods as well).
% \documentstyle[times,twocolumn]{article}

% Set dimensions of columns, gap between columns, and paragraph indent
\setlength{\textheight}{9.2in} \setlength{\textwidth}{6.875in}
%\setlength{\columnsep}{0.3125in} \setlength{\topmargin}{0in}
\setlength{\headheight}{0in} \setlength{\headsep}{-1in}
\setlength{\parindent}{1pc}
\setlength{\oddsidemargin}{-.1875in}  % Centers text.
\setlength{\evensidemargin}{-.1875in}

% Add the period after section numbers.  Adjust spacing.
\newcommand{\Section}[1]{\vspace{-8pt}\section{\hskip -1em.~~#1}\vspace{-3pt}}
\newcommand{\SubSection}[1]{\vspace{-3pt}\subsection{\hskip -1em.~~#1}
        \vspace{-3pt}}
\newcommand{\bqn}{\begin{eqnarray}}
\newcommand{\eqn}{\end{eqnarray}}
\newcommand {\diff}[1] {\frac{\partial}{\partial #1}}
\newcommand{\jacob}[3]{\frac{\partial^2 #3}{\partial #1 \partial #2}}
\newcommand{\der}[2]{\frac{\partial #2}{\partial #1}}
\begin{document}

% Don't want date printed
%\date{January 23, 2003}

% Make title bold and 14 pt font (Latex default is non-bold, 16pt)
\title{Stat 312: Lecture 4\\
Maximum Likelihood Estimation}

% For single author (just remove % characters)
\author{Moo K. Chung\\
mchung@stat.wisc.edu}
% For two authors (default example)
\maketitle
\thispagestyle{empty}
\section*{Concepts}

\begin{enumerate}
\item For a random sample $X_1,\cdots,X_n$  the {\em likelihood function} is given as the product of probability or density functions, i.e. $L(\theta)= f(x_1;\theta)f(x_2;\theta)\cdots f(x_n;\theta)$.
\item The {\em maximum likelihood estimatate} of $\theta$ maximizes $L(\theta)$. If we denote $\hat \theta=\theta (x_1,\cdots,x_n)$ to be the maximum likelihood estimate, The {\em maximum likelihood estimator} (MLE) of $\theta$ is $\hat \theta = \hat \theta(X_1,\cdots,X_n)$. {\bf Note:} $x_i$ are numbers while $X_i$ are random variables.

\item When the sample size is large, the maximum likelihood estimator of $\theta$ is approximately unbiased. The MLE of $\theta$ is approximately the MVUE of $\theta$. This is why it is the most widely used parameter estimation technique.

\item If explicit density function is not available, you can not apply MLE. In this case apply the method of moment matching. 

\item (Invariance Principle) If $\hat \theta_1, \hat \theta_2$ are the MLE's of $\theta_1,\theta_2$, the MLE of $h(\theta_1,\theta_2)$ is $h(\hat \theta_1, \hat \theta_2)$.
\end{enumerate}
\section*{In-class problems}
Example 6.15.
Example 6.16.
Example 6.21.\\
Exercise 6.25. Assuming normal distribution, find $c$ such that $P(\mbox{strength} \leq c) = 0.95$. 

\begin{figure}
%\centering
%\renewcommand{\baselinestretch}{1}
\includegraphics[scale=0.4]{dnorm.ps}
\caption{Density of $N(0,1)$}
\end{figure}

\begin{verbatim}
> x<-strength
> length(x)
[1] 10
> sd(x)
[1] 19.87852
> sigma<-sqrt((length(x)-1)/length(x))*sd(x)
> sigma
[1] 18.85842
> qnorm(0.95,mu,sigma)
[1] 415.4193
> qnorm(0.95)
[1] 1.644854
> pnorm(415,mu,sigma)
[1] 0.9476644
> y<- -30:30/10
> plot(y,dnorm(y),'l')
\end{verbatim}
\section*{Self-study problems}
Example 6.17., Example 6.18., Exercise 6.23., Exercise 6.29.


\end{document}
