Linguistic Data: Quantitative Analysis and Visualisation for computer linguists

Материалы по математике, 2018-19 учебный год
Перейти к: навигация, поиск

Course info

Dear students,

Here will be published the materials of the course "Linguistic Data: Quantitative Analysis and Visualisation", taught at the Master programme "Computational Linguistics" in 2018-2019 academic year.

  • Instructors: Olga Lyashevskaya, George Moroz, Alla Tambovtseva and Ilya Schurov.
  • Modules: 3-4


During this course we will use R as a programming language and RStudio as a GUI.

How to install R and RStudio?

1. Download R (you can choose another mirror here if you wish) and install it on your computer. Make sure you did it before installing RStudio.

2. Download RStudio (you need RStudio Desktop Open Source License) and install it on your computer. It is recommended to create a shortcut for RStudio during installation.

It is possible avoid installing anything on your PC, using online version of RStudio.

How to use RStudio?

Read the instruction here.

For successful submission of assignments you should be able to create and save R code files (.R) and RMarkdown files (.Rmd).


Date Topic of the lecture Seminar Optional
12.01 Something about data: population vs sample, descriptive statistics problems1 r-basics RMarkdown: official page, cheatsheet
19.01 Population and samples. Working with data in R artists.txt orientation.csv More on basic graphs in R
26.01 Hypothesis testing binom-test poetry.csv orientation.csv RNC frequency list
02.02 Student's t-test. Central limit theorem: recall t-test dplyr-ggplot icelandic.csv asp-paper (Coretta, 2017)
09.02 Confidence Interval. ANOVA conf-intspoetry.csv icelandic.csv


an interactive visualization of CI by K.Magnusson

more on overlapping CI's (by A.Knezevic)

16.02 Data manipulation with tidyverse. Visualisation with ggplot2 class materials
02.03 Chi-squared and Fisher's exact tests chisq-test socling.csv elision.csv
16.03 Correlation coefficients and a simple linear regression education.csv chekhov.csv guess correlation game
23.03 Multiple linear regression []
06.04 Logistic regression Lab10 more on visualising coefficients, more tests
16.04 Linear mixed-effect models Lab11

R seminars in pdf

12 January: r-basics, 26 January: binom-test, 2 February: t-test-pdf, 9 February: conf-ints, anova, 02 March: chisq-test

R seminars in .R and .Rmd

26 January: binom-test.Rmd, 2 February: t-test.Rmd, t-test.R, 9 February: conf-ints.Rmd, conf-int.R, anova.Rmd, anova.R, 2 March: chisq-test.Rmd, chisq-test.R


Final project