\documentclass[11pt, oneside]{article}   	% use "amsart" instead of "article" for AMSLaTeX format
\usepackage[top=1in,bottom=0.5in]{geometry}                		% See geometry.pdf to learn the layout options. There are lots.
\geometry{letterpaper}                   		% ... or a4paper or a5paper or ... 
%\geometry{landscape}                		% Activate for rotated page geometry
%\usepackage[parfill]{parskip}    		% Activate to begin paragraphs with an empty line rather than an indent
\usepackage{graphicx}				% Use pdf, png, jpg, or eps§ with pdflatex; use eps in DVI mode
								% TeX will automatically convert eps --> pdf in pdflatex		
\usepackage{amssymb, amsmath}

%SetFonts

%SetFonts


\title{Stat 185 - In class problems \\
\large Monday, August 28}
\date{}							% Activate to display a given date or no date
\author{}

\begin{document}
\maketitle
\thispagestyle{empty}
\pagestyle{empty}
\vspace{-0.5in}
\begin{enumerate}
	\item Figure \ref{default} shows the long jump lengths in feet of 5 high school long jumpers. The numbers at the base of the bar plot and surrounding the pie chart are the 
	numbers of the contestants.
	\begin{enumerate}
		\item Which contestant won?
		\item Which figure did you use to answer that question?
		\item What type of data is the list of contestant numbers?
	\end{enumerate}
	
	\item The table below shows the total number of days that several people went bike riding last year. 
	\begin{enumerate}
		\item Convert the table to a relative frequency table.
		\item Sketch a rough bar plot of the data
	\end{enumerate}
	
        \begin{tabular}{l|l|l|l}
            Mark & Jacob & Dave & Adrienne  \\
            \hline
            301  & 365   & 221  & 56 
        \end{tabular}

	\item 910 randomly sampled registered 
        voters from Tampa, FL were asked if they thought workers who have illegally 
        entered the US should be (i) allowed to keep their jobs and apply for 
        US citizenship, (ii) allowed to keep their jobs as temporary guest workers 
        but not allowed to apply for US citizenship, or (iii) lose their jobs and 
        have to leave the country. The results of the survey by political ideology 
        are shown below.
        \begin{center}
            \begin{tabular}{l l c c c c}
                                    &                           & \multicolumn{3}{c}{\textit{Political ideology}} \\
            \cline{3-5}
                                    &                           & Conservative  & Moderate  & Liberal   & Total \\
            \cline{2-6}
                                    & (i) Apply for citizenship & 57            & 120       & 101       & 278 \\
                                    & (ii) Guest worker         & 121           & 113       & 28        & 262 \\
            \raisebox{1.5ex}[0pt]{\emph{Response}} & (iii) Leave the country    & 179       & 126       & 45        & 350 \\ 
                                    & (iv) Not sure             & 15            & 4         & 1         & 20\\
            \cline{2-6}
                                    & Total                     & 372           & 363       & 175       & 910
            \end{tabular}
        \end{center}
        \begin{enumerate}
            \item What percent of these Tampa, FL voters identify themselves as conservatives?
            \item What percent of these Tampa, FL voters are in favor of the citizenship option?
            \item What percent of these Tampa, FL voters identify themselves as conservatives 
            and are in favor of the citizenship option?
            \item What percent of these Tampa, FL voters who identify themselves as 
            conservatives are also in favor of the citizenship option? What percent of 
            moderates share this view? What percent of liberals share this view?
        \end{enumerate}

\end{enumerate}


\begin{figure}[htbp]
\begin{center}
\includegraphics*[width=5in]{p1.pdf}
\caption{A pie chart and a bar plot}
\label{default}
\end{center}
\end{figure}



\end{document}  
