Analyzing time series data using GAMs

Jacolien van Rij and Martijn Wieling

LSA 2015 Chicago


Here the slides, lab sessions, data, etc are listed:


Lab sessions with answers in green/blue:

Getting started:


Install R 3.2.1

If you have R, but are not sure which version type one of these commands in R:

R.version.string sessionInfo()

If you do not have R installed, or an older version of R, download R from: http://cran.r-project.org


Packages

Loading installed packages:

library(mgcv)
library(itsadug)

If you do not yet have this package installed, you can install it with the following commands:

install.packages("mgcv", repos="http://cran.us.r-project.org" )
install.packages("itsadug", repos="http://cran.us.r-project.org" )

After installing the package, you still need to load the package.

Checking the package versions:

library(mgcv)
library(itsadug)

packageVersion("mgcv") # should be 1.8-6
packageVersion("itsadug") # should be 1.0.1


Further readings and materials:

Shiny apps

Installing the package nonlinear with shiny demos to illustrate important concepts: download.file("http://www.sfs.uni-tuebingen.de/~jvanrij/packages/nonlinear_0.1.tar.gz", "nonlinear_0.1.tar.gz")
install.packages("nonlinear_0.1.tar.gz", type="source", repos=NULL)


Readings

Introduction to R:

Mixed-effects analyses:

Other:


Contact

Eberhard Karls Universität Tübingen

Seminar für Sprachwissenschaft Quantitative Linguistik
Wilhelmstraße 19
D-72074 Tübingen, Germany
(room 3.29)

vanrij.jacolien 'AT'
gmail 'dot' com
07071/29-73965