05:00
STAT 20: Introduction to Probability and Statistics
In groups of 3, take turns introducing yourselves to one another by providing the info listed on the handout (your name, hometown, etc).
Each person should finish with a handout filled-in with info on their groupmates. Make sure you save this for next week!
05:00
What’s going on with crashes in California?
01:00
01:00
01:00
Understand
the World
Data
Understand
the World
Data
We can call the process of:
This lifecycle involves constructing and critiquing claims made using data: which is the main goal of our course!
To learn to critique and construct
claims made using data.
To learn to critique and construct
claims made using data.
To learn to critique and construct
claims made using data.
To learn to critique and construct
claims made using data.
To learn to critique and construct
claims made using data.
To learn to critique and construct
claims made using data.
To learn to critique and construct
claims made using data.
A numerical, graphical, or verbal description of an aspect of data that is on hand.
Example
Using data collected from students in Stat 20 (Fall 2025), the proportion of students—in this class—born in California is 75%.
A numerical, graphical, or verbal description of a broader set of units than those on which data was been recorded.
Example
Using data collected from students in Stat 20 (Fall 2025), the proportion of UC Berkeley students born in California is 75%.
A claim that changing the value of one variable will influence the value of another variable.
Example
Data from a Randomized Controlled Experiment shows that lab scores of STAT 20 students who attend Group Tutoring sessions are 20% higher than those who don’t.
A guess about the value of an unknown variable, based on other known variables.
Example
Based on STAT 20 data from the past three semesters, I predict that the median score on quiz 1 will be 80%.
We will now re-examine a few pathways in the data science lifecycle:
“Peak Performance” is a fictional company which sells athletic gear, and is launching a brand new shoe, the AeroFlex, designed for track-and-field runners, claiming to improve performance.
The company’s marketing team has access to data from various sources:
Market Research: Data from a survey of 500 local runners before the shoe’s official launch.
Experiment data: Results from a controlled experiment with a test group of 40 university track-and-field athletes.
Sales data: Figures from the first year of sales, categorized by region.
Customer feedback: Online reviews and ratings submitted by purchasers.
Based on the survey results of 500 local runners, the company states:
“We are confident that if all local runners were to try the AeroFlex prototype, their average satisfaction rating would be between 4.0 and 4.4 stars.”
What kind of claim is this: a summary, a prediction, a generalization, or a causal claim?
01:00
Based on the sales data and customer feedback, the company states:
For every 0.1-star increase in the average online rating for the AeroFlex shoe, monthly sales will increase by 500 units.
What kind of claim is this: a summary, a prediction, a generalization, or a causal claim?
01:00
Based on the survey results of 500 local runners, the company states:
The average satisfaction score for the AeroFlex prototype was 4.2 out of 5 stars.
What kind of claim is this: a summary, a prediction, a generalization, or a causal claim?
01:00
05:00
All of the materials and links for the course can be found at:
Take 4 minutes to read through the syllabus and jot down at least one question that you have.
04:00
Practice by asking/answering a question on the “Syllabus Discussion” thread on Ed via the link at the top right of https://stat20.berkeley.edu/fall-2025/.
Go to the course website: https://stat20.berkeley.edu/fall-2025/
Click on the Assignments tab
Click on Lab 1: Part II.
We will now
Console
Environment
Editor
File Directory
Now we are going to switch over to RStudio to understand these 4 components a bit better.
Console: Where the live R session lives. Type commands into the prompt >
and press enter/return to run them. The Console is in the lower-left pane.
Environment: The space that keeps track of all of the data and objects that you have created or loaded and have access to. Found in the upper right pane.
Editor: Used to compose and edit text (.qmd files) and R code (.r files). Found in the upper left pane.
File Directory: Used to navigate between your files/folders on your Rstudio account. Can move, copy, rename, delete, etc. Found in the lower right pane.
R allows all of the standard arithmetic operations.
R allows all of the standard arithmetic operations.
What is three times one point two raised to the quantity thirteen divided six?
01:00