HomeVideos

Probability and Statistics: Overview

Now Playing

Probability and Statistics: Overview

Transcript

781 segments

0:00

welcome back I'm Steve Brunton a

0:02

professor at the University of

0:04

Washington in Seattle and I am super

0:06

excited to introduce a new short course

0:09

on probability and statistics this is

0:12

one of my absolute favorite topics in

0:14

all of mathematics because it is one of

0:16

the most powerful tools we have to

0:18

describe the complexity we observe in

0:20

the real world so probability and stats

0:23

is up there with differential equations

0:25

calculus and linear algebra in terms of

0:27

the most kind of foundational tools and

0:29

it's a important in the modern era now

0:31

that we're thinking about data and

0:33

machine learning this is really one of

0:35

the foundational mathematical topics so

0:37

I've been looking forward to teaching

0:38

this class for over a decade um I was

0:41

actually fortunate to learn probability

0:43

and statistics when I was a teenager I

0:45

was a 17-year-old kid in Texas uh at the

0:47

University of North Texas in Denton and

0:50

I learned probability and stats from one

0:52

of the true greats kind of alltime

0:54

greats Dr John Quintanilla uh in fact I

0:57

still have his uh lecture notes here so

0:59

this is my uh bound copy of his lecture

1:02

notes my wife uh has told me that I've

1:04

had this since before I met her this is

1:07

one of my most prize possessions uh and

1:10

Dr Quintanilla's notes were really and

1:12

lectures were incredible and Brilliant

1:15

and changed my life and so a lot of what

1:17

I'm going to tell you about in this

1:19

course is going to kind of Channel um

1:21

hopefully some of that inspiration I got

1:23

when I learned it from Dr Q uh 20 years

1:25

ago okay so I'm super excited to launch

1:28

into this this is going to be a short

1:30

course about 10 hours of probability and

1:32

about 10 hours of Statistics starting

1:34

with pretty introductory um essential

1:37

material and then getting into special

1:38

Advanced topics pretty quickly so about

1:40

half and half intermediate and advanced

1:42

topics probability and stats about 10

1:45

hours each um and I'll probably keep

1:47

adding videos and lectures along the way

1:49

because there's so many interesting

1:50

topics you could just you know there's

1:52

there's no end to the interesting uses

1:55

um and properties of probability and

1:56

stats so in this introductory overview

1:59

video I'm going to give you some

2:01

examples uh of how we use probability in

2:03

the real world I'll give you an outline

2:05

of what this course is going to look

2:07

like especially the first half on

2:08

probability um again I hope you are as

2:11

excited about this as I am this is a new

2:14

tool set in Your Arsenal if you haven't

2:16

seen this before that's going to open up

2:18

a ton of possibilities for modeling the

2:20

complex real world around us so let's

2:23

jump in um let's start with some

2:24

examples I think examples are how I

2:26

always uh I always think about this so

2:29

let's talk about some examples of what

2:31

we model in the world with uh with

2:34

probability and again I'm going to keep

2:36

using this word uncertainty the real

2:38

world is complex it's uncertain and it's

2:41

uncertain specifically in my ability to

2:43

measure everything and to model all of

2:45

the physics and and behavior and so

2:48

that's what I mean by uncertainty if

2:49

something is too complex to model or

2:51

measure then it's very good candidate

2:53

for building a probability model of so

2:56

maybe the first uh kind of classic

2:59

example I think of is going from you

3:02

know gas molecules to descriptions like

3:04

temperature and entropy so going from

3:06

something like a gas you know we have 10

3:08

to the

3:09

23 um gas molecules in avagadro's number

3:13

in a mole of you know of air or nitrogen

3:16

or oxygen and that's too many degrees of

3:18

freedom first off to measure I can't

3:20

measure the position and velocity of

3:22

every molecule of air in this room um

3:25

and I don't want to and it's also too

3:27

complicated to simulate all of those

3:29

particles and so we have built this

3:31

incredibly efficient elegant beautiful

3:34

description of this very complex

3:37

physical system this gas in terms of a

3:39

few thermodynamic properties the

3:41

temperature uh the entropy and so on and

3:44

so forth you know density and so this is

3:48

one of the successes of all of modern

3:50

physics one of the kind of real uh

3:52

Cornerstone successes of modern physics

3:54

is this thermodynamic description of gas

3:56

