2025-09-11
A few more homework problems released today. Yesterday and today’s problems are due to Gradescope by Monday 11:59pm
Office hours + Q-Center TA hours reminder!
Reproducible data analysis
Toolkit
R and RStudio (Posit)
Quarto markdown
Practice!
Allows your code execution or an experiment to be repeated by another person
Goals:
Are the tables and figures generated directly from the code?
Does the code actually do what you think it does?
Can your code be used for other data/analyses?
We will use the programming language R to write code
How will interact with the R code? In the integrated development environment called RStudio. Helps us be more productive with R
R is like a car engine, and RStudio is like a car’s dashboardWe will liberate our programming by keeping code, narrative, and output all in the same interface using Quarto Markdown documents
Allows us to create fully reproducible reports
Can code in code chunks and type regular text/narrative outside of these chunks
How will we use Quarto Markdown?
You coding practice problems and some problems on your weekly assignments will be assigned as a Quarto Markdown document (.qmd)
You will almost always be provided with a template .qmd to start with (the exception being the end of the semester when you’ve mastered this material!)
To open RStudio, simply double click on the RStudio icon (you do not need to click on the R icon)

Create a new folder on your Desktop that is named STAT 201.
All of your files for this course should go into this folder!!!!