Chapter 2. R and Statistics

In this chapter, we will cover the following topics:

  • Understanding data sampling in R
  • Operating a probability distribution in R
  • Working with univariate descriptive statistics in R
  • Performing correlations and multivariate analysis
  • Operating linear regression and a multivariate analysis
  • Conducting an exact binomial test
  • Performing student's t-test
  • Performing the Kolmogorov-Smirnov test
  • Understanding the Wilcoxon Rank Sum and Signed Rank test
  • Working with Pearson's Chi-squared test
  • Conducting a one-way ANOVA
  • Performing a two-way ANOVA

Introduction

The R language, as the descendent of the statistics language, S, has become the preferred computing language in the field of statistics. Moreover, due to its status as an active contributor ...

Get R: Recipes for Analysis, Visualization and Machine Learning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.