Statistics 110 - PowerPoint PPT Presentation

1 / 30
About This Presentation
Title:

Statistics 110

Description:

lifetime Red Bull. consumption (cans) Random Vectors. We tabulate random vectors in data frames ... lifetime Red Bull. consumption (cans) Continuous RVs. Again ... – PowerPoint PPT presentation

Number of Views:24
Avg rating:3.0/5.0
Slides: 31
Provided by: jinomeS
Category:
Tags: statistics

less

Transcript and Presenter's Notes

Title: Statistics 110


1
Statistics 110
  • Balaji S. Srinivasan
  • Week 4 Numerical Examples,
  • Conditional Probability, Independence

2
Syllabus
3
Last Week
  • Expectation of g(X)
  • Properties
  • Mean Variance
  • Multivariate RVs
  • Data Frames
  • Multinomial
  • Multivariate Normal

4
Today
  • Review
  • Expectation
  • Random Vectors
  • Numerical Examples
  • Analytical Calculation
  • Compare to R Simulation

5
Mean and Variance
6
Random Vectors
A random vector is a function which maps simple
events to vectors
7
Random Vectors
We tabulate random vectors in data frames
8
Discrete Random Vectors
Data frames implicitly specify joint marginal
pmfs
Joint PMF (Empirical Frequencies)
9
Discrete Random Vectors
Data frames implicitly specify joint marginal
pmfs
10
Multinomial
Key Discrete Random Vector
What is the probability of getting 10 red, 5
blue, 7 green if we draw 22 balls?
11
Random Vectors
What if our random vector has continuous elements?
12
Continuous RVs
Again we can build up a data frame...
13
Continuous RVs
Data frames implicitly specify joint marginal
pdfs
samples
Each pair of points is a sample from a joint PDF
14
Continuous RVs
Practice
Theory
15
Data Frames
Data frames as random vectors...
abstract but powerful!
16
Numerical Examples
Ok. Lets solidify with some examples
First review of R and RVs
Then a day in the life at Stanford
17
Preliminaries
18
And Geometric...
week4_lecture10.R
dbinom plot of pmf
rbinom hist of random deviates
pbinom plot of cdf
qbinomplot of quantiles
19
Mean Variance
Geometry of Mean and Variance
Pop. Variance and SD
20
Important
Theory and Sample differ!
To understand this we need sampling
distributions...
21
Example 1
Waiting Times
22
Example 1
Waiting Times
He sees that 10 people were served in 5 minutes
and decides to (crudely) model w/ an exponential
distro...
23
Waiting Times
Now he can answer some questions
24
Some comments...
Why not the binomial?
Assume 1000 people served over course of night.
What is the probability that at least 1 person
waits 3 mins?
In this case we could have used binomial (exact
result) but usually for large N/small p we have
overflow problems w/ exact computation (leading
to Poisson)
25
Example 2
26
Example 2
Riding on Campus
Albert wishes to ride his bike without getting a
ticket. He observes that the police only ticket a
subset of all arrivals.
Arrivals are normally distributed around 11am w/
SD of 5 mins. Police start and stop ticketing so
that they catch 90 of dangerous felons...
27
Example 2
Riding on Campus
Arrivals are normally distributed around 11am w/
SD of 5 mins. Police start and stop ticketing so
that they catch 90 of dangerous felons...
28
Example 2
Riding on Campus
29
Example 2
Riding on Campus
30
Today
  • Review
  • Expectation
  • Random Vectors
  • Numerical Examples
  • Analytical Calculation
  • Compare to R Simulation
Write a Comment
User Comments (0)
About PowerShow.com