Professional Documents
Culture Documents
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1
1/21
1/21/13
Then we need another subscript for the individual data point for the height of the first person. general covariates.
2/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 2/21
1/21/13
Randomness
Variables like way. In general, randomness is a hard thing to define In this class a variable may be random because - It represents an incompletely measured variable - It represents a sample drawn from a population using a random mechanism. Once we are talking about a specific value of a variable we have observed it isn't random anymore, we write these values with lower case letters We write or , etc. or . and are called random variables because we expect them to be random in some
3/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 3/21
1/21/13
4/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 4/21
1/21/13
Distributions
In statistical modeling, random variables like A distribution tells us the possible values of are assumed to be samples from a distribution and the probabilities for each value. Probability is the chance something will happen and is abbreviated The probabilities must all be between 0 and 1. The probabilities must add up to 1. An example: - Let's flip a coin and allow if it is heads and to represent whether it is heads or tails if it is tails
- We expect that about 50% of the time it will be heads. - The distribution can then be written Pr( )=0.5 and Pr( )=0.5
5/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 5/21
1/21/13
6/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 6/21
1/21/13
Parameters
Distributions are defined by a set of fixed values called parameters. parameters are sometimes represented by Greek letters like . or . Distributions are written as letters with the parameters in parentheses like means that has the distribution.
7/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 7/21
1/21/13
8/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 8/21
1/21/13
Conditioning
The variables are considered to be random The parameters are considered to be fixed values Sometimes we want to talk about a case where one of the random variables is fixed To indicate what is fixed, we condition using the symbol " "" means that means is a random variable with fixed parameter is the random variable when is fixed at 2.
9/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 9/21
1/21/13
10/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 10/21
1/21/13
11/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 11/21
1/21/13
12/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 12/21
1/21/13
Changing parameters
Normal Distribution: , ,
13/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 13/21
1/21/13
14/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 14/21
1/21/13
15/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 15/21
1/21/13
16/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 16/21
1/21/13
17/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 17/21
1/21/13
Conditioning
Suppose and , then the distribution of is
18/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 18/21
1/21/13
Conditioning
Suppose and , then the distribution of is
http://en.wikipedia.org/wiki/Law_of_total_variance http://en.wikipedia.org/wiki/Law_of_total_expectation
19/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 19/21
1/21/13
http://en.wikipedia.org/wiki/Poisson_distribution
20/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 20/21
1/21/13
http://www.openintro.org/stat/textbook.php
21/21
file://localhost/Users/jtleek/Dropbox/Jeff/teaching/2013/coursera/week1/004representingData/index.html#1 21/21