in terms of these simplified statistical

3:59

Quant quties just a few numbers

4:01

characterize this you know

4:03

astronomically complex system okay

4:06

that's a great example of something to

4:07

model probabilistically you know you

4:09

could model this with a boltzman

4:10

distribution or Maxwell's distribution

4:12

things like that to get um these simple

4:15

statistical

4:16

quantities um and you know fast forward

4:18

about a hundred years we're still trying

4:20

to build these kinds of thermodynamic

4:22

closures for systems like turbulence um

4:25

so a turbulent fluid um like you know

4:28

the the air over the wing of an airplane

4:30

or in your coffee when you stir it that

4:33

is also a very very complex system with

4:35

so many degrees of freedom so many

4:37

particles um that we can't measure all

4:39

of them with certainty and we can't

4:41

describe their motion their behavior um

4:43

it's too complicated and so turbulence

4:46

is a great candidate again for

4:48

probabilistic and statistical

4:51

models um one of the classics again even

4:54

before uh our thermodynamic description

4:56

of gases is the notion of measurement

4:58

error so we have been modeling

5:00

measurement

5:01

error um measurement error so uh if you

5:06

do some experiment you're trying to

5:07

measure you know uh the acceleration of

5:09

gravity that's a great one or the speed

5:11

of light or the mass of an electron or

5:14

the charge of an electron if you're

5:15

doing some physical measurement there's

5:17

going to be error associated with that

5:19

so if you repeat that measurement 30

5:21

times you're going to get 30 slightly

5:23

different values and it turns out that

5:26

often times that measurement error

5:27

behaves according to this normal or

5:30

gausian distribution which is a

5:32

probability

5:33

distribution um so this is actually in

5:36

my mind one of the Genesis points of

5:39

modern probability and statistics llas

5:43

um so our our great French mathematician

5:45

llas any of you who know me know that I

5:47

you know am a huge fan of llas from

5:50

differential equations llas was also

5:53

essentially one of the Pioneers one of

5:55

the founders of modern probability and

5:57

statistics so he developed a lot of the

6:01

theory that we use today and the

6:02

nomenclature the perspective the

6:05

philosophy um really to understand this

6:07

notion of measurement error in physical

6:09

systems to start quantifying the

6:10

uncertainty in our models of the real

6:13

world uh and in fact you know beian

6:16

statistics is one of the most important

6:17

topics in statistics it was discovered

6:21

by Baye and a couple of years later laas

6:24

independently discovered it and

6:26

massively extended it generalized it

6:28

popularized it I think Bean statistics

6:30

should be called Bay LL statistics um

6:33

but again modeling measurement error

6:35

which tends to be a gausian distributed

6:37

random variable was a huge kind of

6:39

Cornerstone um event in probability Lelo

6:43

brought this into the kind of modern

6:45

era um other things that are important

6:47

if you like control theory like I do or

6:49

dynamical systems you'll remember the

6:51

Colman filter the Colman filter um is a

6:54

great example of merging kind of

6:56

Dynamics and control with a

6:58

probabilistic perspective

7:00

again if I'm taking measurements of a

7:01

system to do feedback control those

7:03

measurements have error we typically

7:05

assume a gusan we also assume that my

7:07

system is being kind of externally

7:09

forced by things that are beyond my

7:11

ability to model uncertainty maybe I'm

7:13

trying to build a cruise controller for

7:15

an automobile but I don't know if it's

7:18

windy outside or if it's raining or if

7:19

I'm going uphill or downhill those

7:21

uncertainties are often modeled

7:23

probabilistically in things like a

7:25

common filter and this is going to very

7:27

naturally segue into the topic of of

7:29

stochastic differential equations where

7:31

my differential equation itself is

7:33

forced with a probability distribution

7:35

or a random variable that has a

7:37

distribution and so SD is a topic I'm

7:40

going to cover a lot later this is one

7:42

of those special topics for later but

7:44

super super important and interesting

7:45

for Dynamics and control um and the list

7:49

goes on and on there's so many great

7:50

examples um I think weather and human

7:53

behavior are really good ones um so

7:55

weather and let's just say human

7:56

behavior is a catchall um for tons of

8:00

complexity

8:01

behavior um sometimes good behavior

8:03

sometimes bad behavior typically

8:05

interesting and

8:06

complex um and it's interesting that if

8:10

