Linguistic Data: Quantitative Analysis and Visualisation for computer linguists
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|
R seminars in pdf
R seminars in .R and .Rmd
- Homework 1 (deadline: 27 January, 23:59), link to submit
- Homework 2 (deadline: 03 February, 23:59)
- Homework 3 (deadline: 10 February, 23:59), Rmd-file to fill in, link to submit your .Rmd file
- Homework 4 (deadline: 22 February, 23:59), Rmd-file to fill in, link to submit your .Rmd file
- Homework 5 (deadline: 3 March, 23:59), Rmd-file to fill in, link to submit your .Rmd file