Ignasi Bartomeus
September 2022
“He uses statistics as a drunken man uses lamp-posts… for support rather than illumination.” - Andrew Lang (1844-1912)
Goal:
“If you only have a hammer, all your problems will look like nails”
(but do not overdue it -> statistical machismo)
“calling a statistician after the data has been collected is like calling a doctor to do an autopsia”
Call:
lm(formula = d$values ~ d$treatment)
Residuals:
Min 1Q Median 3Q Max
-5.7940 -1.3562 -0.2033 1.2013 6.0050
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 20.7825 0.2037 102.036 < 2e-16 ***
d$treatmenttreatment -1.0960 0.2880 -3.805 0.000189 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 2.037 on 198 degrees of freedom
Multiple R-squared: 0.06814, Adjusted R-squared: 0.06343
F-statistic: 14.48 on 1 and 198 DF, p-value: 0.0001889
Call:
lm(formula = d$values ~ d$treatment)
Residuals:
Min 1Q Median 3Q Max
-6.3779 -2.6385 -0.7762 1.1683 12.5558
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 21.1198 0.4244 49.758 <2e-16 ***
d$treatmenttreatment 0.5667 0.5695 0.995 0.321
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 3.796 on 178 degrees of freedom
Multiple R-squared: 0.005532, Adjusted R-squared: -5.467e-05
F-statistic: 0.9902 on 1 and 178 DF, p-value: 0.321