diff --git a/correlation.png b/correlation.png new file mode 100644 index 0000000..4feb426 Binary files /dev/null and b/correlation.png differ diff --git a/correlation.py b/correlation.py new file mode 100644 index 0000000..45a9b50 --- /dev/null +++ b/correlation.py @@ -0,0 +1,19 @@ +import matplotlib.pyplot as plt +import numpy as np +import pandas as pd + +db = pd.read_csv("istherecorrelation.csv", sep=';') + + +fig, ax = plt.subplots(dpi=300) +ax.plot(db['WO [x1000]'], db['NL Beer consumption [x1000 hectoliter]']) + +ax.set(xlabel='WO [x1000]', ylabel='NL Beer consumption [x1000 hectoliter]', + title='WO vs Beer consumption in the Netherlands') +for item in ([ax.title, ax.xaxis.label, ax.yaxis.label] + + ax.get_xticklabels() + ax.get_yticklabels()): + item.set_fontsize(6) +ax.grid() + +fig.savefig("correlation.png") +plt.show() \ No newline at end of file diff --git a/solution_.md b/solution_.md new file mode 100644 index 0000000..72b1499 --- /dev/null +++ b/solution_.md @@ -0,0 +1,19 @@ +# Titles + +1. MCC Van Dyke et al. (which one? :) ) +- Fantastic yeasts and where to find them: the hidden diversity of dimorphic fungal pathogens +- The rise of coccidioides: forces against the dust devil unleashed + +2. JT Harvey, Applied Ergonomics, 2002 +- An analysis of the forces required to drag sheep over various surfaces + +3. DW Ziegler et al., 2005 +- Correlation of continuous cardiac output measured by a pulmonary artery catheter versus impedance cardiography in ventilated patients + +# Correlation + +As visible in the image below, there is slight correlation between WO and Dutch beer consumption, as both values increase simultaneously. + +![Correlation](correlation.png) + +However, the correlation is flimsy at best, as WO-values of 205-240 show no increase in beer consumption.