Lecture 1 Flashcards

1
Q

What is a distribution function?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you find the expectations of a density function?

A

E[X] = int_{lower limit}^{higher limit} xf(x) dx

Integrate this and we get the expectations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the formula for the variance?

A

VAR(X) = E(X^2) - E(X)^2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you find the variance of a density function?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you Calculate p(a≤ X ≤ b)

A

F(b) - F(a)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you find p(X < a) ?

A

F(a)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do you find p(X > a) ?

A

1- F(a)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the properties of a PDF?

A

Non-negative in the whole range.

The area is equal to one.

It is continuous.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the formula for covariance?

A

cov[x,y] = E[xy] - E[x]E[y]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Vad menas med density function och vad menas med distribution function?

A

density = PDF = f(x) = p(X = x)

distribution = CDF = F(x) = p(X ≤ x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the definitions of PDF vs CDF?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

WHat is the pdf of the uniform distribution?

A

f(x) = 1 /(b-a)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the CDF of the unifrom distribution?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Difference between binomial and negative binomial

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the formula for the original CI?

A

Estimate + critical value x SE

Critical value is 1.96 if 95% conf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is formula for SE?

A

SE = sqrt (var/n)

Alternativly SE = Sd/sqrt(n)

17
Q

What is the formula for a t-test

A

t = (x - μ)/(sd/sqrt(n))

Where:
x = sample mean
μ= theoretical valu we will test against, should be = 0.
sd = standard diviation
N = sample size

18
Q

Write out the Likelihood ratio test

A

LR = 2(l(t^)-l(t))

Where l = log likelihood
t = thete = parameter of interest

We look at chi-2 distribution

19
Q

Write out the Wald test

A

(t^ - t)/sd(t^)

We look at chi-2 distribution.

20
Q

Write out score test

A

l’(θ_0)/squrt(l(θ_0)) ???