Quantitative analysis and coding knowledge (UC Berkeley, Psychology)
QuACK is a data-analysis workshop series for incoming psychology grads, created by and taught by Psych grads! Follow the links below to access lessons, worksheets, and answer keys.
If you are new to R we recommend working through the topics in order
Week | Topic | Agenda |
---|---|---|
Week 1 | Intro to R & Programming,[slides] | Datatypes; Operators; Vectors & Indexing; Levels & Factors |
Week 2 | Github & Dataframes, [slides] | Intro to using Github; Reading-in data; Accessing dataframes; viewing/summarizing data |
Week 3 | Logic & Data cleaning (base R), [slides] | logic operators; vectorization; logical indexing; missing values; subsetting dataframes |
Week 4 | Data cleaning (dplyr) | tidyverse; grouping & filtering; pipes |
Week 5 | Tidyverse cont | tidyverse cont. |
Week 6 | Intro to Data visualization & Data Reshaping | Plotting in base R; organizing and reshaping data; formatting data for visualization |
Week 7 | Data visualization - part 2, [slides] | Markdown; Visualizing data; ggplot challenge! |
Week 8 | Intro to for loops, [slides] | Iterating over vectors; for loops |
Week 9 | For loops- part 2, [slides] | For loops cont.; storing output; nested for loops |
Week 10 | Functions | why use functions; building blocks of functions; writing a function |
Week 11 | Math Notation, [slides] | Summation (sigma); implementation in R |
Week 12 | Math Notation cont., [slides] | set theory; properties of logs and exponents |
Week 13 | Racism in statistics | Discussion |