Statistical analysis and presentation using R

An overview of R functions used in Statistics I

Authors

Tom Louwerse

Tim Mickler

Published

February 1, 2024

Preface

This book presents the R materials related to the course Statistics I.

We have divided the book into two parts:

  1. Working with data in R. This parts focuses on using R and Rstudio, on reading data into R and modifying it using R functions.

  2. Statistical analysis in R. This part focuses on conducting statistical analyses in R.

This part also provides general guidelines on how to present and correctly report the output from statistical analyses. For different tests or measures of association, you will find the output from the statistical software as well as additional information:

Output explanation

This box contains information on the output.

Interpretation

This box contains general guidelines for the interpretation of the results, e.g. different ‘rule-of-thumb’ for the interpretation of effect sizes.

Report

✓ This box shows the general format of how you should report the result of your analysis

Overview per week

For each week in the course, you need to read relevant chapters in both sections. In 2023-2024 this is:

Week Working with data in R Statistical analysis in R
1 1  Working with R and RStudio: the basics, paragraph 1 to 7 7  Measures of central tendency and dispersion
2 1  Working with R and RStudio: the basics, paragraph 8 8  Graphing using ggplot2, 9  Tables and 10  Probability in R
3 2  Filtering, selecting & renaming 11  Normal distribution and 12  Inference for proportions, paragraph 1 and 2
4 3  Creating, summarising & recoding variables and 4  Missing data 12  Inference for proportions
5 5  Advanced recoding of variables 13  Chi-squared and measures of association
6 - 14  T-tests for means
7 6  Combining & joining data sets 15  Power analysis and 16  ANOVA