\documentclass[11pt, oneside]{article}   	% use "amsart" instead of "article" for AMSLaTeX format
\usepackage[left=0.5in, right=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}
\usepackage{hyperref}
\usepackage{upquote}

%SetFonts

%SetFonts


\title{Stat 185 - In Class Problem}
\author{}
\date{Wednesday, July 12}							% Activate to display a given date or no date

\begin{document}
\maketitle
\thispagestyle{empty}




\begin{enumerate}
	\item Suppose you ask two friends to play rock-paper-scissors and count the 
	times each option is played. Table\ref{rock_table} summarizes the data.
	Use a one-way $\chi^2$-test to evaluate whether these data support the hypothesis that players choose between these three options randomly, 
	or if certain options are favored above others.
	
	\item Table \ref{diamond_table} displays the weight of a diamond in carats vs its price for 10 diamonds.
	\begin{enumerate}
		\item Compute the correlation between the two data sets.
		\item Compute the equation of the least squares regression line.
		\item How much does your model predict that a $1/4$ carat diamond will cost?
	\end{enumerate} 
	
\end{enumerate}

\begin{table}[h]
\centering
\caption{Rock - paper - scissors}
\label{rock_table}
\begin{tabular}{c c c}
Rock    & Paper & Scissors   \\
\hline
43      & 21    & 35    
\end{tabular}
\end{table}

\begin{table}[h]
\centering
\caption{Carats vs price}
\label{diamond_table}
\begin{tabular}{c||c|c|c|c|c|c|c|c|c|c}
carats & 0.12 & 0.17 & 0.20 & 0.25 & 0.28 & 0.33 & 0.15 & 0.18 & 0.21 & 0.26 \\
\hline 
price & 494.82 & 768.03 & 1105.03 & 1508.88 & 1826.18 & 2096.89 & 688.24 & 944.90 & 1071.75 & 1504.44
\end{tabular}
\end{table}

\end{document}  