you think back to the very very you know

8:12

earliest history of of human thought and

8:16

communication the you know earliest oral

8:18

traditions and written Traditions people

8:21

have always tried to wrestle with the

8:24

uncertainty in the complex real world

8:27

including human behavior weather

8:30

phenomena you know is the weather going

8:31

to be favorable for tomorrow's battle is

8:35

the weather going to be favorable for

8:37

planting my crops for this year's crop

8:39

yield um you know things like that those

8:42

are the kinds of things people have been

8:43

wrestling with this massive uncertainty

8:46

for Millennia from the dawn of human um

8:49

kind of tradition we have been modeling

8:52

uncertainty and I think it's fascinating

8:54

that one of the ways we model

8:56

uncertainty have modeled uncertainty

8:58

historically we call this divination

9:00

essentially are things like astrology or

9:04

augury or te reading um reading the tea

9:07

leaves stirring up your tea and reading

9:08

the tea leaves um rolling the bones of

9:11

animals and seeing how they scatter to

9:13

predict something about our uncertain

9:15

real world it's quite fascinating that

9:17

one of the ways humans have grappled

9:19

with uncertainty and the probabilistic

9:21

nature of the complex real world is to

9:24

actually try to analyze it and

9:26

understand it with another random

9:28

process like rolling the bones of

9:29

animals or how tea leaves dry in a cup

9:32

of tea or things like that pyromancy um

9:35

how the flame patterns move there's

9:37

hundreds of words for different types of

9:39

divination it's one of the most common

9:40

themes throughout all of human history

9:42

is trying to Grapple with our observed

9:46

uncertainty of the real world of the

9:48

complexity of the real world like

9:49

weather and human behavior by trying to

9:51

simplify it into a simple or random

9:54

process that we can maybe try to analyze

9:56

or and understand like rolling the bones

9:58

or something like that fascinating I

10:00

think of this you know all the time when

10:01

I think about probability and statistics

10:03

there's a rich history and tradition um

10:06

and again llas did a a huge service kind

10:08

of making this a mathematical

10:10

quantifiable science and a lot of the

10:13

the thought leaders at that time really

10:14

changed kind of our our world from this

10:17

astrology to you know scientific

10:19

astronomy kind of alchemy to chemistry

10:22

uh you know divination to probability

10:24

and statistics huge sea change in how we

10:27

think about the world whe

10:30

is inherently uh chaotic it's a chaotic

10:33

dynamical system and this is one of the

10:35

things I really want to to point out is

10:37

that these probability and statistics

10:40

systems often times actually are

10:42

fundamentally deterministic they're not

10:44

actually random if I think about a coin

10:46

This Is My Fair coin if I flip this coin

10:50

this technically is not a random system

10:52

this is governed by force equals mass

10:54

time acceleration f equals ma it has

10:56

wind resistance mass inertia it's under

10:59

the effect of gravity um this is a

11:02

deterministic physical system that

11:04

technically I could model on a computer

11:07

with equations and do a pretty good job

11:08

of predicting but as far as I'm

11:11

concerned as a human Observer there is

11:13

too much uncertainty in my measurements

11:15

in my ability to model this in my head

11:18

so for me a coin flip is a random or

11:21

uncertain uh event that I have to model

11:24

probabilistically okay and I can use

11:26

this uh to Generate random numbers kind

11:28

of

11:29

um because it it does have this kind of

11:31

chaotic Randomness in the the wind

11:34

resistance and its motion and so a lot

11:36

of these systems turbulence gas Dynamics

11:38

weather phenomenon those are actually

11:40

fundamentally deterministic dynamical

11:42

systems they're they are predictable

11:44

often the chaos in that dynamical system

11:47

means that my prediction Horizon is is

11:49

finite and after some point for all

11:52

intents and purposes I have to model it

11:54

with probability models so there's this

11:56

fine line between deterministic uh

11:58

systems of that I could model if I had

12:00

enough information and us actually

12:02

having to model them probabilistically

12:04

because there's so much uncertainty in

12:06

our physics models in our uh

12:09

measurements of the initial conditions

12:11

of things like that good okay um so now

12:14

I'm going to give you an overview of

12:16

what we're actually going to learn in

12:17

this first kind of 10hour block on

12:19

probability and I'll hint at some of the

12:21

ways this is going to tie to statistics

12:22

these are intimately connected so you

