Week 1 · Thursday, Sep 24 · Meet + greet + syllabus + install
| Time | What |
|---|---|
| 1:30 | Meet + greet |
| 1:50 | How this course works: the syllabus |
| 2:30 | The AI Use Policy, and why |
| 2:45 | Install R, Positron, git, and GitHub (start here, finish in Tuesday’s DS) |
Note
Laptops open only for the install part at the end. For now, just talk to people.
![]()
⏱ 8 min
Turn to two people near you and share:
Then answer the same three questions on Ed Discussion (today’s in-class thread). This is also a test run: participation is graded through it all quarter.
A spreadsheet tells you what you got. A script tells you how you got it.
Learn by doing
Struggle is the point
Tip
Mistakes are expected in this room. Every error message you read now is one you’ll recognize later.
| Day | Time | Location | |
|---|---|---|---|
| Lecture | Tue, Thu | 1:30-3:05 pm | McHenry Lib 1350 |
| Discussion Section (DS) | Tuesday | 9:50-10:55 am | Soc Sci 2, Room 363 |
| Office hours | Tue, Thu | after class | Outside the classroom |
Thursday lecture
1:30-3:05 pm
Tuesday DS
9:50-10:55 am
Tuesday lecture
1:30-3:05 pm
Bring the DS printout to the following Thursday. We discuss it on paper, pencil in hand.
Week 1 is different: Tuesday’s DS is machine setup, and there’s no printout yet.
| Component | Weight |
|---|---|
| Final project (five deliverables) | 60% |
| DS work (PDF printouts + discussion check) | 30% |
| Class participation (Ed Discussion in-class posts, in-class tasks) | 10% |
There are no exams and no take-home extra assignments. Credit comes from working through problems and from being able to explain your own work.
Note
The lowest DS grade is dropped. Late DS: up to 3 days late, with 5% off for each 24 hours.
A data-driven research question of your choice, done alone or in pairs, in five deliverables:
| Deliverable | Weight | Format | Due |
|---|---|---|---|
| Proposal | 10% | Oral presentation | Tue, Oct 20 |
| Mid-quarter report | 15% | Written (10%) + 5-min individual check-in (5%) | Tue, Nov 3; check-ins in Week 7 |
| Peer review | 5% | Written review of a classmate’s work | Tue, Nov 24 |
| Final presentation | 15% | Presentation + individual Q&A | Dec 1 and Dec 3 |
| Final written report | 15% | Written, with an AI-use reflection | Finals week |
Every deliverable has an individual part. Pairs keep a shared GitHub repo and a contribution statement.
Tip
Feedback is meant to be used. Plan to revise.
⏱ 3 min
Write down one topic and one possible data source. We’ll come back to it in Week 4 (proposal due Tue, Oct 20).
AI tools can write R code, and that code often runs without errors while being wrong:
If AI writes your code before you can read it, you can’t tell when it’s wrong.
So we first build the skills you’ll use to check AI output. Later we use AI, and check it.
| Activity | AI status |
|---|---|
| Intro to R lessons, in-class exercises, in-class Ed Discussion posts | Not allowed |
| DS exercises | Not allowed. Turn off the Positron assistant and code completion |
| “AI audit” exercises (Weeks 5 and 9) | Provided: you find and fix errors in AI output we give you |
| Project deliverables (proposal, reports) | Allowed with disclosure |
| Peer review | Not allowed |
| Oral presentations, check-ins, Q&A | Not allowed |
The rule follows the goal: when the goal is to build a skill, no AI. When the goal is to use your skills, AI is allowed, and you must be able to explain every line out loud.
Important
This week: no AI. We’ll switch off Positron’s assistant together in Tuesday’s DS.
⏱ 5 min
On Ed Discussion (today’s in-class thread):
We’ll discuss a few answers together.
Getting help
How we treat each other
The full syllabus includes Title IX/CARE, CAPS, Slug Support, and other resources.
| Tool | What it is | Why |
|---|---|---|
| R | The programming language | Runs your code |
| Positron | An IDE (editor + console + plots) | Where you write and run R |
| git | Version control | Keeps the history of your work |
| GitHub account | Online home for git repos | Project collaboration and sharing |
All of them are free. Please don’t pay for any of these.
If you get stuck, stop there. Tuesday’s DS (9:50 am) is set aside for finishing and troubleshooting.
.pkg for your chip (Apple silicon arm64 for M1-M4, x86_64 for Intel)Tip
Not sure which Mac you have? Apple menu → About This Mac. “Chip: Apple M…” means arm64.
Note
Install R first, then Positron. If Positron opened before R was installed, just restart it.
macOS
Open the Terminal app and type:
If git is missing, macOS offers to install the Command Line Tools. Say Install.
Windows
Download Git for Windows from git-scm.com and accept the defaults.
Linux
(or your distribution’s package manager)
Post your GitHub username in the Ed Discussion thread. That’s how I’ll find you when the project repos are set up.
Tuesday DS (9:50 am, Soc Sci 2 363): finish the setup, configure git, turn off AI in Positron, and install our first packages.
Tuesday lecture (1:30 pm): we write our first R code.
Anything not working? Write down the exact error message and bring it to the DS.

STAT 266A · Fall 2026 · UC Santa Cruz