General Flashcards

1
Q

What is the expansion for e^x?

A

e^x = 1 + x + x^2/2! + x^3/3! + ….

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

What is the mean and variance of the Binomial Distribution?

A

X~Bin(n,p)
n number of trials
p probability of success of each trial

Mean = np
Variance = np(1-p)

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

What is the variance formula with 2 variable with the correlation coefficient?

A

Var(ax+by) a^2var(x) +b^2var(y) +2absd(x)sd(y)* p

where p is the correlation coefficient

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

What is the formula for the mean of a discrete distribution?

A

E[X] = sum[x*P(x=x)]

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

What is the formula for the mean of a continuous distribution?

A

E[x] = int[a,b] x*f(x) dx

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

What is the formula for the variance of a discrete distribution?

A

sum[(mu-x)^2 * P(X=x)]

Alternatively we have,
Var[x] = E[x^2] - E[x]^2

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

What is the mean and variance of a uniform distribution?

A

Mean = (b-a)/2
Variance = (b-a)^2/12

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

What is the pdf of a uniform distributions i.e. f(x)?

A

1/(b-a)

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

What is the pdf of the exponential distribution?

A

If X~exp(lambda) then lambda = 1/mu

f(x) = lambdaexp(-lamdax) for x>=0

f(x) =0 for x<0

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

What is the formula for P(X<x) and P(X>x) if X~exp(lambda)?

A

P(X>x) = exp(-lambdax)
P(X<x) = 1-exp(-lambda
x)

given that x>0

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

How do you find the gradient of a line when you have points that sit on the line itself?

A

“Up over across”

(y2-y1)/(x2-x1)

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

What it the Covariance formula?

A

Cov(x,y) = psigma_xsigma_y

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

What are the covariance identities?

A

Cov(ax+b,cy+d) =cov(ax,cy) + cov(ax,d) + cov(b,cy) + cov(d,b)
Cov(ax+b,cy+d) =accov(x,y) + 0 + 0 + 0

Cov(x,x) = var(x)

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

What is the binominal distribution probability function? (Px=x)

A

P(X=x) = nCx * p^x * (1-p)^(n-x)

n - number of trials
p - probability of success

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

What is the nCx formula?

A

n!/x!*(n-x)!

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

What is the MGF stand for?

A

E[exp(a*x)] where X is the r.v. we are trying to find the mean for