12:24

can't really separate these um so I'm

12:27

going to give you the outline of the

12:28

topics here what I really want to do

12:31

first is is point out just kind of a

12:34

definition here so

12:35

probability is essentially assuming that

12:40

you have a model of your system so you

12:44

assume um that you have kind of a known

12:47

probability distribution you

12:50

assume a

12:52

known uh probability distribution and

12:56

I'll tell you what a probability

12:57

distribution is in a minute it's thing

12:58

it's something like a gaussian something

13:00

where uh you expect to find your

13:03

variable at this value with some

13:04

probability it's a probability

13:06

distribution uh so you assume your

13:08

probity distribution is known and you

13:11

try to say something about future data

13:14

you might observe so you essentially uh

13:17

don't know the samples from the future

13:19

samples are

13:21

unknown in statistics we often call our

13:23

data samples so the data from the future

13:26

is unknown in this Fair coin I have a

13:29

model of its probability there's a 50%

13:31

chance of flipping heads but if I but I

13:33

don't know what will actually happen

13:35

what the exact sequence will be if I

13:36

flip 10 uh coins in a row so probability

13:40

will give me some way of quantifying the

13:42

likelihood of seeing let's say five

13:45

heads out of 10 flips or seven heads out

13:47

of 10 flips or 10 heads out of 10 flips

13:49

so I don't know the future and I'm

13:51

trying to say something quantifiable

13:52

about what the future might look like

13:54

based on a known probability

13:55

distribution statistics is the flip side

13:58

of that where we actually um the data is

14:03

known the samples are known so we have

14:06

data data is known so let's say I flip

14:09

the coin 10 times or 100 times and I

14:11

measure I observe that system and now

14:15

we're trying to say something about the

14:16

probability distribution so the

14:18

probability uh distribution is

14:22

unknown and so these are really flip

14:25

sides of the same coin they're dual

14:26

problems um in probability we're going

14:28

to start with ility because that it

14:30

gives us the family of models that we're

14:33

going to then use when we have data so

14:35

we're going to learn about probability

14:37

and how to model probabilistic systems

14:40

and then once we have that mathematics

14:41

under our belt then when we collect data

14:44

we can say really really precise things

14:46

about that data using uh kind of these

14:49

probability models we learned earlier so

14:52

let's get into it um so things you're

14:53

going to learn in this class I'm going

14:54

to break this into a few key chunks or

14:57

sections that I thought were nice break

14:59

points we're going to start with

15:01

essentially um introductory probability

15:04

so this is really kind of uh

15:06

introduction intro to

15:09

probability and introduction to

15:11

probability involves things like um

15:14

building intuition and doing a lot of

15:16

examples what is the chance of of

15:18

flipping seven heads in 10 coin flips

15:21

we'll be able to precisely quantify that

15:23

how many types of poker hands can I deal

15:26

off of a 52 card deck um if I roll three

15:29

dice what's the chance that they add up

15:31

the numbers add up to 13 okay those are

15:34

the kinds of things that we're going to

15:35

to look at initially this might seem

15:37

like a slow introduction if you already

15:39

have some background and probability you

15:41

can probably skip this or you know watch

15:43

this at one and a half speed but really

15:45

this is going to be examples and

15:47

intuition examples and

15:50

intuition and especially this notion

15:53

that probability is really if you boil

15:55

it down it's all about counting sets of

15:59

things that can happen counting sets

16:01

it's it's an advanced way of counting uh

16:03

and

16:04

grouping events into things that can

16:07

happen in different ways and Counting

16:09

them so we're going to build a lot of

16:10

intuition and give a lot of examples

16:11

here this will be pretty rapid actually

16:14

if you think about the thermodynamic

16:15

closure of gases when you learned this

16:18

in school you might have learned about

16:19

the you know canonical Ensemble or the

16:22

boltman distribution that's essentially

16:24

a fancy way of counting the different

16:26

ways molecules can be arranged and and

16:29

uh and turning that counting into a

16:31

notion of entropy okay so a lot of

16:34

intuition here and then very quickly

16:36

we're going to get into the meat we're

16:38

going to get into an abstraction That's

16:40

essential the abstraction of a random

16:42

variable so uh maybe I'll do this again

16:44

in blue so this is the abstraction of a

16:47

random

16:48

variable a random variable uh we're

16:51

