• Aucun résultat trouvé

I.Random variable A

N/A
N/A
Protected

Academic year: 2022

Partager "I.Random variable A"

Copied!
2
0
0

Texte intégral

(1)

DNL Tale   Maths / English

P

ROBABILITY

 – B

INOMIAL

 D

ISTRIBUTION Worksheet #T­7­4

I. Random variable 

A  random variable is a variable taking real numbers as values, according to the outcome of a random  experiment.

In case of a discrete random variable, the mean of the random variable values weighted by their probability  exists, it is the expectation (or expected value). 

  EX =

 

P

X=xi

 

xi

P

X=xi

, since 

P

X=xi

= 1 the final result is  EX =

 

P

X=xi

 

xi

Note : In case of a continuous random variable, the expectation may not exist, and is computed through an integral.

The expectation can be interpreted as the long­run average of the results of many independent repetitions of  an experiment. The expected value may be unlikely or even impossible (such as having 2.5 children), just like  the sample mean.

Example

      : We pick a card from a 32 deck, the random variable X has value 0.5 when the card is hearts, and  value 2 otherwise : X

{

0.5;2

}

Let  EX be the expectation of X. We compute EX = 8

32×0.524

32×2 = 448

32 = 1.625 As we can see, the expectation is not a value from the range of the random variable X.

II. Bernoulli trial

A Bernoulli trial is an experiment with two outcomes only, usually referred to as Success and Failure.

Let  p be the probability of success in a Bernoulli trial. Then the probability of failure q is given by :   q = 1−p

Let X be the random variable mapping 1 to success and 0 to failure.

Example

      :    We cast a 6 sided­die, we call success the number 5, and everything else is failure. 

PX=1 = 1

6 and  PX=0 = 5 6 Exercise

 1. Prove that the expectation of the random variable associated to a Bernoulli  trial with probability of success p is  EX = p

III. Binomial distribution

A binomial experiment consists of a fixed number n of identical and independant Bernoulli trials with  p as  the probability of success.

The random variable X equal to the number of success within the n trials has values in the subset of integers 

{

0 ,1 , … ,n

}

  Vocabulary     Bernoulli trial – binomial experiment – expectation – expected value – failure – random variable – success

2013/14 ­ Tale ­ Worksheet #T­7­4 PROBABILITY – BINOMIAL DISTRIBUTION page 1/2

(2)

A tree is a convenient diagram to represent a binomial experiment.

(etc...)

The number of outcomes with k successes is

nk

The probability of getting one particular outcome with k successes is Pk ,0 = pk

1−p

n−k

The probability of getting k successes is then PX=k =

nk

pk

1p

n−k

The binomial distribution  is the discrete probability distribution of the number of successes in a binomial  experiment. The binomial distribution is noted  

B

 (n,  p) .

The expected value of the random variable in the binomial distribution 

B  

(n, p)  is  EX = n p . Exercises

 2. A coin has been engineered, and shows heads one time in four, and heads is called success. The same  coin is tossed 3 times.

(a) Draw a tree matching the binomial distribution  

B

  (3, 0.25) (b) Draw a table with the probabilities of the number of successes (c) Check the expectation of  

B

  (3, 0.25).

 3. A multiple choice exam is given, listing 20 questions coming each with 4 choices, exactly one of the  four being the right answer.

Prove that a student who answers randomly (like he or she did not prepare soundly) expects a mark 5  over 20.

IV. Negative Binomial distribution

the  negative binomial distribution  is a discrete probability distribution of the number of successes in a  binomial experiment before a specified number of failures (denoted r) occur.

For example, if one throws a die repeatedly until the third time “1” appears, then the probability distribution  of the number of non­“1”s that had appeared will be negative binomial.

Exercises

 4. A fair coin is tossed as many times as necessary. Let X be the random variable counting the number of   Heads before the first Tails occurs.

(a) Start a table figuring this negative binomial distribution.

(b) Start another table if we want Y to count the number of Heads before the second Tails occurs.

  Vocabulary      binomial distribution – negative binomial distribution

2013/14 ­ Tale ­ Worksheet #T­7­4 PROBABILITY – BINOMIAL DISTRIBUTION page 2/2

p 1– p  

S F

p 1– p  

S F

p 1– p  

S F

p 1– p  

S F

p 1– p  

S F

p 1– p  

S F

p 1– p  

S F

Références

Documents relatifs

a branching process in an independent and identically distributed random environment with a countable state space.. Key words: Branching processes with random

In order to deduce Theorem 1 from this equirepartition result, we observe that the total Betti number of real loci of hypersurfaces is bounded from above by the number of

We say that a specific pattern M occurs in a tree T if M occurs in T as an induced subtree in the sense that the node degrees for the internal (filled) nodes in the pattern match

Provided it is a good approximation to the exact probability distribution, its normalization will be close to one, and correcting for the exact normalization will have

We use the finite Markov chain embedding technique to obtain the distribution of the number of cycles in the breakpoint graph of a random uniform signed permutation.. This further

convex discrete distribution, nonparametric estimation, least squares, support reduction algorithm, abundance

In this article, we developed a symbolic method to compute the distribution associated to the number of pattern occurrences in random texts generated by stochastic 0L-systems.. In

Consequently, we show that the distribution of the number of 3-cuts in a random rooted 3-connected planar triangula- tion with n + 3 vertices is asymptotically normal with mean