O'Reilly logo

Data Analysis with R - Second Edition by Tony Fischetti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required