going to call this X and functions of

16:54

random

16:55

variables uh and distributions um let's

16:58

say and distributions this is the key

17:02

Point okay good um and so a random

17:05

variable just like in regular

17:07

Mathematics algebra and calculus you

17:10

have a variable that can take a specific

17:12

value in probability we now have random

17:15

variables that have a probability of

17:17

taking a certain value so this random

17:20

variable we now say um we would

17:23

essentially say that we have some random

17:25

variable X and it has a

17:30

probability of taking on some specific

17:32

value given some parameters um that that

17:37

specify that system so if I have a

17:38

gausian if I have a normally distributed

17:40

random variable that I'm using to

17:42

represent my measurement error it

17:44

probably has a mean an average value a

17:47

mean and maybe a standard deviation okay

17:51

those are two numbers two parameters

17:53

Theta that I need to specify this

17:55

probability distribution and that tells

17:57

me the probability of finding my random

17:59

variable at a particular value V okay

18:03

very useful generalization of this

18:05

notion of a variable and a function from

18:07

calculus now you have variables and

18:09

functions in probability and statistics

18:11

and those variables have a probability

18:14

associated with finding them in a

18:15

certain value but you can do still do

18:17

things like you can take the square of

18:19

this you can take the log of x you can

18:21

plot you can do calculus on this very

18:23

very useful notion of random variable

18:25

and we're going to build up a bunch of

18:27

distributions probab distributions that

18:29

describe different kinds of events so

18:32

for example um we're going to have the

18:35

beri uh random variable this is a

18:38

probability

18:39

distribution that describes the

18:41

probability of let's say coin flips

18:44

systems that have two outcomes you know

18:46

heads or tails success or failure up or

18:49

down beri random variables is the

18:52

distribution the the the probability

18:54

distribution to describe those kinds of

18:56

events if I have a bunch of coin flips

18:59

if I flip you know 10 or 12 coins in a

19:01

row and I want to know how many heads do

19:03

I get that's something called a binomial

19:06

distributed random variable binomial

19:08

very very very very important um

19:11

distribution we'll use a lot it's the

19:13

sum of a bunch of independent beri

19:14

random variables and if I have a large

19:18

sample size a large number of coin flips

19:21

in my binomial distribution it starts to

19:24

tend towards a normal distribution a

19:26

normally distributed random variable and

19:29

that's actually kind of where this

19:30

notion of gausian measurement error

19:32

comes in gausian and normal are the same

19:34

thing they they're the same name for the

19:35

same distribution sorry different names

19:37

for the same distribution is if my

19:39

measurement error comes from a bunch of

19:41

different factors you know like the

19:42

temperature and the wind and all of

19:44

these different factors that kind of add

19:46

up to give me a measurement error it

19:48

turns out that if you add up a bunch of

19:51

random variables very often their sum

19:54

starts to look normally distributed even

19:56

if individually they have a weird

19:58

distribution them eles so measurement

20:00

error there's this like

20:02

uncanny uh fact that measurement error

20:04

tends to often look gausian and that's a

20:07

very fundamental probab probability

20:09

property um that we'll talk about later

20:11

called the central limit theorem so

20:13

large uh n limit the limit of of a large

20:16

number of events in a binomial

20:18

distribution tends to be normal if they

20:20

are rare events then they tend to be

20:22

Plus on these are both limits of the

20:25

binomial distribution in the large n

20:27

limit Plus on for rare events like um

20:31

light bulbs failing or the radioactive

20:34

um emissions you know alpha particle

20:36

emissions from a radioactive element

20:38

that's a Pon distributed random variable

20:40

these are two of the most important uh

20:43

probability distributions we'll talk

20:44

about they're used everywhere across the

20:47

board in probability and statistics all

20:49

the time super foundational uh stuff and

20:52

then a bunch of other ones we'll talk

20:53

about things like um the exponential

20:56

distribution um exponential

20:59

distribution exponential distribution is

21:01

tells me the probability of waiting

21:03

times between Pon events like

21:05

radioactive decay if I have alpha

21:07

particles being emitted what's the

21:09

probability that it'll be 0.5 seconds

21:11

until the next one that is an

21:13

exponentially distributed random

21:15

variable and dot dot dot dot dot dot dot

21:17

there's dozens of these I'll probably

21:19

tell you about 10 of them the 10 most

21:21

