chapter4 distibution and density functions Flashcards
What are the properties of F(y) and what is F(y) called
- limit as y goes toe -inf is zero.
2.limit as y goes to inf is 1 - if 2 values of y where y1 < y2 then F(y1) <= F(y2)
F(y) called cumilative distribution function
What is f(y)
Probability density function and is the first derivitive of the cumalative distribution function F(y)
How to calculate p y falls in interval a b when have density function
Take the integreal from a to b of the density function f(y)
How to calculate the expected value of continues random variable
Take the integral over full range of f(y)*y or whatever is inside E[y]
What is the expected value of g(y) a function of y
E(g(y)) = integral over full range of f(y)*g(y)
Theorems of expected value E[y]
- E(c) = c
- E(cy) = cE(y)
- if g1(y) , g2(y), g3(y) ect is function of y then
E[g1(y)+ g2(y)+…] is equal to E(g1(y))+ E[g2(y)] ect
How to calculate variance
E(y^2) - E[y]^2 where E[y] = mean
What is the density function f(y) of a uniform distribution
f(y) = 1/upperbound - lowerbound where lower <= y <= upper
What is the mean and variance of uniform distribution
mean is the mid value of range thus upperbound+lowerbound/2
Variance is defined as (upp - low)^2/ 12
Just integrate over the range and calculate E(y) for proof
What is f(y) of a normally distubuted random variable
f(y) = 1/sigma root(2 pi) * e^(-(y-u)^2/2sigma^2)
Normal distribution has 2 parameters u and sigma
E[y] = u thus mean and v(Y) = sigma^2
how to calculate p(y) for normal distribution
Use table of standard normal distrubution. Convert other normal distrubution to standard by z = y-u/sigma
define f(y) for a gamma distribution
Gamma function always positive with positive constants a and b (alpha and beta)
y^(a-1)*e^(-y/b)/b^a * gamma(a) y >=0
Where gamma(a) = intigral from 0 to inf of y^a-1 *e^-y
Properties of gamma function
gamma(1) = 1 and gamma(n) = (n-1)! for n is integer
What is the expected value and variance of a gamma distribution.
E(y) = ab (alpha beta) V(y) = ab^2
define parameters of chi-square distribution
if Y is gamma distrubution with a = v/2 where v is positive integer and b = 2 the it is a chi-squar distrubution with v degrees of freedom