






































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







































Stat 4570/ Based on Devore ’ s book (Ed 8)
Random Variables We can associate each single outcome of an experiment with a real number: We refer to the outcomes of such experiments as a “ random variable ”. Why is it called a “ random variable ”?
Random Variables
Birth weight example
Two Types of Random Variables A discrete random variable: Values constitute a finite or countably infinite set A continuous random variable:
Example A lab has 6 computers. Let X denote the number of these computers that are in use during lunch hour -- {0, 1, 2… 6}. Suppose that the probability distribution of X is as given in the following table:
Example, cont From here, we can find many things:
Geometric r.v. -- Example Starting at a fixed time, we observe the gender of each newborn child at a certain hospital until a boy ( B ) is born. Let p = P(B) , assume that successive births are independent, and let X be the number of births observed until a first boy is born. Then p (1) = P ( X = 1) = P(B) = p And, p(2)=?, p(3) =?
The Geometric r.v. Continuing in this way, a general formula for the pmf emerges: The parameter p can assume any value between 0 and 1. Depending on what parameter p is, we get different members of the geometric distribution. cont’d p(x) = ( (1 p) x 1 p if x = 1, 2 , 3 ,... 0 otherwise
Example
Binomial experiments conform to the following:
The Binomial Random Variable and Distribution Suppose, for example, that n = 3. What is the sample space? Using the definition of X, X ( SSF ) =? X ( SFF ) =? What are the possible values for X if there are n trials? NOTATION: We write X ~ Bin( n , p ) to indicate that X is a binomial rv based on n Bernoulli trials with success probability p. What distribution do we have if n = 1?
Example – Binomial r.v. A coin is tossed 6 times. From the knowledge about fair coin-tossing probabilities, p = P ( H ) = P(S) = 0.5. How do we express that X is a binomial r.v. in mathematical notation? What is P(X = 3)? P (X >= 3)? P(X <= 5)? Can we derive the binomial distribution?
Let X be a discrete r.v. with set of possible values D and pmf p ( x ). The expected value or mean value of X , denoted
X
Note that if p(x)=1/N where N is the size of D then we get the arithmetic average.
Example Consider a university having 15,000 students and let X = of courses for which a randomly selected student is registered. The pmf of X is given to you as follows: