Introduction to R

An informal workshop on the use of R for simulations and statistical modeling in psychological science | R. Chris Fraley | Summer 2016

About the Workshop

The purpose of this informal workshop is to introduce the use of R for statistical computing, simulation, and data analysis in psychology. The class will meet 4 to 5 times over the summer. In each class I'll introduce some key ideas and show how they can be used to solve conceptual and empirical problems in psychology and research design. We will meet in 453D Psychology.

Λ

Basic R

Basic data structures and objects. Vectors, matrices, and basic mathematical operations. Importing data. Basic data analyses (t-tests, anova, linear regression). Creating plots in R.
July 5, 2016

View Notes »

Ψ

Simulation Methods

Building loops, extracting and saving parameter estimates, sampling values from statistical distributions. Statistical power analysis. Some examples on how p-values behave under various assumptions.
July 6, 2016

View Notes »

Λ'

SEM and lavaan

Basic multiple regression, linear models, Path Models, Tracing Rules, CFA, measurement models, SEM, mediation, FIML regression, growth curves. We will focus on using the lavaan package for R.
Aug 2 &3, 2016

View Notes »

θ

Mining Twitter Data

Extract data from Twitter using R. How to use the Twitter API and the twitteR package. Search for keywords, hashtags, geocords, and users. Basic text analysis. Building datafiles and automating extraction using task schedulers.
Aug 10, 2016

View Notes »