Prospectus

nl en

Introduction to R

Course
2022-2023

Entry requirements

Only open to Psychology Master students and Research Master students (not available for students with specialisation Methodology and Statistics in Psychology, those students have to follow the “Computational Statistics with R” course instead). Knowledge of basic statistical techniques, like t-test, ANOVA, and regression are requested.

Description

There are many statistical programs that can be used in psychological research. They differ in multiple ways, most prominently in ease of use, generality, transparency, and cost. The most common statistical program is SPSS. SPSS has a Graphical User Interface (GUI), making it easy to use. However, SPSS is expensive, very limited in what it can do, and non-transparent, that is, the precise computations performed by SPSS are only known to the developers of SPSS.

In this course, we will introduce the statistical program R. While R is harder to use than SPSS since it is not GUI-based, it is better than SPSS in all other aspects. It is much more general, transparent (open-source), and free. R is the de-facto standard program among statisticians and quickly gaining popularity among psychologists. It is already the standard program for advanced psychological statistical techniques, such as multilevel and structural equation models.

Beyond being the most general statistical program, R is also a programming language. Thus, in this course, you will also learn basic “coding skills,” which have repeatedly been deemed the most important skill of the 21st century.

Course objectives

Upon completion of this course, the student is able to perform the following using R

  • Simple arithmetic operations

  • Load and preprocess data

  • Create basic data visualizations

  • Perform standard statistical analyses (t-test, ANOVA, regression…)

  • Create a reproducible report using R Markdown

  • Write simple R programs, as needed for data analysis

Timetable

For the timetable of this course please refer to MyTimetable

Registration

Education

Students must register themselves for all course components (lectures, tutorials and practicals) they wish to follow. You can register up to 5 days prior to the start of the course.

Exams

It is mandatory for all students to register for each exam and to confirm registration for each exam in My Studymap. This is possible up to and including 10 calendar days prior to the examination. You cannot take an exam without a valid pre-registration and confirmation in My Studymap. Carefully read all information about the procedures and deadlines for registering for courses and exams.

Exchange students and external guest students will be informed by the education administration about the current registration procedure.

Mode of instruction

The course consists of 8 modules. Each module consists of a lecture (2h), a practical session (2h), and homework assignments.

Assessment method

The final grade depends on an exam. Access to the exam requires successful completion of assignments, one for each module. All assignments need to be passed to be able to take the exam.

The Institute of Psychology follows the policy of the Faculty of Social and Behavioural Sciences to systematically check student papers for plagiarism with the help of software. Disciplinary measures will be taken when fraud is detected. Students are expected to be familiar with and understand the implications of this fraud policy.

Reading list

Manuals and articles are available from Brightspace during the course.

Contact information

Dr. Julian Karch (second semester) j.d.karch@fsw.leidenuniv.nl