1
0

Add figures

This commit is contained in:
Jip J. Dekker 2018-05-04 16:11:23 +10:00
parent 89eeff700e
commit 5f9551e832
No known key found for this signature in database
GPG Key ID: 9CB1B58997DD0D58

View File

@ -11,6 +11,7 @@
\usepackage[utf8]{inputenc} %support umlauts in the input
% Easier compilation
\usepackage{bookmark}
\usepackage{graphicx}
\begin{document}
\title{Week 7 - Evidence and experiments}
@ -23,16 +24,58 @@
\section{Introduction} \label{sec:introduction}
\section{Method} \label{sec:method}
We are testing two hypotheses. The first hypothesis that we test is that tall players have an advantage over smaller players. The second hypothesis that we test is that left-handed players have an advantage over right-handed players. To build an intuition of how the data behaves with respect to the hypotheses we are testing, we created visual representations using tools from the Matplotlib, and Seaborn libraries and then we perform statistical tests to measure these effects.
\subsection{Visualisation} \label{subsec:visualisation}
\subsubsection{Effect of Height} \label{subsubsec:vheight}
\subsubsection{Effect of Height} \label{subsubsec:vheight}
We started by performing a scatter plot of points earned by players with respect to their heights, to which we were surprised to find a player recorded to approximately 18m tall. This, we found to be somewhat contradictory to the currently held record of 2.72m. Removing this outlier, we can see a sufficient spread in height, points and ranking. We can also see slight discrepancy in height between males and females, and because of this, we perform separate statistical tests on males and females as to remove the effect of the gender. We plot both points with respect to height and height with respect to ranking.
The plot of height with respect to ranking does not show an explicit relationship between the two variables, however we aim to test this relation in the Results Section.
We started by performing a scatter plot of points earned by players with respect to their heights, to which we were surprised to find a player recorded to approximately 18m tall. This, we found to be somewhat contradictory to the currently held record of 2.72m. Removing this outlier, we can see a sufficient spread in height, points and ranking. We can also see slight discrepancy in height between males and females, and because of this, we perform separate statistical tests on males and females as to remove the effect of the gender. We plot both points with respect to height and height with respect to ranking.
The plot of height with respect to ranking does not show an explicit relationship between the two variables, however we aim to test this relation in the Results Section.
\begin{figure}[ht]
\centering
\label{fig:distr}
\includegraphics[width=\textwidth]{correlation.png}
\caption{Distribution of each of the variables recorded in the data, as a function of the distance from an event}
\end{figure}
\begin{figure}[ht]
\centering
\label{fig:distr}
\includegraphics[width=\textwidth]{outlier.png}
\caption{Distribution of each of the variables recorded in the data, as a function of the distance from an event}
\end{figure}
\begin{figure}[ht]
\centering
\label{fig:distr}
\includegraphics[width=\textwidth]{pointheight.png}
\caption{Distribution of each of the variables recorded in the data, as a function of the distance from an event}
\end{figure}
\begin{figure}[ht]
\centering
\label{fig:distr}
\includegraphics[width=\textwidth]{heightrank.png}
\caption{Distribution of each of the variables recorded in the data, as a function of the distance from an event}
\end{figure}
\begin{figure}[ht]
\centering
\label{fig:distr}
\includegraphics[width=\textwidth]{handdistr.png}
\caption{Distribution of each of the variables recorded in the data, as a function of the distance from an event}
\end{figure}
\begin{figure}[ht]
\centering
\label{fig:distr}
\includegraphics[width=\textwidth]{handdistr_gender.png}
\caption{Distribution of each of the variables recorded in the data, as a function of the distance from an event}
\end{figure}
\section{Results} \label{sec:results}