Statistics and R

Below, you will find download info, tutorials, readings and links to other useful websites – but first: an analogy that I found helpful in my teaching, for instance when students forget to load a package after installing it, forget to check data sets for typos etc. before carrying out analyses, …


P-Values, Replication, Reproducibility, and Open Science

Currently, there is an ongoing debate about the way in which we can avoid abuse of statistics and ensure that research is as unbiased as possible. You can find some discussion in a recent articles and more references and links on another pages of the Experimentalfieldlinguistics-Blog:

R(studio): Downloads and Info

Resource Sites, Blogs, and Groups

MOOCs, Youtube, Webinars

General Introduction, Cheat Sheets, and Overview

Useful Packages for Linguistics & Psychology

Working with Strings and Regular Expressions (RegEx)

Importing and Exploring Data

Saving and Exporting

  • In RStudio, you should create a project and save it when you leave RStudio (you will be asked whether you want to save). This will save your workspace and keep the objects that you have created (e.g. through data import). It will also save your history (your list of commands, which you can see in the “history” window). For more info about projects, see: This tutorial can be helpful:
  • In R, you can save the console your commands and the output as a text-file quite straightforwardly, using save file.
  • in RStudio, things are a bit more complicated:
    • You can copy and paste the console content to a text editor and save it there.
    • You can use the save option in your history window for your list of commands; and you can use “sink” for your outputs, e.g.
      > sink("sink-examp.txt")
      > 3+4
      > sink()

      This will create a text file with your output. For this example, this is a single line ([1] 7), but it could also be a list of lines or a table etc.

    • You can use Markdown to publish your data:

Descriptive Statistics and Basic Test Statistics

(Mixed Effects) Regression Models

Vowel Analysis

Online R and Statistics textbooks

See also my Statistics Reading List

R vs. Python: Free books etc.


You can also look at my Pinterest or teaching material list, but first – how about some cooking with R?


One thought on “Statistics and R

  1. Pingback: Updates: Corpora, Statistics and R links | Experimental Linguistics in the Field

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.