typestar

Statistics

11 steps in 4 sets of R.

The reason R exists. Describing a distribution, then the hypothesis tests, then correlation and regression.

Eleven steps. R's statistical functions read close to the notation in a paper, which is either a delight or a shock depending on where you came from.

Start this tour

Describing

Hypothesis tests

  • t-testsComparing two group means for a significant difference.
  • Chi-squared testsTesting independence in a contingency table.

Correlation & regression

Encore

  • regression_report.RFit a multiple regression and print a tidy coefficient table.
  • ab_test.RSimulate an A/B test and report the effect with a t-test.

The other R tours