\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}
\usepackage{hyperref}

%SetFonts

%SetFonts
%0.77652974 -0.94089785 -0.66666491 -0.04677145

\title{Stat 185 - In class problems \\
\large Wednesday, September 13}
\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{fig:scatter_plots} shows several scatter plots.
	\begin{enumerate}
		\item Classify the relationship between the variables as:
		strongly linear, moderately linear, weakly linear, non-existence, or strong but non-linear.
		\item Match the scatter plots with their correlation from below:
		\begin{itemize}
			\item $-0.666$
			\item $0.776$
			\item $-0.0467$
			\item $-0.941 $
		\end{itemize}
	\end{enumerate}
	
	\item In our outline notes on Scatter plots and correlation (\url{https://goo.gl/ZAoR79}), we used some data from the CDC to examine the relationship between
	height (in inches) and weight (in pounds) of men. We found a correlation of about $0.47$.
	\begin{enumerate}
		\item What does the value (both the magnitude and the sign) of the correlation tell us about the relationship?
		\item Suppose we measured the height in centimeters and the weight (or mass) in kilograms. What would the value of the correlation be and why?
	\end{enumerate}
\end{enumerate}

\begin{figure}[htbp]
\begin{center}
\includegraphics*[width=5in]{scatter_pic.pdf}
\caption{A few scatter plots}
\label{fig:scatter_plots}
\end{center}
\end{figure}

%# R Code
%pdf('~/Documents/html/classes/Fall2017Stat185/ProblemSheets/09.13.17.scatter_pic.pdf')
%set.seed(1)
%par(mar=c(1,1,1,1))
%layout(matrix(c(1,2,3,4), 2, 2, byrow = TRUE), widths=c(2,2), heights=c(2,2), respect=T)
%x1 = runif(100, -2,2)
%y1 = x+1 + rnorm(100)
%plot(x1,y1, xlab='',ylab='', bg='lightblue',pch=21, 
%  asp=1, xaxt='n',yaxt='n', main='(a)'
%)
%x2 = runif(100, -2,2)
%y2 = -0.5*x2+1 + rnorm(100,0,0.2)
%plot(x2,y2, xlab='',ylab='', bg='lightblue',pch=21, 
%  asp=1, xaxt='n',yaxt='n', main='(b)'
%)
%x3 = runif(100, -2,2)
%y3 = -0.5*x3+1 + rnorm(100,0,0.5)
%plot(x3,y3, xlab='',ylab='', bg='lightblue',pch=21, 
%  asp=1, xaxt='n',yaxt='n', main='(c)'
%)
%x4 = runif(100, -2,2)
%y4 = runif(100, -2,2)
%plot(x4,y4, xlab='',ylab='', bg='lightblue',pch=21, 
%  asp=1, xaxt='n',yaxt='n', main='(d)'
%)
%dev.off()



\end{document}  
