Presentation is loading. Please wait.

Presentation is loading. Please wait.

Random Variables In this chapter we will continue our study of building probability models for random phenomenon's. In particular we will examine those.

Similar presentations


Presentation on theme: "Random Variables In this chapter we will continue our study of building probability models for random phenomenon's. In particular we will examine those."— Presentation transcript:

1 Random Variables In this chapter we will continue our study of building probability models for random phenomenon's. In particular we will examine those random phenomenon's whose outcomes can be expressed as numerical values. By the end of this chapter you should be familiar with different types of discrete random probability models and continuous random probability models and how to find the means and variances of these models.

2 Review Definition of a Probability Model
There are two things we must identify when building a probability model for a random phenomenon. What are they? 1) 2)

3 Random variable The outcomes of the sample space are not always numeric. For instance flipping a coin 4 times could give the string of HHHT or HHTT. In statistics we are most often interested in numerical outcomes of a random phenomenon such as the count of heads in four tosses. Because of this we might assign values to the outcomes of the random phenomenon (This is only for those situations that it makes sense to do so) The outcomes of the sample space are now represent by a variable X ( a set of numeric values) called a random variable. Definition: Random Variable: Is a variable whose value is a numerical outcome of a random phenomenon.

4 Random Variable As we progress from general rules of probability toward statistical inference, we will concentrate on random variables. When a random variable X describes a random phenomenon, the sample space S just lists the possible values of the random variable. We usually will not list S (sample space) separately.

5 Assigning Probabilities to the values of a random variable.
There are two types of random variables (thus two types of probability models) that will dominate our application of probability to statistical inference. Each will require different techniques for assigning probabilities to the values the random variable represents. Remember assigning the probabilities to the outcomes is the second step in building a probability model for a random phenomenon.

6 Discrete random variable
A discrete random variable X has a countable number of possible values. The probability distribution of X lists the values and their probabilities. The probabilities must satisfy two requirements. What are they? 1) 2) Find the probability of any event by adding the probabilities p of the particular x values that make up the event.

7 Examples: Let’s create a probability distribution of the random phenomenon of flipping a fair coin 4 times and counts the number of heads that occur. This is a discrete random variable we will call X. What assumptions must we take into consideration with this model? Assumptions: 1) 2)

8 Example: The count of the number of heads of 4 tosses of a fair coin. Outcome random variable probability HHHH /16 HHHT /16 HHTH /16 HTHH /16 THHH /16 TTTH /16 TTHT /16 THTT /16 HTTT /16 HHTT /16 TTHH /16 THHT /16 HTTH /16 THTH /16 HTHT /16 TTTT /16

9 Why is X called a discrete random variable?
Probability distribution of X the number of heads in 4 tosses of a fair coin. What is the set X, the number of heads we can obtain when we flip a coin four times? X = { } remember this will now represent our sample space for this event. Why is X called a discrete random variable? Now assign probabilities for each value of set X. Are they equally likely for each value of the discrete random variable X? Give these as relative frequencies

10 Number of heads in four tosses of a coin probability model continued
Outcome Random variable X P(X) 4 heads /16 3 heads /16 2heads /16 1head /16 0 heads /16

11 Probability distribution for X
X= the number of heads in 4 tosses of a fair coin. X P(X) BIG POINT: This is a probability model. It is a theoretical model. The probabilities can be thought as the relative frequencies of the random variable if I did conducted the experiment and infinite number of times. A probability model is still based on assumptions. The assumption in this model is that a head and tail are equally likely. We obtained this assumption from the people that flipped the coin 40,000 times. (heroically)

12 Probability histogram
Is a histogram of a probability model of a discrete random variable. How would we draw it?

13 Relative frequency Number of heads in 4 tosses

14 What does the area of each bar represent?

15 Relative frequency model.
A relative frequency model can help estimate a probability model if the experiment is conducted many, many, many, times! The probability model is the theoretical model and the relative frequency model is what actually did happen. One idea of statistical inference is to compare what did happen (relative frequency model) to what we EXPECT to happen (probability model) and draw conclusions.

16 Example: What is the probability of winning on the first roll in the game of craps? To answer this question we will build a probability model of this random phenonmenon. I) What is the random event? II) State the Assumptions: 1) 2)

17 What will the random variable X represent:
In words: Values: X = { }

18 Assign probabilities to the values of X.
X P(X) 2 1/36 3 4 5 6 7 8 9 10 11 12

19 To answer the question (What is the probability of winning at craps on the first roll, we need to find P(x = 7 or x= 11) Are these disjoint events?disjoint events so P(x=7 or x=11)= What did our relative frequency model predict from the activity? Do we expect this type of variation?

20

21

22 Construct the probability model for this game.
X P(X) $3 1/8 $4 1/14 Prizes = 63% of sales $5 1/22 $6 1/28 $8 1/76 $10 1/76 $25 1/100 $50 1/280 $ /4000 $ /240000 $ /480000 Is this a good probability model? If not what is missing? Is this a discrete probability model? Why?

23 7.5 Express “ the unit has five or more rooms in terms of X What is the probability of this event? b) Express the event X > 5 in words. What is P(x>5) ? c) What important fact about discrete random variables does comparing your answers to a and b above illustrate?

24


Download ppt "Random Variables In this chapter we will continue our study of building probability models for random phenomenon's. In particular we will examine those."

Similar presentations


Ads by Google