Discrete distribution Flashcards

(24 cards)

1
Q

Bernoulii random variable

A

can take two values 0 and 1

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

if a random var X has Bernoulli distribution then its p.m.f. :

A

px(1) = p, px(0) = 1 - p

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

Expectation and variance of Bernoulli random var

A

E(X) = p, Var(X) = p(1-p)

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

Binomial distribution

A

In each case there is a fixed number of trials each have two possible outcomes called success and failures each one can be described as Bernoulli random var - we are interested in counting the total number of successes

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

if a random var X has a binomial distribution with parameters n - the number of trials and p - the probability of success in each trial, then p.m.f

A

px(x) = n!/(x!(n-x)!) * p^x * (1-p)^(n-x) = (n/x)p^x*(1-p)^(n-x)

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

expectation and variance of binomial distribution

A
E(X) = np
Var(X) = np(1-p)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

cumulative distribution

A

Fx(x) = P(X<=x) = sum(px(a)) from a to x

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

binomial distribution in Matlab

A

p.m.f : binopdf(x, n, p)
c.d.f. : binocdf(x,n,p)
alfa quantile: binding(alfa, n, p)
binornd(nap, [1,m]) - generate m random observations from binomial distribution

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

geometric distribution

A

in geometric distribution there is a sequence of success or failure Bernoulli trials, but the number of trials is not fixed

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

p.m.f of geometric distribution

A

px(x) = (1-p)^(x-1)*p

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

expectation and variance

A
E(X) = 1/p
Var(X) = (1-p)/p^2
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

poisson distribution

A

used to represent more general count data; the number of times an event occurs in a finite interval in time or space - used mainly when events is regarded as rare

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

p.m.f of Poisson distribution with rate parameter b

A

px(x) = P(X=x) = (e^-b*b^x)/x!

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

expectation and variance of Poisson distribution

A

E(X) = VAR(X) = b

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

the Poisson distribution in Matlab

A

pm.f - poisspdf(x, lambda)
c.d.f - poisscdf(x, lambda)
alfa quantile - poising(alfa, lambda)

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

joint probability mass function of two discrete random variables X and Y

A

p.m.f(x,y) = P{(X=x) & (Y=y)}

17
Q

marginal distribution of X’s p.m.f. and Y’s p.m.f.

A
px(x) = sum(px,y(x,y))
py(y) = sum(px,y(x,y))
18
Q

multinomial distribution

A

this is the generalisation of binomial distribution to the case where there are more than two possible outcomes in each trial - we have n trials and k - possible outcomes

19
Q

p.m.f of multinomial distribution with n trials and probabilities p1, p2, …, pn

A

px(x1, x2, x3, … , xn) = (n!/x1!x2!xn!)p1^x1p2^x2…*pn^xn

20
Q

conditional distribution for multinomial random variable

A

(X2,….,Xn)|X1 = multinomial(n-X1; p2/(1-p1),…,pn/(1-p1))

21
Q

what does it mean that variables are identically distributed

A

if n random variable have the same probability distribution

22
Q

Expectation and variance of independent and identically distributed random variables

A

E(X’(n)) = a
Var(X’(n)) = b^2/n
where X’(n) to be the mean:
X’(n) = sum(Xi/n)

23
Q

standard error

A

sqrt(Var(X’(n)) = b/sqrt(n),

denoted by SE(X’(n))

24
Q

central limit theorem

A

for random variables X1, X2…,Xn each with mean a and variance b^2, the distribution of X’(n) tends to normal distribution with mean a and var b^2 as n-> inf:
X’(n) = N(a, b^2/n) or
sum(Xi) = N(na, nb^2)