Introduction to Statistics: School of Criminal Justice - RU-N
| Introduction to Statistics | 27:202:542 |
| Monday, Tuesday 1:00 - 2:20PM | Room: CLJ 574 |
| Instructor: Frank Edwards | frank.edwards@rutgers.edu |
| Office hours: Wednesday 10AM-12PM | Room: CLJ 579B |
No prior statistics or programming experience is assumed. Familiarity with algebra and basic calculus is helpful, but we’ll be reviewing the foundational math throughout the semester.
I recommend this refresher if you are feeling shaky on math fundamentals. The 3Blue1Brown series on linear algebra, calculus, and probability are also worth checking out.
If you are new to programming or new to R, that is ok! We will take a slow pace throughout. If you’d like some focused support, here is a list how to do many common tasks with R.
This is the course syllabus for Introduction to Statistics, Fall 2026. It is a graduate-level introduction to conducting quantitative social science research, and is the first part of a two-semester sequence.
We will cover the foundations of statistical computing with a heavy emphasis on data visualization using the R programming language and tidyverse suite of packages. You will also learn how to write statistical reports using Quarto.
We will review the core math needed for statistics (some algebra, calculus, and linear algebra), then proceed to build foundations in probability. We will cover the basics of quantifying uncertainty in statistics, and learn how to use and interpret linear regression models.
Become comfortable with the fundamentals of probability and statistics.
Learn how to describe and estimate statistical relationships with linear regression.
Explain basic principles of causal inference and research design.
Use command-line interfaces for interacting with a computer and its file structure.
Design and write basic data analysis programs using the R programming language.
Produce data visualizations using ggplot2.
Produce professional-looking reports using Quarto.
Required: Gelman, Hill, and Vehtari. Regression and Other Stories (ROS). 2024. https://avehtari.github.io/ROS-Examples/index.html
Recommended: Alexander. Telling Stories with Data. 2023. https://tellingstorieswithdata.com/
Email is my preferred mode of communication. Announcements will be sent to the class listserv. We won’t be using Canvas.
Attendance is required.
Bring a computer.
Complete homework on time.
Keep up with the reading.
Be respectful and professional.
Collaborate with your colleagues.
Document your code.
Try not to use AI tools.
Large language models have become incredibly good at writing R code. They also have caused tremendous social and environmental harm and have been shown to impede learning.
I will allow AI usage under the following conditions:
LLM_log.txtCompanies like Anthropic and OpenAI want you to become paying users dependent on their platforms. You don’t want them to own your workflow. You should build you workflow with open-source tools whenever possible. Open-source and on-device models have several advantages for researchers. They don’t cost money, they can produce reproducible output, and they keep your data secure. If you are going to use an LLM, I recommend using Ollama with Gemma4 (or similar) on your laptop.
All instruction will be conducted in the R statistical programming language. R is free and open-source, and can be downloaded here.
We will be using the RStudio integrated development environment. RStudio provides a powerful text editor and a range of very useful utilities. Positron is similar and is an acceptable choice if you prefer it.
In addition to writing code, RStudio a great tool for writing reports, papers, and slides using Quarto, which is a plain text format based on markdown. This syllabus, most of my course materials, and most of my academic papers are written in markdown.
You are required to submit assignments as rendered Quarto output.
Lastly, I recommend learning some form of version control to ensure your work is a) backed up, b) easily accessible to collaborators and c) reproducible. Git and GitHub are great and flexible tools for software development that have powerful applications for researchers. Here’s a useful intro to GitHub for R users.
If you’d like to clone the course repository on your laptop, you can run
git clone https://github.com/f-edwards/intro_stats.git
To keep it up to date with current slides and homework, just navigate to the course directory (cd intro_stats), then run
git fetch
Grades are based entirely on homework assignments. I grade assignments with a simple 2 point scale, and am generally a forgiving grader. If your work indicates a serious effort to complete the assignment, you can expect to receive full 2 points of credit. If you submit incomplete or sloppy work, you can expect 1 point of credit. Incomplete work will receive a zero.
Statistics is hard, and I prioritize growth and learning over getting correct answers in grading and evaluation.
All students who work hard and complete the assignments can expect to receive an A as their final grade.
I will assign homework each week. Assignments are due on Sunday by 10pm. Email your homework assignments (output and source code) to the instructor.
Don’t wait until the last minute to get started. These homeworks should take you on average about 6 hours of work to complete. Space that work out and give yourself time to ask for help from your peers and your instructor.
Group work is strongly encouraged. I recommend scheduling a time to meet with your classmates to work on the problem sets collectively. Quantitative research is a team sport, but I still do expect you to write your own code and interpretation. Don’t just copy/paste from your peers, the internet, or a chatbot. Cheating will make me grumpy, please don’t do it.
Life happens. All students are granted two free extensions on homework, no questions asked. Just email prior to the due date to let me know you’ll be taking an extension and when I should expect your submission.
Week 1
Reading: ROS Ch 1-2, Appendix A A.1 - A.4;
tidyverseWeek 2
Reading: ROS Ch 3
9/7: Labor Day, no class
Week 3
Reading: ROS Ch 4-5
Week 4
Reading: ROS Ch 6
read_csv()ggplot2Week 5
Reading: ROS Ch 7
lm()
group_by and summarize()Week 6
Reading: ROS Ch 8
brm()summary() output for linear modelspnorm() and dnorm()Week 7
Reading: ROS Ch 9
predict()tidybayes
linpred_draws()predicted_draws()Week 8
Reading: ROS Ch 10
Week 9
Reading: ROS Ch 11
BIC(), AIC()WAIC(), loo()Week 10
Reading: ROS Ch 12
scale(), factor() and inline transformationslog(), exp(), log1p(), expm1()ifelse()case_when()Week 11
Reading: ROS Ch 16 - 17
miceWeek 12
Reading: ROS Ch 18
Week 13
Reading: ROS Ch 19
11/23: Causal inference with observational data, part 1 - Introducing causal graphs - Confounding and causal graphs - Backdoor criterion and d-separation - Good and bad controls - Mediation
11/24: Lab - drawing and analyzing causal graphs
- Introduction to dagitty and ggdag
- Drawing a causal model
- Identifying implications of causal models
Week 14
Reading: ROS Ch 20
Week 15
Reading: ROS Ch 21
marginaleffectstidybayes