Lecture 1 Flashcards
What is a distribution function?
This is a Cumulative distribution function, CDF.
The distribution function for a density function is a function that describes the probability that a random variable will take on a value less than or equal to a given number.
To find the distribution function, we need to integrate the density function over the given range.
Note. This
How do you find the expectations of a density function?
E[X] = int_{lower limit}^{higher limit} xf(x) dx
Integrate this and we get the expectations.
What is the formula for the variance?
VAR(X) = E(X^2) - E(X)^2
How do you find the variance of a density function?
Use VAR(X) = E(X^2) - E(X)^2
First calsulate E(X) and square it. Then Calculate E(X^2) by
E[X^2] = int_{lower limit}^{higher limit} x^2f(x) dx
Then use the values in the the formula and calculate.
How do you Calculate p(a≤ X ≤ b)
F(b) - F(a)
How do you find p(X < a) ?
F(a)
How do you find p(X > a) ?
1- F(a)
What are the properties of a PDF?
Non-negative in the whole range.
The area is equal to one.
It is continuous.
What is the formula for covariance?
cov[x,y] = E[xy] - E[x]E[y]
Vad menas med density function och vad menas med distribution function?
density = PDF = f(x) = p(X = x)
distribution = CDF = F(x) = p(X ≤ x)
What are the definitions of PDF vs CDF?
PDF = f(x) = A probability density function (pdf) tells us the probability that a random variable takes on a certain value. E.g., P(x = 1) : 1/6, using a dice example.
CDF = F(x) = A cumulative distribution function (cdf) tells us the probability that a random variable takes on a value less than or equal to x. E.g., P(x ≤ 3) : 3/6 using a dice example.
WHat is the pdf of the uniform distribution?
f(x) = 1 /(b-a)
What is the CDF of the unifrom distribution?
F(x) = (x-a)/(b-a) = (1/(b-a))(x-a)
Som i hennes exempel med U(0,2)
DÅ blir det
(1/(2-0))(x-0) = (1/2)x
Difference between binomial and negative binomial
A binomial rv is the number of successes in a given number of trials.
A negative binomial rv is the number of trials needed for a given number of successes.
What is the formula for the original CI?
Estimate + critical value x SE
Critical value is 1.96 if 95% conf