Linguistics 460: Textual Data Analysis with R
UNC-Chapel Hill Linguistics
Fall 2025
Elliott Moreton

Week 17, 2025.12.12.Fr: FINAL EXAM, 4-7 p.m.

Week 16, 2025.12.02.Tu

Class: Project presentations III

Final-exam review

Assignment for 12/12 F, 4 p.m.: Revise project draft in response to feedback.

Week 15, 2025.11.25.Tu

Class: Project presentations II

Assignment for 12/12 F, 4 p.m.: Revise project draft in response to feedback.

Week 14, 2025.11.19.Th

Class: Project presentations I

Assignment for 12/12 F, 4 p.m.: Revise project draft in response to feedback.

Week 14, 2025.11.17.Tu

Topics: Project clinic in class

Assignments:

Week 13, 2025.11.13.Th

Topics: Linear regression

Week 13, 2025.11.11.Tu

Topics: Tests of association between categorical variables

Week 12, 2025.11.06.Th

Topics: Testing hypotheses about a population mean.

Class:

Assignment for 11/13 Tu: Lab 7, comparison of reaction times in a synonymy-choice task

Week 12, 2025.11.04.Tu

Topics: Null-hypothesis significance testing (continued).

Class:

Assignment:

Week 11, 2025.10.30.Th

Topics: Null-hypothesis significance testing

Class:

Assignment:

Week 11, 2025.10.28.Tu

Topics: Confidence intervals

Class:

Assignment:

Week 10, 2025.10.23.Th

Topics: Sampling theory.

Class:

Assignment for 10/28 Tu:

Week 10, 2025.10.21.Tu

Topics: Inferential statistics.

Class:

Assignment for 10/23 Th:

Week 9, 2025.10.14.Tu

Topics: Experimental design. Descriptive statistics.

Class:

Assignment: Read Navarro 2017, Chapter 5, Sections 5.1, 5.2, 5.4, 5.7--5.10, and do Reading Quiz 07 (on Canvas). This is about descriptive statistics. Navarro uses base R rather than tidyverse R, so skip 5.5, which presents base R's alternative to group_by () and summarize ().

Week 8, 2025.10.09.Th

Topics: Research projects.

Class:

Assignment:

Week 7, 2025.10.02.Th

MIDTERM

Please remember to put your name on your paper.

Week 7, 2025.09.30.Tu

Review day for midterm

Topics: Midterm review

Class:

Week 6, 2025.09.25.Th

Topics: LASSO regression for document classification.

Class:

Week 6, 2025.09.23.Tu

Topics: Evaluating classifier performance. Changing parameters to optimize performance

Before class: Please install the naivebayes and psych packages.

Class:

Assignment:

Reminder: Midterm on Thursday, October 2. (Midterm syllabus available on Thursday, September 25.)

Week 5, 2025.09.18.Th

Topics: Naive Bayes classifiers for document classification.

Class:

Assignments:

Announcement: The midterm will be on Thursday, October 2. A midterm syllabus will be available on Thursday, September 27.

Week 5, 2025.09.16.Tu

Topics: Document classification using supervised learning. Document-term matrices. Intro to Naive Bayes classifiers.

Before class: Please make sure these packages are installed:

Class:

Assignments:

Week 4, 2025.09.11.Th

Topics: Sentiment analysis.

Class:

Assignments:

Week 4, 2025.09.09.Tu

Topics: Sentiment analysis.

Before class:

Class:

Assignment for 9/11 Th:

Week 3, 2025.09.04.Th

Topics: "Tidy" data and tidy text.

Before class:

Class:

Assignment for 9/09 Tu:

Week 3, 2025.09.02.Tu

Topics: "Tidy" data and tidy text.

Before class:

Class:

Assignment for 9/04 Th:

Week 2, 2025.08.28.Th

Topics: Regular expressions.

Before class:

Class:

Assignment for 9/02 Tu:

Week 2, 2025.08.26.Tu

Topics: Data filtering and transformation. Strings.

Before class:

Class:

Assignment for 8/28 Th:

Week 1, 2025.08.21.Th

Topics: Data frames and data visualization.

Before class:

Class:

Assignment for 8/26 Tu:

Week 1, 2025.08.19.Tu

Topics: Course organization. R and RStudio.

Class:

i Assignment for 8/21 Th:

Week 0: Before the semester even starts

Assignment for 8/19 Tu: