Discrete Probability Distributions Flashcards

1
Q

Random variables

A

When al the possible outcomes of a random situation are numbers

E.g number thrown on a die

No. Calls to a call centre in an hour

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

Two types of random variable

A

Continuous random variable
Any value within a range (time for particular train journey )

Discrete random variable
Some values in a range - number of defective items in a batch (integer )

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

Expectation,expected value or mean

A

The long run average value of a random variable of interest

Called the mean, expected value or expectation

E(X)

E(X) = ExP(X)

(E= sum of) with

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

Chebyshevs theorem

A

The probability that a random variable lies within Kō is at least 1-1/K2

E.g. The probability that a random variable lied within 2 standard deviations of its mean is atleast

1-1/2^2 = 0.75

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

Variance of a random variable

A

E(X^2)-E(X)^2

Where E(X^2) = Ex^2p(X)

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

Binomial distribution number of ways x objects can be chosen from n

A

NCX= N!/X!(N-X)!

E.g. Company produces 6 products and wishes to promote only three

How many ways can it do this

6C3= 6!/3!(6-3)!

= 6x5x4x3x2x1/ (3x2x1)(3x2x1)=20

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

Binomial distribution probability of x success out of n trials

A

P(x)= NCX(P^x(1-p)^n-x)

PPPP(X times )(success)

(1-p) n-x times (failure)

E.g. 8 students sit exam
Pass -o.6
Fail-0.4

3 pass?
8C3= 56

8C3P^3(1-p)^5

=56(0.6)^3(0.4)^5=0.123863

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

Binomial distribution SPSS

A

Transform>compute variable

In excel use function BINOMIAL.DIST(x,n,p true)

True indicates cumulative probability

Use false for the probability of exactly x successes

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

Cumulative binomial probabilities

A

Probability of 3 or less(e.g.)

P(x(less than or equal to) 3) = p(0)+p(1)+(p2)+(p3)

E.g. 45% voters are Tory
Probability that in a sample of 8 voters, 2 or less are Tory

P(x(less than or equal to) 2)

P(0) 8C0 0.45^0 0.55^8=….
P(1) 8C1 0.45^1 0.55^7
P(2). 8C2. 0.45^2 0.55^6

Add up answers together

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

Expected value and variance of binomial variable

A

Expected value
U= E(X)=np

Variance= o^2= np(1-p)

E.g. 40% patients need treatment
100 patients

N=100
P=0.4

Mean u=100x40
Variance= 100 x 0.4 x 0.6 = 24

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