\documentclass[twocolumn]{article}
% \documentclass{article}

\setlength{\oddsidemargin}{-0.5in}
\setlength{\evensidemargin}{-0.5in}
\setlength{\topmargin}{0.0in}
\setlength{\headheight}{0in}
\setlength{\headsep}{0in}
\setlength{\textwidth}{7.0in}
\setlength{\textheight}{9.5in}
\setlength{\parindent}{0in}
\setlength{\parskip}{0.05in}
\setlength{\columnseprule}{0.3pt}

\setlength\columnsep{25pt}

\usepackage{fancyvrb}
\usepackage{relsize}
\usepackage{hyperref}

\usepackage{listings}
\usepackage{amsmath}

\begin{document}

\lstset{xleftmargin=5mm,framexleftmargin=10mm,basicstyle=\footnotesize}

Name: \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

Directions: MAKE SURE TO COPY YOUR ANSWERS TO A SEPARATE SHEET FOR SENDING
ME AN ELECTRONIC COPY LATER.

{\bf 1.} This problem concerns the parking place model, Section 4.2.2.

\begin{itemize}

\item [(a)] (15) Let $X$ denote the number of empty spaces in the first
block.  Find $Var(X)$.

\item [(b)] (15) Find $p_D(2)$.

\item [(c)] (15) A group of friends in 3 cars needs 3 spaces. They will
take the first 3 that they find. Let $L$ denote the space number of the
spot in which the third car ends up. (The first car will take the first
space, and so on.)  Find $P(L = 15)$.

\end{itemize}

{\bf 2.} (20) In (4.31), suppose $n$ is 3 rather than 2.  Find $F_X(1)$.

{\bf 3.} Consider (4.26).  The mean and variance of $X$ should be given by
(4.29) and (4.30).  But suppose due to a flaw in the recording process,
there is a 0.20 chance that $B_5$ is a duplicate of $B_4$.  Assume $0 <
p < 1$.

\begin{itemize}

\item [(a)] (20) State which one of the following will be true.

   \begin{itemize}
   
   \item [(i)] $EX = np$
   
   \item [(ii)] $EX < np$
   
   \item [(iii)] $EX > np$
   
   \item [(iv)] None of the above is necessarily true.
   
   \end{itemize} 

\item [(b)] (15) State which one of the following will be true.

   \begin{itemize}
   
   \item [(i)] $Var(X) = np(1-p)$
   
   \item [(ii)] $Var(X) < np(1-p)$
   
   \item [(iii)] $Var(X) > np(1-p)$
   
   \item [(iv)] None of the above is necessarily true.
   
   \end{itemize}

\end{itemize}

\onecolumn

\newpage

{\bf Solutions:}

{\bf 1.a} The random variable in question is binomially distributed,
so the variance is given by (4.30), $10 (0.15) (1-0.15)$.

{\bf 1.b}

\begin{equation}
P(D = 2) = P(N = 9 \textrm{ or } N = 13) =
(1-0.15)^8 0.15 + (1-0.15)^{12} 0.15
\end{equation}

{\bf 1.c} This is negative binomial.  Use (4.36), $k = 15,~ r = 3,~ p =
0.15$.

{\bf 2.} 

\begin{equation}
F_X(1) = P(X \leq 1) = P(X = 0 \textrm{ or } X = 1) =
(1-0.5)^3 + 3 (1-0.5)^2 0.5
\end{equation}

{\bf 3.a} Answer (i) is correct.  Eqn. (4.29) uses (3.19), which is true
regardless of whether the terms are independent.  The fact that the last
two terms are not independent, indeed are equal, is irrelevant.  The
mean of $B_5$ will be $p$ whether the flaw surfaces or not.

{\bf 3.b} Answer (iii) is correct.  Eqn. (4.30) uses (3.75), which
requires independence.  Otherwise we must use (3.76), in which most of
the covariance terms will be 0 but one will be positive.

\end{document}