useful ones that you'll use all the time

21:23

in probability and

21:25

statistics um good and so this is a

21:27

model of the likelihood of finding my

21:30

random variable at a value given some

21:32

parameters that characterize that system

21:35

statistics is going to flip it on its

21:36

head and given data we're going to find

21:38

the probability of the parameters of my

21:41

distribution again that's the that's the

21:42

statistics problem but but today we're

21:44

talking mostly about

21:46

probability good um and sometimes the

21:49

distribution is known I'll make a little

21:50

note of this uh

21:53

sometimes

21:55

sometimes the distribution

21:58

is

21:59

unknown for lots of complex Real World

22:02

Systems the probability distribution we

22:04

believe there is one like in turbulence

22:06

but it might not be known that is

22:09

essentially a machine learning problem

22:11

so when we don't know the distribution

22:12

but we have data and we're trying to

22:14

learn the distribution from data that's

22:17

essentially a machine learning problem

22:19

so that's how this really connects to

22:20

machine learning is we're learning these

22:22

distribution functions from measurement

22:24

data for much more complex systems like

22:26

turbulence and weather and human

22:28

behavior Behavior things like that okay

22:30

good uh let's keep going so uh topic

22:33

three big big topic here is um now we're

22:38

going to talk now that we have random

22:39

variables and distributions we're going

22:41

to talk a lot more about functions of

22:42

random variables um things like the

22:45

expectation value so the expected

22:48

value um the expected

22:51

value what like literally what value do

22:53

I expect my variable to take if I have

22:56

this distribution what's the expected

22:57

value what's the variance um or standard

23:01

deviation of that value like how much

23:03

spread do I have in my prediction uh

23:06

things like the median these are robust

23:09

predictions that are related to the mean

23:12

essentially how do I quantify this

23:14

probability distribution in a few

23:15

numbers that tells me the essential

23:17

things I need to know that's very much

23:19

like this Gas Distribution going to

23:21

temperature and entropy there is a

23:23

distribution for my gas but there are a

23:25

few numbers like the expected value and

23:28

the stand deviation that I really need

23:30

to know um to say a lot about that

23:33

system so this is also going to be super

23:35

important to tie back to statistics

23:37

because when we have data these are the

23:39

things we're actually going to be

23:41

estimating about our probability

23:43

distribution often we're going to be

23:44

estimating the mean the variance the

23:46

median things like that from data to say

23:48

things about our probability

23:50

distribution okay um good and then I'm

23:53

going to kind of end the course um on

23:57

something that is really near and dear

23:59

to my heart which is the central limit

24:01

theorem Central limit theorem and it's

24:06

one of the most important topics again

24:08

in all of probability and it's a

24:09

Cornerstone of Statistics so this is

24:11

really where we start transitioning from

24:13

probability to

24:14

statistics it says that if I have a

24:18

bunch of random variables that have the

24:19

same distribution and I add up those

24:22

random variables or I average those

24:24

random variables that new average

24:27

quantity start starts to look like a

24:29

normally distributed random variable

24:31

regardless of what the original

24:32

distribution was we use this all the

24:36

time in statistics when you take large

24:38

samples of data you can estimate things

24:40

like their average value using the

24:42

central limit theorem um it's used in

24:45

every single one of these examples in

24:46

some way or another so the central limit

24:48

theorem it's so important I'll actually

24:50

just give you kind of an idea if I have

24:52

a bunch of random variables um let's say

24:55

x i I can be 1 to n so I've got like a

24:58

bunch of

25:00

data then the average of this literally

25:04

we call it xbar it's called The the

25:06

sample mean the average it's you know 1/

25:09

n * the sum of all of these variables or

25:12

all this data this quantity this sum of

25:15

random variables tends to be normally

25:18

distributed normally distributed with

25:20

some mean uh and variance that's what we

25:23

call the mean invariance this tends to

25:24

look like a normally distributed random

25:27

variable

25:29

regardless of what these distri how this

25:31

data was distributed this data could be

25:33

distributed as a Pon binomial

25:35

exponential you name it some weird

25:36

machine learning distribution and if I

25:39

add up those variables if I take their

25:40

average it starts to look like a normal

25:42

distribution again that's where this

25:44

gausian measurement error kind of comes

25:46

from is the central limit theorem and

25:48

this is the Cornerstone uh of kind of

25:51

