Main content

Home

Menu

Loading wiki pages...

View
Wiki Version:
**Hello everyone!** Welcome to our OSF repo where we will upload all materials (data files, resources etc.) and provide you with further information on the Linear Modelling course for the Göttingen Summer School. **Course Overview**\ In this workshop, you will learn how to perform an analysis on linguistic data with R, RStudio, and the tidyverse. We will introduce you to statistical models with an emphasis on the (generalized) linear model framework, including mixed models. More specifically, we will be covering topics such as interpreting interactions, fitting logistic and Poisson regression models, random intercepts and random slopes, as well as convergence issues. Importantly, you will learn how to do data analysis in a way that is open and reproducible. **Preparation/Requirements**\ In this course we will be using R and RStudio (in both the theoretical and practical sessions) which you will need to have installed prior to the course. You will also have to download our Materials folder (which will be added soon). You need to have four things ready by the start of the workshop, Tuesday, September 27. 1. Materials folder 2. R 3. RStudio 4. R packages we use for the workshop If you are an experienced R User, it may still be good to re-install R, RStudio, and the specified R packages to make sure that we're all working with the most up-to-date version. **Materials folder**\ Download the entire 'materials' folder. Make sure that you have this folder unzipped and make sure that you know where it is on your computer. **R installation**\ If you haven't installed R yet, you can do so [here](https://cran.rstudio.com/). If you're new to R, the following videos on [how to install R on a Mac](https://www.youtube.com/watch?v=Icawuhf0Yqo) and [how to install R on PC](https://www.youtube.com/watch?v=mfGFv-iB724) may be useful to you. **RStudio installation**\ To install the free version of RStudio, go [here](https://www.rstudio.com/products/rstudio/download/). To get help with installing R and RStudio and getting started we also recommend [this video](https://www.youtube.com/watch?v=lVKMsaWju8w). **R packages installation**\ Open up RStudio and copy and paste the following lines of code into the "console", which is the big window that should display a blinking ">". You need to be connected to the internet while doing this, as the code will instruct R to download the packages from the "Comprehensive R Archive Network" (CRAN). If there's a prompt that asks you to select a server, select any server, ideally one that's reasonably close to you. install.packages('tidyverse') install.packages('lme4') install.packages('afex') install.packages('broom') install.packages('MASS') install.packages('pscl') install.packages('tidytext') install.packages('ggridges') install.packages('swirl') If you're new to installing R packages, don't be frightened by a ton of different very obscure messages occurring in red font. The one package we desperately need for the entire workshop is the tidyverse package. So it would be good to check that the installation has worked, which you can do by copy and pasting the following into the R console: library(tidyverse) How do you know that it worked? It should look something like this [screenshot](https://appliedstatisticsforlinguists.org/tidyverse_ok.png) (details like the package version numbers may vary, that's OK). **Windows users**\ If you're new to R/RStudio and a Windows user, you may have to install RTools separately from R. You can download RTools here: https://cran.r-project.org/bin/windows/Rtools/ **Preparation**\ If you have extra time and want to prepare for the workshop, consider finishing the modules 1 to 9 of the "R programming" introduction by [swirl](https://swirlstats.com/students.html). If you are pressed on time 1-4 are the most important, and next most important are 1-7. Don't do anything after 9 — it's useless for what we need for this workshop! **Loading in datasets**\ Our experience of tutoring/teaching/taking part in stats workshops has shown us that one can lose an incredible amount of time trying to get everybody in the room to load in the data. Everything will be much smoother if you try loading in a few of the files in the "data" folder. We don't want to loose too much time during the workshop on this, so getting used to this process will be very helpful. If you are new to R and have newer loaded in any data, please [watch the wonderful Bodo in this video](https://appliedstatisticsforlinguists.org/data_loading.mp4). **Readings & Further study**\ Other than following the above instructions, there is no need to prepare with readings etc. At the end of the workshop, I will give you reading recommendations and ideas for further study.
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.