Exercises
Here are a few exercises for you to practise and revise the concepts learned in this chapter:
-
Read about data-dredging and p-hacking. Why is it dangerous not to formulate a hypothesis, set an alpha level, and set a sample size before collecting data and analyzing results?
-
Use the library(help="datasets") command to find a list of datasets that R has already inbuilt. Pick a few interesting ones and form a hypothesis about each one. Rigorously define your null and alternative hypotheses before you start. Test those hypotheses even if it means learning about other statistical tests.
-
How you might quantify the effect size of a one-way ANOVA? Look up eta-squared if you get stuck.
-
In ethics, the doctrine of moral relativism holds ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access