···1+\documentclass[a4paper]{article}
2+% To compile PDF run: latexmk -pdf {filename}.tex
3+% Math package
4+\usepackage{amsmath}
5+%enable \cref{...} and \Cref{...} instead of \ref: Type of reference included in the link
6+\usepackage[capitalise,nameinlink]{cleveref}
7+% Enable that parameters of \cref{}, \ref{}, \cite{}, ... are linked so that a reader can click on the number an jump to the target in the document
8+\usepackage{hyperref}
9+% UTF-8 encoding
10+\usepackage[T1]{fontenc}
11+\usepackage[utf8]{inputenc} %support umlauts in the input
12+% Easier compilation
13+\usepackage{bookmark}
14+15+\begin{document}
16+ \title{Week 7 - Evidence and experiments}
17+ \author{
18+ Jai Bheeman \and Kelvin Davis \and Jip J. Dekker \and Nelson Frew \and Tony
19+ Silvestere
20+ }
21+ \maketitle
22+23+ \section{Introduction} \label{sec:introduction}
24+25+ \section{Method} \label{sec:method}
26+27+ \section{Results} \label{sec:results}
28+29+ \section{Discussion} \label{sec:discussion}
30+31+\end{document}
···1+\documentclass[a4paper]{article}
2+% To compile PDF run: latexmk -pdf {filename}.tex
3+4+% Math package
5+\usepackage{amsmath}
6+%enable \cref{...} and \Cref{...} instead of \ref: Type of reference included in the link
7+\usepackage[capitalise,nameinlink]{cleveref}
8+% Enable that parameters of \cref{}, \ref{}, \cite{}, ... are linked so that a reader can click on the number an jump to the target in the document
9+\usepackage{hyperref}
10+% UTF-8 encoding
11+\usepackage[T1]{fontenc}
12+\usepackage[utf8]{inputenc} %support umlauts in the input
13+% Easier compilation
14+\usepackage{bookmark}
15+16+\begin{document}
17+ \title{Week 8 - Quantitative data analysis}
18+ \author{
19+ Jai Bheeman \and Kelvin Davis \and Jip J. Dekker \and Nelson Frew \and Tony
20+ Silvestere
21+ }
22+ \maketitle
23+24+ \section{Introduction} \label{sec:introduction}
25+26+ \section{Method} \label{sec:method}
27+28+ \section{Results} \label{sec:results}
29+30+ \section{Discussion} \label{sec:discussion}
31+32+\end{document}
···1+\documentclass[a4paper]{article}
2+% To compile PDF run: latexmk -pdf {filename}.tex
3+4+% Math package
5+\usepackage{amsmath}
6+%enable \cref{...} and \Cref{...} instead of \ref: Type of reference included in the link
7+\usepackage[capitalise,nameinlink]{cleveref}
8+% Enable that parameters of \cref{}, \ref{}, \cite{}, ... are linked so that a reader can click on the number an jump to the target in the document
9+\usepackage{hyperref}
10+% UTF-8 encoding
11+\usepackage[T1]{fontenc}
12+\usepackage[utf8]{inputenc} %support umlauts in the input
13+% Easier compilation
14+\usepackage{bookmark}
15+\usepackage{graphicx}
16+17+\begin{document}
18+ \title{Week 9 - Correlation and Regression}
19+ \author{
20+ Jai Bheeman \and Kelvin Davis \and Jip J. Dekker \and Nelson Frew \and Tony
21+ Silvestere
22+ }
23+ \maketitle
24+25+ \section{Introduction} \label{sec:introduction}
26+ We present a report on the relationship between the heights and weights of the
27+ top tennis players as catalogued in provided data. We use statistical analysis
28+ techniques to numerically describe the characteristics of the data, to see how
29+ trends are exhibited within the data set. We conclude the report with a brief
30+ discussion of the implications of the analysis and provide insights on
31+ potential correlations that may exist.
32+33+ \section{Method} \label{sec:method}
34+ Provided with a set of 132 unique records of the top 200 male tennis players,
35+ we sought to investigate the relationship between the height of particular
36+ individuals with their respective weights. We conducted basic statistical
37+ correlation analyses of the two variables with both Pearson's and Spearman's
38+ correlation coefficients to achieve this. Further, to understand the
39+ correlations more deeply, we carried out these correlation tests on the full
40+ population of cleaned data (removed duplicates etc), alongside several random
41+ samples and samples of ranking ranges within the top 200. To this end, we made
42+ use of Microsoft Excel tools and functions of the Python library SciPy.
43+44+ We specifically have made use of these separate statistical analysis tools in the
45+ interest of sanity checking our findings. To do this, we simply replicated the
46+ correlation tests within other software environments.
47+48+ \section{Results} \label{sec:results}
49+ We performed separate statistical analyses on 10 different samples of the
50+ population, as well as the population itself. This included 11 separate
51+ subsets of the rankings:
52+ \begin{itemize}
53+ \item The top 20 entries
54+ \item The middle 20 entries
55+ \item The bottom 20 entries
56+ \item The top 50 entries
57+ \item The bottom 50 entries
58+ \item 5 randomly chosen sets of 20 entries
59+ \end{itemize}
60+\vspace{1em}
61+ Table \ref{tab:excel_results} shows the the results for the conducted tests.
62+63+ \begin{table}[ht]
64+ \centering
65+ \label{tab:excel_results}
66+ \begin{tabular}{|l|r|r|}
67+ \hline
68+ \textbf{Test Set} & \textbf{Pearson's Coefficient} & \textbf{Spearman's Coefficient} \\
69+ \hline
70+ \textbf{Full Population} & 0.77953 & 0.73925 \\
71+ \textbf{Top 20} & 0.80743 & 0.80345 \\
72+ \textbf{Middle 20} & 0.54134 & 0.36565 \\
73+ \textbf{Bottom 20} & 0.84046 & 0.88172 \\
74+ \textbf{Top 50} & 0.80072 & 0.78979 \\
75+ \textbf{Bottom 50} & 0.84237 & 0.81355 \\
76+ \textbf{Random Set \#1} & 0.84243 & 0.80237 \\
77+ \textbf{Random Set \#2} & 0.56564 & 0.58714 \\
78+ \textbf{Random Set \#3} & 0.59223 & 0.63662 \\
79+ \textbf{Random Set \#4} & 0.65091 & 0.58471 \\
80+ \textbf{Random Set \#5} & 0.86203 & 0.77832
81+ \\ \hline
82+ \end{tabular}
83+ \caption{Table showing the correlation coefficients between height and
84+ weight using different test sets. All data is rounded to 5 decimal
85+ places}
86+ \end{table}
87+88+ \begin{figure}[ht]
89+ \centering
90+ \label{fig:scipy}
91+ \includegraphics[width=0.6\textwidth]{pearson.png}
92+ \includegraphics[width=0.6\textwidth]{spearman.png}
93+ \caption{The Pearsion (top) and Spearman (bottom) correlations coefficients
94+ of the data set as computed by the Pandas Python library}
95+ \end{figure}
96+97+ \section{Discussion} \label{sec:discussion}
98+ The results generally indicate that there is a fairly strong positive
99+ correlation between the weight and weight of an individual tennis player,
100+ within the top 200 male players. The population maintains a strong positive
101+ correlation with both Pearson's and Spearman's correlation coefficients,
102+ indicating that a relationship may exist. Our population samples show
103+ promising consistency with this, with 6 seperate samples having values above
104+ 0.6 with both techniques. The sample taken from the middle 20 players,
105+ however, shows a relatively weaker correlation compared with the top 20 and
106+ middle 20, which provides some insight into the distribution of the strongest
107+ correlated heights and weights amongst the rankings. All five random samples
108+ of 20 taken from the population indicate however that there does appear to be
109+ a consistent trend through the population, which corresponds accurately with
110+ the coefficients on the general population.
111+112+113+\end{document}