modern probability Theory and modern

25:53

statistics and in fact this is where

25:56

we're going to very naturally segue into

25:58

the next set of lectures on

26:02

statistics um and I'll just give you a

26:04

tiny sneak peek of what we're going to

26:06

see in statistics um this is all kind of

26:10

flipping the probability on its head so

26:12

instead of having a model of a coin and

26:14

then saying things about what's likely

26:16

to happen in the future in statistics

26:18

I'll have data from a from coin flips

26:20

I'll have 10 coin flips or 100 coin

26:22

flips and I'll start asking the

26:24

questions is this a Fair coin what's the

26:27

probability of heads can estimate that

26:29

from the data I have so um there's going

26:31

to be things like hypothesis testing um

26:35

hypothesis testing this is um you know

26:39

if I run a drug trial let's say I have a

26:41

clinical trial for a new cancer

26:43

treatment does that cancer drug work or

26:46

not that's a hypothesis that I would

26:48

test with data I collect data from a a

26:50

trial and I use some models from

26:53

probability to say very quantifiable

26:55

things like I'm 95% confident that this

26:58

drug does work or doesn't work that's

26:59

what we mean by hypothesis testing um

27:02

other things we'll be able to do things

27:04

called survey sampling um survey

27:08

sampling if I have a large population

27:11

like the population of the United States

27:13

you know 300 plus million people if I

27:15

take a small sample of maybe a thousand

27:17

people and I I ask them questions or I

27:19

measure their height can I get

27:21

information about the larger population

27:23

from that small sample that's very very

27:26

closely related to these topics variance

27:28

standard deviation expected value and

27:30

Central limit theorem but again this is

27:32

based on data I'm trying to say

27:34

something about the probability

27:35

distribution and so here we had you know

27:39

a probability of my data given some

27:43

parameters of the distribution like the

27:44

mean and the variance statistics is all

27:47

about finding the probability of the the

27:50

parameters given the data what's the

27:53

most likely model what's the most likely

27:55

model parameters given the data this is

27:58

the statistics problem and this Theta

28:00

doesn't have to be the parameters of a

28:02

named distribution these could be the

28:05

par parameters of a neural network that

28:07

I'm using to model an unknown

28:08

distribution in machine learning we

28:10

model probability distributions using

28:12

things like neural networks the weights

28:15

of the nodes the weights of that neural

28:17

network are these parameters I'm trying

28:18

to estimate from my data I'm trying to

28:20

learn my parameters from my data that's

28:23

fundamentally a statistics

28:26

problem uh and then the list goes was on

28:28

and on and on dot dot dot dot dot you

28:30

know fitting uh

28:33

distributions uh estimating

28:35

parameters and so on and so forth and

28:38

eventually you know getting to this

28:40

machine learning idea so How likely you

28:44

know are our parameters given our data

28:46

that's a statistics problem it's very

28:48

intimately related to beijan statistics

28:51

there is this um very useful notion of

28:54

basian Statistics where you can

28:55

incorporate prior information and data

28:58

to get a better uh statistical or

29:01

probabilistic model and that's really

29:03

really commonly used in machine learning

29:05

today as this kind of notion of

29:06

statistics and especially beian

29:08

statistics where you mix data and some

29:12

prior knowledge about what your

29:13

distribution might look like okay this

29:15

is the thumbnail sketch the mile high

29:17

overview of the first half of this new

29:20

course on probability and statistics

29:22

we're going to start with probability

29:23

build our intuition build the

29:25

mathematical models these are the tools

29:27

we're going to use when we then have

29:29

data and we're trying to say statistical

29:31

things from that data I'm super excited

29:34

to walk you through this I've been

29:36

waiting for this for literally over a

29:38

decade um and I hope you get as much

29:40

value out of this as I do thank you

Interactive Summary

Steve Brunton introduces a comprehensive new short course on probability and statistics, highlighting their foundational role in understanding complex systems, data science, and machine learning. He frames the course as a journey from introductory concepts and intuition to advanced topics, emphasizing how probability models uncertainty in systems like gas dynamics, turbulence, and measurement errors. He also distinguishes between probability—predicting future data from a known distribution—and statistics—inferring distribution parameters from known data—while touching on key concepts like random variables, the Central Limit Theorem, hypothesis testing, and Bayesian statistics.

Suggested questions

3 ready-made prompts