Chapter 3: Discrete Random Variables

Size: px
Start display at page:

Download "Chapter 3: Discrete Random Variables"

Transcription

1 Chapter 3: Discrete Random Variables Professor Ron Fricker Naval Postgraduate School Monterey, California 3/15/15 Reading Assignment: Sections &

2 Goals for this Chapter Learn about discrete random variables Probability distributions Expected value, variance, and standard deviation Define specific distributions Binomial Geometric Negative Binomial Hypergeometric Poisson Define and apply Tchebycheff s Theorem 3/15/15 2

3 Sections 3.1 and 3.2: Some Definitions Random variables are a fundamental concept in probability They re random because they take on random values based on the outcome of the experiment Every random variable is associated with a probability distribution that specifies the possible r.v. values & the probability each value will occur Definition 3.1: A random variable is said to be discrete if it can assume only a finite or countably infinite number of distinct values E.g., if Y represents the outcome of a six-sided die, it can only take on values 1, 2, 3, 4, 5, and 6 3/15/15 3

4 Remember the Notation Capital Roman letters denote random variables, typically X, Y, and Z These are placeholders for the values an experiment will take on once it is complete Small Roman letters denote the value of a random variable, typically x, y, and z They are the outcomes of the experiment So, we can write things like P(Y=y) which in words is the probability that random variable Y takes on the value y Get comfortable with this notation you will use it a lot in this class and in this curriculum! 3/15/15 4

5 The Probability of a R.V. Outcome Definition 3.2: The probability that Y takes on the value y, P(Y = y), is defined as the sum of the probabilities of all the sample points in S that are assigned the value y We sometimes denote P(Y = y) by p(y) Because p(y) is a function that assigns probabilities to each value of the random variable Y, it is sometimes referred to as a probability function 3/15/15 5

6 Probability Distributions Definition 3.3: The probability distribution for a discrete random variable Y can be represented by a formula, table, or a graph that provides p(y) = P(Y = y) for all y Note that p(y) 0 for all y, but the probability distribution only assigns nonzero probabilities to a countable number of y values It is convention that any value y not explicitly assigned a positive probability is understood to be zero: p(y) = 0 3/15/15 6

7 Example Basically, the probability distribution of the random variable Y tells us how the total probability of 1 is distributed among all the possible values that Y can have Example: Let the random variable Y be the sum of a pair of dice: y P(Y=y) 1/36 2 / 36 3 / 36 4 / 36 5/36 6 / 36 5/36 4 / 36 3 / 36 2 / 36 1/36 The table is the probability distribution of y! 3/15/15 7

8 Textbook Example 3.1 An XO has six junior officers in the wardroom, three men and three women. He has to choose two for a special project. So as not to play favorites, he decides to select the two at random. Let Y denote the number of women selected. Find the probability distribution for Y. Solution: 3/15/15 8

9 Textbook Example 3.1 Solution (cont d) 3/15/15 9

10 Example 3.1 Results Summary As shown below, the results can be summarized in either a table or a probability histogram Note that the area under the curve in each bar is the probability of the discrete outcome Can also represent the result as a formula: p(y) = 3 y 3 2 y 6 2,y =0, 1, 2. 3/15/15 10 Source: Wackerly, D.D., W.M. Mendenhall III, and R.L. Scheaffer (2008). Mathematical Statistics with Applications, 7 th edition, Thomson Brooks/Cole.

11 Some Common Terminology For discrete random variables, the probability distribution is often called the probability mass function (or pmf) The notation for a pmf is P (Y = y) Also, the probability distribution for continuous random variables (that we ll get to in the next chapter) is often called the probability density function (or pdf) The expression P (Y apple y) is often referred to as cumulative distribution function (or cdf) 3/15/15 11

12 Graphically Depicting the PMF and CDF Probability Mass Function P (Y = y) Cumulative Distribution Function P (Y apple y) y y 3/15/15 12

13 Probability Axioms Redux Theorem 3.1: For any discrete probability distribution, the following must be true: 1. p(y) 0 for all y X 2. p(y) =1, where the summation is over y all values of y with nonzero probability Note these are just the Probability Axioms from Chapter 2 applied to random variables 3/15/15 13

14 Section 3.2 Homework Do problems 3.1, 3.2, 3.6, 3.9 3/15/15 14

15 Section 3.3: Expected Value Definition 3.4: Let Y be a discrete r.v. with probability function p(y). Then the expected value of Y, E(Y) is defined to be E(Y )= X y y p(y) To be precise about the definition, the expected value only exists if the above sum is absolutely convergent, meaning X y p(y) < 1 y 3/15/15 15

16 Expected Value, continued We often use the Greek letter (pronounced mu ) as shorthand to denote the expected value, so E(Y ) µ Example: Consider a r.v. Y with the following probability distribution: µ or equivalently Then E(Y )= X y yp(y) =0 1/4+1 1/2+2 1/4 =1 3/15/15 16 Source: Wackerly, D.D., W.M. Mendenhall III, and R.L. Scheaffer (2008). Mathematical Statistics with Applications, 7 th edition, Thomson Brooks/Cole.

17 Example Now, remember that we defined probability in terms of relative frequency So, if the experiment in the example is repeated 4 million times, we would expect approximately 1 million 0s (i.e., 4 million x ¼ = 1 million) 2 million 1s 1 million 2s With this data, the average is µ P n i=1 y i n = 1, 000, , 000, , 000, , 000, 000 =0 1/4+1 1/2+2 1/4 2X = yp(y) =1 3/15/15 17 y=0

18 Application Example You re going to independently shoot two missiles at two targets, one at each Under a given set of conditions, the missile has a probability of kill of p k =0.7 If Y is the number of kills, then p(y) is y p(y) x 0.3 = x x 0.3 = x 0.7 = 0.49 And, E(Y), the expected number of kills is 2X E(Y )= yp(y) = = 1.4 y=0 3/15/15 18

19 Expected Value of a Function of a R.V. Theorem 3.2: Let Y be a discrete r.v. with probability function p(y) and g(y) is a realvalued function of Y. Then the expected value of g(y) is E[g(Y )] = X all y g(y) p(y) Note that this is much like the calculation in Definition 3.4 except we re doing it on g(y) instead of just y 3/15/15 19

20 Proof of Theorem 3.2 3/15/15 20

21 Proof of Theorem 3.2 3/15/15 21

22 Proof of Theorem 3.2 3/15/15 22

23 Variance & Standard Deviation of a R.V. Definition 3.5: For a r.v. Y with mean E(Y ) µ, the variance of Y, V(Y), is defined as the expected value of (Y µ) 2. That is, V (Y )=E[(Y µ) 2 ]. The variance is literally the average squared deviation of Y from its mean It s a measure of how variable a random variable is The bigger the variance, the more spread out (around the mean) the values are that the r.v. can take on 3/15/15 23

24 The Standard Deviation of a R.V. The standard deviation of Y is the positive square root of V(Y) Conventional notation often denotes the variance as V (Y ) 2 Hence, the standard deviation is often denoted by the Greek letter sigma: Note that the variance is in the mean s units squared In comparison, the standard deviation is in the same units as the mean This often makes the standard deviation easier to understand and interpret 3/15/15 24

25 Textbook Example 3.2 The probability distribution for a r.v. Y is given below in Table 3.3. Find the mean, variance, and standard deviation of Y. Solution: 3/15/15 25 Source: Wackerly, D.D., W.M. Mendenhall III, and R.L. Scheaffer (2008). Mathematical Statistics with Applications, 7 th edition, Thomson Brooks/Cole.

26 Textbook Example 3.2 Solution, cont d 3/15/15 26

27 Interpreting Example 3.2 Results 3/15/15 27 Source: Wackerly, D.D., W.M. Mendenhall III, and R.L. Scheaffer (2008). Mathematical Statistics with Applications, 7 th edition, Thomson Brooks/Cole.

28 The Expected Value of a Constant is a Constant Theorem 3.3: Let Y be a discrete r.v. with probability function p(y) and let c be a constant. Then E(c) =c. Proof: 3/15/15 28

29 Another Expected Value Theorem Theorem 3.4: Let Y be a discrete r.v. with probability function p(y), let g(y) be a function of Y, and let c be a constant. Then E[cg(Y )] = ce[g(y )] Proof: 3/15/15 29

30 And Another Expected Value Theorem Theorem 3.5: Let Y be a discrete r.v. with probability function p(y), and let g 1 (Y), g 2 (Y),, g k (Y) be k functions of Y. Then Proof: E[g 1 (Y )+g 2 (Y )+ + g k (Y )] = E[g 1 (Y )] + E[g 2 (Y )] + + E[g k (Y )] 3/15/15 30

31 A Theorem Simplifying Variance Calcs Theorem 3.6: Let Y be a discrete r.v. with probability function p(y) and mean µ. Then V (Y ) 2 = E[(Y µ) 2 ]=E(Y 2 ) µ 2. Proof: 3/15/15 31

32 Proof of Theorem 3.6 Continued 3/15/15 32

33 Textbook Example 3.3 Use Theorem 3.6 to find the variance of the r.v. Y in Example 3.2. Remember we found that µ =1.75 and the probability function is : Solution: 3/15/15 33 Source: Wackerly, D.D., W.M. Mendenhall III, and R.L. Scheaffer (2008). Mathematical Statistics with Applications, 7 th edition, Thomson Brooks/Cole.

34 Textbook Example 3.4 As the manager of a repair depot, you have the choice of buying one of two machines: either type A or type B Let t denote the number of hours of daily operation The number of daily repairs is a r.v. Y 1 is the number of daily repairs to machine A Y 2 is the number of daily repairs to machine B where E(Y 1 )=V (Y 1 )=0.10t E(Y 2 )=V (Y 2 )=0.12t 3/15/15 34

35 Textbook Example 3.4 (continued) The daily cost of operating A is C A (t) = 10t + 30Y1 2 And the daily cost of operating B is C B (t) =8t + 30Y2 2 Given the assumptions in the text, which machine minimizes the expected costs for a 10 hour workday? 20 hour workday? 3/15/15 35

36 Textbook Example 3.4 Solution 3/15/15 36

37 Textbook Example 3.4 Solution Cont d 3/15/15 37

38 Section 3.3 Homework Do problems 3.12, 3.14, 3.15, 3.23, 3.33 Problem 3.33 hint: Define a new r.v. Z = ay + b. Then V (Z) =E([Z E(Z)] 2 ) = E([(aY + b) E(aY + b)] 2 ) 3/15/15 38

39 Special Probability Distributions Up to this point, we have calculated various probability distributions that are unique to a particular problem or scenario However, there are some probability distributions that apply in many situations We are going to learn about a whole bunch of these now They will come up over and over again in this curriculum and in your future life as an ORSA It behooves you to learn these and commit the details to memory 3/15/15 39

40 Section 3.4: Binomial Probability Distribution The binomial distribution applies when there is: A sequence of independent and identical trials Each trial can result in only one of two outcomes Examples: A sequence of helmet tests where each shot is either a penetration or not A set of artillery shots where each shot is either a kill or not A medical treatment where each person is either cured or not A retention bonus experiment where each sailor either reenlists or not 3/15/15 40

41 Binomial Experiments Definition 3.6: A binomial experiment has the following properties: 1. The experiment consists of a fixed number, n, of identical trials 2. Each trial results in one of two outcomes: success, S, or failure F 3. The probability of success on any trial is p and remains the same from trial to trial The probability of failure is q = 1 p 4. The trials are independent 5. The random variable of interest is Y, the number of successes out of the n trials 3/15/15 41

42 Textbook Example 3.5 An aircraft early warning detection system consists of 4 units that operate independently. Suppose each has probability 0.95 of detecting an intruder aircraft. For an intruder, the random variable Y is the number of radar units that do not detect the intruder plane. Is this a binomial experiment? Solution: 3/15/15 42

43 Textbook Example 3.5 Solution Continued 3/15/15 43

44 Textbook Example 3.6 Suppose that 40% of a large population of registered voters favor candidate Jones. A random sample of n = 10 voters will be selected and Y, the number favoring Jones, is to be observed. Is this a binomial experiment? Solution: 3/15/15 44

45 Textbook Example 3.6 Solution Continued 3/15/15 45

46 Deriving the Formula for the Binomial Probability Distribution A sequence of n trials is conducted that can result in a success ( S ) or a failure ( F ) One such sequence might look like this: FSFSSF {z SSFS } y Ss and n y Fs Now each S occurred with probability p and each F with probability 1-p So, the probability the above sequence occurred is (1 p) p (1 p) p p (1 p) p p (1 p) p = p y (1 p) n y 3/15/15 46

47 Deriving the Formula for the Binomial Probability Distribution (cont d) But now note that the observed sequence is just one way that y successes and n-y failures could have occurred In fact, there are ways we could observe y successes in n trials So, the probability of observing y successes in n trials (given the probability of success on each trial is a constant p) is p(y) = n y n y p y (1 p) n y 3/15/15 47

48 The Binomial Distribution Definition 3.7: A random variable Y is said to have a binomial distribution based on n trials with success probability p if and only if where p(y) = n y p y q n y, y =0, 1, 2,...,n and 0 apple p apple 1 Note, for example, that if the experiment is all failures then n p(0) = p 0 q n = q n 0 3/15/15 48

49 Proof the Binomial Distribution Sums to 1 Remember that for a valid probability distribution X p(y) =1 For the binomial, we have X nx n p(y) = p y q n y y y y=0 =(p + q) n =1 n =1 Small aside: A binomial r.v. with n = 1 is also called a Bernoulli random variable 3/15/15 49 y

50 Example Binomial Distributions 3/15/15 50 Source: Wackerly, D.D., W.M. Mendenhall III, and R.L. Scheaffer (2008). Mathematical Statistics with Applications, 7 th edition, Thomson Brooks/Cole.

51 Interactive Binomial Distribution Demo From R (with the shiny package installed), run: shiny::rungithub('discretedistndemos','rdfricker') 3/15/15 51

52 Reading Table 1 in Appendix 3 3/15/15 52 Source: Wackerly, D.D., W.M. Mendenhall III, and R.L. Scheaffer (2008). Mathematical Statistics with Applications, 7 th edition, Thomson Brooks/Cole.

53 Reading Table 1 in Appendix 3 (cont d) 3/15/15 53 Source: Wackerly, D.D., W.M. Mendenhall III, and R.L. Scheaffer (2008). Mathematical Statistics with Applications, 7 th edition, Thomson Brooks/Cole.

54 Reading Table 1 in Appendix 3 (cont d) 3/15/15 54 Source: Wackerly, D.D., W.M. Mendenhall III, and R.L. Scheaffer (2008). Mathematical Statistics with Applications, 7 th edition, Thomson Brooks/Cole.

55 Reading Table 1 in Appendix 3 (cont d) 3/15/15 55 Source: Wackerly, D.D., W.M. Mendenhall III, and R.L. Scheaffer (2008). Mathematical Statistics with Applications, 7 th edition, Thomson Brooks/Cole.

56 Textbook Example 3.7 Suppose that a lot of 5,000 electrical fuses contain 5% defectives. If a sample of 5 fuses is tested, find the probability of observing at least one defective. Solution: 3/15/15 56

57 Solution in R In R, the binomial functions are dbinom() and pbinom() P(Y = y 0 ): dbinom(y 0,n,p) P(Y apple y 0 ): pbinom(y 0,n,p) So, 3/15/15 57

58 The R Help Page 3/15/15 58

59 Textbook Example 3.8 Data show that 30% of people recover from a particular illness without treatment Ten ill people are selected at random to receive a new treatment and 9 recover after the treatment Assuming the medication is worthless (i.e., has no effect on the illness), what is the probability that prior to treatment we would have expected to observe that at least 9 of the 10 treated people recover? Solution: 3/15/15 59

60 Textbook Example 3.8 Solution Continued 3/15/15 60

61 Checking the Solution in R 3/15/15 61

62 Textbook Example 3.9 The lot of electrical fuses in Example 3.7 is supposed to contain only 5% defectives. If n = 20 fuses are sampled, what s the probability of observing at least 4 defectives? Solution: Note: 3/15/15 62

63 Mean and Variance of a Binomial R.V. Theorem 3.7: Let Y be a binomial random variable based on n trials and success probability p. Then µ E(Y )=np and 2 V (Y )=npq Proof that E(Y )=np: 3/15/15 63

64 Proof Continued 3/15/15 64

65 Proof Continued 3/15/15 65

66 Proof Continued Proof that V (Y )=npq: 3/15/15 66

67 Proof Continued 3/15/15 67

68 Proof Continued 3/15/15 68

69 Proof Continued 3/15/15 69

70 Skip Textbook Example 3.10 This is a peek ahead into OA3102 and chapter 9 of the textbook It s a statistics problem: Given some data, how to we estimate the probability? We ll save these and similar problems until OA3102 3/15/15 70

71 Section 3.4 Homework Do problems 3.37, 3.40, 3.41, 3.44, 3.46, /15/15 71

72 Section 3.5: Geometric Probability Distribution Imagine (like with the binomial) you have a situation with a sequence of independent trials, where there are only two outcomes (success and failure), and the trials have probability of success p Now, if we let Y be the number of trials until the first success (where we won t fix the number of trials in advance), then Y has a geometric distribution Example: The number of pings with a radar or sonar until first detection of a (stationary) object has a geometric distribution 3/15/15 72

73 Deriving the Geometric Distribution Since Y is the number of trials up to and including the first success, we have p(y) =P (FFFFFF {z F } S) = (1 p) y 1 p y 1 Definition 3.8: A random variable Y is said to have a geometric distribution based on n trials with success probability p if and only if p(y) =q y 1 p, y =1, 2, 3,..., 0 apple p apple 1. 3/15/15 73

74 Example of a Geometric Distribution 3/15/15 74 Source: Wackerly, D.D., W.M. Mendenhall III, and R.L. Scheaffer (2008). Mathematical Statistics with Applications, 7 th edition, Thomson Brooks/Cole.

75 Interactive Geometric Distribution Demo From R (with the shiny package installed), run: shiny::rungithub('discretedistndemos','rdfricker') 3/15/15 75

76 Proof that the Geometric Distribution is a Proper Probability Distribution 1. Via inspection of the histogram or the definition of p(y), it should be obvious that p(y) 0 8y X p(y) = X y y 2. Proof that q y 1 p =1: 3/15/15 76

77 Textbook Example 3.11 Assume the probability an engine fails during any one-hour period is constant at p = Find the probability that the engine continues operating for more than two hours. Solution: 3/15/15 77

78 Solution in R Similar to the binomial functions, for the geometric R has dgeom() and pgeom() P(Y = y 0 ): dgeom(y 0-1,p) P(Y apple y 0 ): pgeom(y 0-1,p) Why y 0-1 in the R expressions? So, R defines the geometric as the number of failures before the first success 3/15/15 78

79 The R Help Page 3/15/15 79

80 Mean and Variance of a Geometric R.V. Theorem 3.8: Let Y be a geometric random variable with success probability p. Then µ = E(Y )=1/p and 2 = V (Y )=(1 p)/p 2 Prove that E(Y )=1/p: 3/15/15 80

81 Proof of E(Y) Continued 3/15/15 81

82 Proof of V(Y) Continued Proof that V (Y )=(1 p)/p 2 : 3/15/15 82

83 Proof of V(Y) Continued 3/15/15 83

84 Textbook Example 3.12 As in Example 3.11, assume the probability an engine fails during any one-hour period is constant at p = Let Y denote the number of one-hour intervals until the failure. Find the mean and standard deviation of Y. Solution: 3/15/15 84

85 Application Example (Skip Example 3.13) Under a given set of conditions, the MK-48 torpedo has a probability hitting a particular surface target of p = 1/3. What is the average number of torpedoes you will need to shoot until you first hit the target? Solution: 3/15/15 85

86 Section 3.5 Homework Do problems 3.67, 3.68, 3.73, /15/15 86

87 Section 3.6: Negative Binomial Probability Distribution Assume you have a situation with only two outcomes (success and failure) and constant probability of success p If Y is the number of trials until the r th success (r > 1), then Y has a negative binomial dist n Example: Elimination of a particular hardened target will require two direct hits by a Tomohawk cruise missile. The probability of one direct hit is p = 0.3. Shooting a sequence of missiles, what is the probability that the fifth missile eliminates the target? 3/15/15 87

88 Deriving the Negative Binomial Distribution Since Y is the number of trials until the r th success: The last observation is a success and The prior y-1 trials contain exactly r-1 successes So: The probability the last observation is a success is p and The probability the prior y-1 trials contain exactly r-1 successes is p r 1 (1 p) [(y 1) (r 1)] = y 1 r 1 y 1 p r 1 (1 p) y r r 1 3/15/15 88

89 Deriving the Negative Binomial Distribution Multiplying these two, since they are independent gives the result Definition 3.9: A random variable Y is said to have a negative binomial distribution if and only if y 1 p(y) = p r q y r, y = r, r +1,r+2,..., r 1 0 apple p apple 1 3/15/15 89

90 Interactive Negative Binomial Demo From R (with the shiny package installed), run: shiny::rungithub('discretedistndemos','rdfricker') 3/15/15 90

91 Textbook Example 3.14 A geological study indicates that wells drilled in a particular region should strike oil with probability p = 0.2. Find the probability that the third oil strike comes on the fifth well drilled. Solution: 3/15/15 91

92 Using R to Calculate Probabilities Following the naming convention in R, the functions for the negative binomial are dnbinom() and pnbinom() P(Y = y 0 ): dnbinom(y 0 -r,r,p) P(Y apple y 0 ): pnbinom(y 0 -r,r,p) Why y 0 -r in the R expressions? The negative binomial R function first argument is the number of failures before the r th success So, back to the missile example: P(Y 5) = 3/15/15 92

93 The R Help Page 3/15/15 93

94 Application Example As the DCA on your ship, from experience you know the probability a randomly selected P-250 pump is operational is p = 0.5. What s the probability that you ll get 3 operational pumps in the first 3 tries? 2 P (Y = 3) = =0.5 3 = What s the probability that you have to try 6 pumps in order to get 3 operational pumps? 3/15/15 94

95 Mean and Variance of a Negative Binomial Random Variable Theorem 3.9: If Y is a r.v. with a negative binomial distribution, then the mean is E(Y )=r/p and the variance is V (Y )= r(1 p) p 2 We ll skip the proof 3/15/15 95

96 Textbook Example 3.15 A repair depot has a large inventory of retrograde biometrics systems from Afghanistan, 20% of which need repair, and for which the depot only has three repair kits A technician is sent to repair as many systems as possible. To do so, she takes a system and tests it. If it works, she sets it aside. If not, she repairs it using one of the kits Suppose it takes 10 minutes to test a system and, if it is broken, another 20 minutes to repair Find the mean and variance of the total time it takes the technician to use the 3 repair kits 3/15/15 96

97 Textbook Example 3.15 Solution: 3/15/15 97

98 Section 3.6 Homework Do problems 3.90, 3.91, 3.92, 3.93, /15/15 98

99 Section 3.7: Hypergeometric Probability Distribution To apply the binomial distribution to some finite population of size N, the sample size n must be much smaller than N See Example 3.6 about voting, where here we were approximating the use of the binomial The problem is that if n is large compared to N, then the probability of selection is not constant Example: We are going to sample without replacement n = 2 out of a population of N = 3 First draw: P(selecting an item) = 1/3 Second draw: P(selecting an item) = 1/2 3/15/15 99

100 Hypergeometric Distribution Set-up What to do when n is large compared to N? Answer: We derive a new probability distribution Here s the set-up: In the population, there are only two possible types of elements The textbook labels them red and black Think of it like you have a bowl full of red and black marbles (N) and you close your eyes and grab a handful of them (n) The outcome of interest, Y, is the number of red elements in the sample I.e., the number of red marbles in your hand 3/15/15 100

101 Hypergeometric Distribution Derivation N n There are ways to choose a sample of size n out of a population of size N So, the probability of choosing any one particular sample (E i ) is P (E i )= 1 N n, 8E i 2 S Now, if there are r red elements in the population, then the probability of picking y red elements out of the r is r y 3/15/15 101

102 Hypergeometric Distribution Derivation If there are r red elements then there must be N-r black elements And, if you selected y red then there must be n-y black elements in the sample N r Thus, there are n y ways to select the black elements Using the mn rule, it thus follows that there r N r are y n y ways to choose y red and n-y black elements from a population of size N containing r red elements 3/15/15 102

103 The Hypergeometric Distribution Definition 3.10: A random variable Y has a hypergeometric distribution if and only if P (Y = y) p(y) = r y N n N n r y where y is an integer on either 0, 1, 2,, n, if r > n, or 0, 1, 2,, r, if r < n subject to the restrictions that y apple r and n y apple N r That is, the restrictions are n apple N, r apple N and y apple min(n, r) 3/15/15 103

104 Interactive Hypergeometric Demo From R (with the shiny package installed), run: shiny::rungithub('discretedistndemos','rdfricker') 3/15/15 104

105 Textbook Example 3.16 Out of a group of 20 Soldiers, 10 are randomly selected for a special mission. What is the probability that the 5 best qualified Soldiers out of the group of 20 have been selected? Solution: 3/15/15 105

106 Check the Solution in R The functions for the hypergeometric are dhyper() and phyper() P(Y = y 0 ): dhyper(y 0,r,N-r,n) P(Y apple y 0 ): phyper(y 0,r,N-r,n) So, back to the example: And, from first principles: 3/15/15 106

107 The R Help Page 3/15/15 107

108 Mean and Variance of a Hypergeometric Random Variable Theorem 3.10: If Y is a r.v. with a hypergeometric distribution, then the mean is E(Y )= nr N and the variance is r N V (Y )=n N N We ll skip the proof r N n N 1 3/15/15 108

109 Textbook Example 3.17 Advanced combat helmets are shipped in lots of size 20. Five of the 20 helmets are ballistically tested (and destroyed) to check for quality. If more than one helmet is found defective, the lot is rejected, If the lot of 20 actually contains 4 defectives, what is: The probability the lot will be rejected? The expected number of defectives in the sample of 5 helmets? The variance of the number of defectives in the sample of 5 helmets? 3/15/15 109

110 Textbook Example 3.17 Solution 3/15/15 110

111 Textbook Example 3.17 Solution (cont d) 3/15/15 111

112 Section 3.7 Homework Do problems 3.102, 3.113, 3.114, /15/15 112

113 Section 3.8: Poisson Probability Distribution The Poisson distribution is often a good model for the number of rare events Y that occur in space or time Rare means that the probability that two events happen in the same (very small) increment of space or time is zero (or essentially zero) Useful for modeling the number of events that occur per unit space or time Number of accidents/incidents, equipment failures, arrivals, defects, etc. Can also be used to approximate the binomial 3/15/15 113

114 Named After Simeon Poisson Studied at the Ecole Polytechnique under Laplace and Lagrange Published this distribution, together with his probability theory, in 1837 in his work Recherches sur la Probabilité des Jugements en Matière Criminelle et en Matière Civile ( Research on the Probability of Judgments in Criminal and Civil Matters ) 3/15/15 114

115 Poisson is a Limiting Form of the Binomial For = np: lim n!1 n y Now, note that lim n!1 n and all other terms to the right of it have a limit of 1 Thus, p y (1 p) n y = lim n!1 lim n!1 = lim n!1 = y y! y n y n(n 1) (n y + 1) 1 y! n n y n y n(n 1) (n y + 1) 1 1 y! lim n!1 1 1 n n n 1 n n n = e y 1 n p y (1 p) n y = y n y 1 1 n y y! e 2 1 n y 1 n 3/15/15 115

116 The Poisson Distribution Definition 3.11: A random variable Y has a Poisson distribution if and only if y P (Y = y) = e, y =0, 1, 2,..., > 0 y! It s related to the binomial, as we just saw But in the binomial n is finite and fixed In the Poisson there is no n per se Instead, we re looking at infinitesimal regions or time slices where at most one event can occur The parameter (Greek letter lambda) is the average number of events per unit 3/15/15 116

117 What s the Difference Between Binomial and Poisson R.V.s? Binomial: Event is the number of successes in a sequence of n independent trials Example: number of operational units out of n sampled E(Y) = np > np(1-p) = V(Y) Poisson: Events occur per unit basis (per unit time, per unit area, per unit volume, etc.) Example: number of defectives per unit And, as we ll see, E(Y )=V (Y )= 3/15/15 117

118 Interactive Poisson Distribution Demo From R (with the shiny package installed), run: shiny::rungithub('discretedistndemos','rdfricker') 3/15/15 118

119 Textbook Example 3.18 Show that the Poisson distribution satisfies the requirement for a probability distribution: p(y) 0 for all y X p(y) =1 y Solution: 3/15/15 119

120 Textbook Example 3.18 Solution (cont d) 3/15/15 120

121 Textbook Example 3.19 Suppose a UAV patrol pattern is devised so the UAV may randomly visit a given location Y = 0, 1, 2, 3, times per half hour. Each location is visited an average of once per time period. Calculate the probability that the UAV will miss the location during a half-hour period. What is the probability the location will be visited exactly once? Twice? At least once? Solution: 3/15/15 121

122 Textbook Example 3.19 Solution (cont d) 3/15/15 122

123 Check the Solution in R The functions for the Poisson are dpois() and ppois() P(Y = y 0 ): dpois(y 0, ) P(Y apple y 0 ): ppois(y 0, ) So, back to the example: And, from first principles: 3/15/15 123

124 Table 3 of Appendix 3 (page 843) 3/15/ Source: Wackerly, D.D., W.M. Mendenhall III, and R.L. Scheaffer (2008). Mathematical Statistics with Applications, 7 th edition, Thomson Brooks/Cole.

125 Table 3 of Appendix 3 (page 843) Table continued: 3/15/ Source: Wackerly, D.D., W.M. Mendenhall III, and R.L. Scheaffer (2008). Mathematical Statistics with Applications, 7 th edition, Thomson Brooks/Cole.

126 See the Book for the Rest of Table 3. 3/15/ Source: Wackerly, D.D., W.M. Mendenhall III, and R.L. Scheaffer (2008). Mathematical Statistics with Applications, 7 th edition, Thomson Brooks/Cole.

127 Poisson Processes A Poisson process is a stochastic process which counts the number of events per unit of space or time In a Poisson process with mean number of occurrences per unit, the number of occurrences Y in a units has a Poisson distribution with mean a A key assumption with Poisson processes is that the number of occurrences in disjoint intervals is independent 3/15/15 127

128 Textbook Example 3.20 A type of tree has seedlings dispersed in a large area with a mean density of five seedlings per square yard. What is the probability that none of ten randomly selected one-square yard regions have seedlings? Solution: 3/15/15 128

129 Textbook Example 3.20 Solution (cont d) 3/15/15 129

130 Textbook Example 3.21 Suppose Y has a binomial distribution with n = 20 and p = 0.1. Find the exact value of P (Y apple 3) using the binomial table. Then approximate this using the Poisson table and compare. Solution: 3/15/15 130

131 Textbook Example 3.21(cont d) From Table 1: 3/15/ Source: Wackerly, D.D., W.M. Mendenhall III, and R.L. Scheaffer (2008). Mathematical Statistics with Applications, 7 th edition, Thomson Brooks/Cole.

132 Textbook Example 3.21(cont d) From Table 3: 3/15/ Source: Wackerly, D.D., W.M. Mendenhall III, and R.L. Scheaffer (2008). Mathematical Statistics with Applications, 7 th edition, Thomson Brooks/Cole.

133 More on Using the Poisson to Approximate the Binomial For large n and small p, it can be numerically unstable to do some Binomial calculations Say n=1,000,000 and p = (so = 10 ): P(Y = 3) = = (.00001)3 (.99999) But, if it was n=1x10 10 and p=1x10-9 (where we still have = 10 ) my version of Excel can t calculate it 3/15/15 133

134 Poisson Approximation For = np = 10: In R: P(Y = 3) = e ! = Very close to correct answer and much easier to calculate And if it was n=1x10 10 and p=1x10-9, = np is still 10, so no problem with the calculation 3/15/15 134

135 Mean and Variance of a Poisson Random Variable Theorem 3.11: If Y is a r.v. with a Poisson distribution with parameter, then the mean and variance are Proof: E(Y )=V (Y )= 3/15/15 135

136 Proof of Theorem 3.11 Continued 3/15/15 136

137 Proof of Theorem 3.11 Continued 3/15/15 137

138 Textbook Example 3.22 Industrial accidents occur according to a Poisson process with an average of 3 accidents/month. During the last 2 months, 10 accidents have occurred. Does this number seem highly improbable if the mean is still 3? Is there evidence that perhaps there is an increase in the mean? Solution: 3/15/15 138

139 Textbook Example 3.22 Solution (cont d) 3/15/15 139

140 3/15/15 140

141 Application Example Navy Ashore Class A Mishaps occur at the rate of 15 per 100,000 sailors per year (Source: Navy Safety Center, statistics) Hampton Roads, VA, has about 80,000 sailors assigned What is the chance that Hampton Roads will have more than 10 Class A Ashore Mishaps in the next 6 months? Solution: 3/15/15 141

142 Application Example Solution (cont d) 3/15/15 142

143 3/15/15 143

144 Section 3.8 Homework Do problems 3.121, 3.122, 3.127, 3.128, /15/15 144

145 Section 3.11: Tchebysheff s Theorem The empirical rule says that approximately 95% of observations from a symmetric (or bell shaped ) probability distribution will be in the interval µ ± 2 It s a useful rule of thumb for assessing whether an observation is unusual Tchebysheff s Theorem provides a conservative lower bound for the probability that an observation falls in the interval µ ± k It applies to any probability distribution 3/15/15 145

146 Tchebysheff s Theorem Theorem 3.14: Let Y be a r.v. with mean µ 2 and finite variance. Then, for any constant k > 0, 1 P ( Y µ <k ) 1 and P ( Y µ k ) apple 1 k 2 k 2. Equivalently: and P (µ k apple Y apple µ + k ) 1 1 k 2 P (Y apple µ k or Y µ + k ) apple 1 k 2. 3/15/15 146

147 Tchebysheff s Theorem Explained P (µ k apple Y apple µ + k ) 1 1 k 2 True probability that Y is within k standard deviations of the mean Lower bound on the true probability P (Y apple µ k or Y µ + k ) apple 1 k 2. True probability that Y is outside of k standard deviations from the mean Upper bound on the true probability 3/15/15 147

148 Tchebycheff in a Picture Consider Y with a binomial distribution with n=20 & p=0.5 Then µ = 10 & The probability histogram shows Tchebyscheff says, = p 5 P ( Y 10 2 p 5) = P (5.5 apple Y or Y 14.5) = 0.04 P ( Y 10 2 p 5) apple =0.25 Note that Tchebycheff is correct ( 0.04 apple 0.25), but quite conservative in this case 3/15/ Source: Wackerly, D.D., W.M. Mendenhall III, and R.L. Scheaffer (2008). Mathematical Statistics with Applications, 7 th edition, Thomson Brooks/Cole.

149 Textbook Example 3.28 The number of customers per day at a sales counter, Y, has mean 20 and standard deviation 2. The probability distribution is not known. What can be said about the probability that tomorrow 16 <Y <24 Solution: 3/15/15 149

150 Example On average, a supply depot gets 156 requisitions per day with a standard deviation of 22. What is an upper bound on the probability that the number of requisitions in one day will be will be more than 3 standard deviations away from the mean? Solution: 3/15/15 150

151 Section 3.11 Homework Do problems 3.167, 3.168, 3.173, From Chpt. 1 (p. 10), the empirical rule says: ü ü ü µ ± µ ± 2 µ ± 3 contains approx. 68% of the probability contains approx. 95% of the probability contains almost all of the probability 3/15/15 151

152 Section 3.12: Summary We ve developed five discrete distributions that are widely applicable Here s a table with their means and variances: 3/15/ Source: Wackerly, D.D., W.M. Mendenhall III, and R.L. Scheaffer (2008). Mathematical Statistics with Applications, 7 th edition, Thomson Brooks/Cole.

153 Memorize These Five Distributions 3/15/15 153

154 Summary (continued) In addition to Tables 1 and 3 for looking up probabilities associated with the binomial and Poisson distributions, you can use R: You ll need to be able to use the tables on exams, but outside of class I use R 3/15/ Source: Wackerly, D.D., W.M. Mendenhall III, and R.L. Scheaffer (2008). Mathematical Statistics with Applications, 7 th edition, Thomson Brooks/Cole.

155 What We Have Just Learned Learned about discrete random variables Probability distributions Expected value, variance, and standard deviation Defined specific distributions Binomial Geometric Negative Binomial Hypergeometric Poisson Defined and applied Tchebycheff s Theorem 3/15/15 155

Chapter 3. Discrete Random Variables and Their Probability Distributions

Chapter 3. Discrete Random Variables and Their Probability Distributions Chapter 3. Discrete Random Variables and Their Probability Distributions 2.11 Definition of random variable 3.1 Definition of a discrete random variable 3.2 Probability distribution of a discrete random

More information

Chapter 6: Functions of Random Variables

Chapter 6: Functions of Random Variables Chapter 6: Functions of Random Variables Professor Ron Fricker Naval Postgraduate School Monterey, California 3/15/15 Reading Assignment: Sections 6.1 6.4 & 6.8 1 Goals for this Chapter Introduce methods

More information

Chapter 3. Discrete Random Variables and Their Probability Distributions

Chapter 3. Discrete Random Variables and Their Probability Distributions Chapter 3. Discrete Random Variables and Their Probability Distributions 1 3.4-3 The Binomial random variable The Binomial random variable is related to binomial experiments (Def 3.6) 1. The experiment

More information

Statistics for Economists. Lectures 3 & 4

Statistics for Economists. Lectures 3 & 4 Statistics for Economists Lectures 3 & 4 Asrat Temesgen Stockholm University 1 CHAPTER 2- Discrete Distributions 2.1. Random variables of the Discrete Type Definition 2.1.1: Given a random experiment with

More information

STAT509: Discrete Random Variable

STAT509: Discrete Random Variable University of South Carolina September 16, 2014 Motivation So far, we have already known how to calculate probabilities of events. Suppose we toss a fair coin three times, we know that the probability

More information

STAT2201. Analysis of Engineering & Scientific Data. Unit 3

STAT2201. Analysis of Engineering & Scientific Data. Unit 3 STAT2201 Analysis of Engineering & Scientific Data Unit 3 Slava Vaisman The University of Queensland School of Mathematics and Physics What we learned in Unit 2 (1) We defined a sample space of a random

More information

Chapter 3: Discrete Random Variable

Chapter 3: Discrete Random Variable Chapter 3: Discrete Random Variable Shiwen Shen University of South Carolina 2017 Summer 1 / 63 Random Variable Definition: A random variable is a function from a sample space S into the real numbers.

More information

Chapter 2: Probability

Chapter 2: Probability Chapter 2: Probability Professor Ron Fricker Naval Postgraduate School Monterey, California 3/15/15 Reading Assignment: Sections 2.1 2.13 1 Goals for this Chapter Introduction to probability Methods for

More information

3.4. The Binomial Probability Distribution

3.4. The Binomial Probability Distribution 3.4. The Binomial Probability Distribution Objectives. Binomial experiment. Binomial random variable. Using binomial tables. Mean and variance of binomial distribution. 3.4.1. Four Conditions that determined

More information

Part 3: Parametric Models

Part 3: Parametric Models Part 3: Parametric Models Matthew Sperrin and Juhyun Park August 19, 2008 1 Introduction There are three main objectives to this section: 1. To introduce the concepts of probability and random variables.

More information

Geometric Distribution The characteristics of a geometric experiment are: 1. There are one or more Bernoulli trials with all failures except the last

Geometric Distribution The characteristics of a geometric experiment are: 1. There are one or more Bernoulli trials with all failures except the last Geometric Distribution The characteristics of a geometric experiment are: 1. There are one or more Bernoulli trials with all failures except the last one, which is a success. In other words, you keep repeating

More information

Expectations. Definition Let X be a discrete rv with set of possible values D and pmf p(x). The expected value or mean value of X, denoted by E(X ) or

Expectations. Definition Let X be a discrete rv with set of possible values D and pmf p(x). The expected value or mean value of X, denoted by E(X ) or Expectations Expectations Definition Let X be a discrete rv with set of possible values D and pmf p(x). The expected value or mean value of X, denoted by E(X ) or µ X, is E(X ) = µ X = x D x p(x) Expectations

More information

Statistics for Engineers Lecture 2 Discrete Distributions

Statistics for Engineers Lecture 2 Discrete Distributions Statistics for Engineers Lecture 2 Discrete Distributions Chong Ma Department of Statistics University of South Carolina chongm@email.sc.edu January 18, 2017 Chong Ma (Statistics, USC) STAT 509 Spring

More information

Chapter 2: Discrete Distributions. 2.1 Random Variables of the Discrete Type

Chapter 2: Discrete Distributions. 2.1 Random Variables of the Discrete Type Chapter 2: Discrete Distributions 2.1 Random Variables of the Discrete Type 2.2 Mathematical Expectation 2.3 Special Mathematical Expectations 2.4 Binomial Distribution 2.5 Negative Binomial Distribution

More information

System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models

System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models Fatih Cavdur fatihcavdur@uludag.edu.tr March 20, 2012 Introduction Introduction The world of the model-builder

More information

Discrete Distributions

Discrete Distributions Discrete Distributions STA 281 Fall 2011 1 Introduction Previously we defined a random variable to be an experiment with numerical outcomes. Often different random variables are related in that they have

More information

Continuous random variables

Continuous random variables Continuous random variables Continuous r.v. s take an uncountably infinite number of possible values. Examples: Heights of people Weights of apples Diameters of bolts Life lengths of light-bulbs We cannot

More information

System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models

System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models Fatih Cavdur fatihcavdur@uludag.edu.tr March 29, 2014 Introduction Introduction The world of the model-builder

More information

BINOMIAL DISTRIBUTION

BINOMIAL DISTRIBUTION BINOMIAL DISTRIBUTION The binomial distribution is a particular type of discrete pmf. It describes random variables which satisfy the following conditions: 1 You perform n identical experiments (called

More information

Random Variables Example:

Random Variables Example: Random Variables Example: We roll a fair die 6 times. Suppose we are interested in the number of 5 s in the 6 rolls. Let X = number of 5 s. Then X could be 0, 1, 2, 3, 4, 5, 6. X = 0 corresponds to the

More information

Binomial random variable

Binomial random variable Binomial random variable Toss a coin with prob p of Heads n times X: # Heads in n tosses X is a Binomial random variable with parameter n,p. X is Bin(n, p) An X that counts the number of successes in many

More information

Known probability distributions

Known probability distributions Known probability distributions Engineers frequently wor with data that can be modeled as one of several nown probability distributions. Being able to model the data allows us to: model real systems design

More information

Introduction to Statistical Data Analysis Lecture 3: Probability Distributions

Introduction to Statistical Data Analysis Lecture 3: Probability Distributions Introduction to Statistical Data Analysis Lecture 3: Probability Distributions James V. Lambers Department of Mathematics The University of Southern Mississippi James V. Lambers Statistical Data Analysis

More information

Module 10: Analysis of Categorical Data Statistics (OA3102)

Module 10: Analysis of Categorical Data Statistics (OA3102) Module 10: Analysis of Categorical Data Statistics (OA3102) Professor Ron Fricker Naval Postgraduate School Monterey, California Reading assignment: WM&S chapter 14.1-14.7 Revision: 3-12 1 Goals for this

More information

(Ch 3.4.1, 3.4.2, 4.1, 4.2, 4.3)

(Ch 3.4.1, 3.4.2, 4.1, 4.2, 4.3) 3 Probability Distributions (Ch 3.4.1, 3.4.2, 4.1, 4.2, 4.3) Probability Distribution Functions Probability distribution function (pdf): Function for mapping random variables to real numbers. Discrete

More information

Module 9: Nonparametric Statistics Statistics (OA3102)

Module 9: Nonparametric Statistics Statistics (OA3102) Module 9: Nonparametric Statistics Statistics (OA3102) Professor Ron Fricker Naval Postgraduate School Monterey, California Reading assignment: WM&S chapter 15.1-15.6 Revision: 3-12 1 Goals for this Lecture

More information

Math/Stat 352 Lecture 8

Math/Stat 352 Lecture 8 Math/Stat 352 Lecture 8 Sections 4.3 and 4.4 Commonly Used Distributions: Poisson, hypergeometric, geometric, and negative binomial. 1 The Poisson Distribution Poisson random variable counts the number

More information

2. AXIOMATIC PROBABILITY

2. AXIOMATIC PROBABILITY IA Probability Lent Term 2. AXIOMATIC PROBABILITY 2. The axioms The formulation for classical probability in which all outcomes or points in the sample space are equally likely is too restrictive to develop

More information

p. 4-1 Random Variables

p. 4-1 Random Variables Random Variables A Motivating Example Experiment: Sample k students without replacement from the population of all n students (labeled as 1, 2,, n, respectively) in our class. = {all combinations} = {{i

More information

14.2 THREE IMPORTANT DISCRETE PROBABILITY MODELS

14.2 THREE IMPORTANT DISCRETE PROBABILITY MODELS 14.2 THREE IMPORTANT DISCRETE PROBABILITY MODELS In Section 14.1 the idea of a discrete probability model was introduced. In the examples of that section the probability of each basic outcome of the experiment

More information

Definition: A random variable X is a real valued function that maps a sample space S into the space of real numbers R. X : S R

Definition: A random variable X is a real valued function that maps a sample space S into the space of real numbers R. X : S R Random Variables Definition: A random variable X is a real valued function that maps a sample space S into the space of real numbers R. X : S R As such, a random variable summarizes the outcome of an experiment

More information

Random Variable And Probability Distribution. Is defined as a real valued function defined on the sample space S. We denote it as X, Y, Z,

Random Variable And Probability Distribution. Is defined as a real valued function defined on the sample space S. We denote it as X, Y, Z, Random Variable And Probability Distribution Introduction Random Variable ( r.v. ) Is defined as a real valued function defined on the sample space S. We denote it as X, Y, Z, T, and denote the assumed

More information

Lecture 6. Probability events. Definition 1. The sample space, S, of a. probability experiment is the collection of all

Lecture 6. Probability events. Definition 1. The sample space, S, of a. probability experiment is the collection of all Lecture 6 1 Lecture 6 Probability events Definition 1. The sample space, S, of a probability experiment is the collection of all possible outcomes of an experiment. One such outcome is called a simple

More information

Relationship between probability set function and random variable - 2 -

Relationship between probability set function and random variable - 2 - 2.0 Random Variables A rat is selected at random from a cage and its sex is determined. The set of possible outcomes is female and male. Thus outcome space is S = {female, male} = {F, M}. If we let X be

More information

Probability and Statistics for Engineers

Probability and Statistics for Engineers Probability and Statistics for Engineers Chapter 4 Probability Distributions Ruochen Liu Ruochenliu@xidian.edu.cn Institute of Intelligent Information Processing, Xidian University Outline Random variables

More information

Example A. Define X = number of heads in ten tosses of a coin. What are the values that X may assume?

Example A. Define X = number of heads in ten tosses of a coin. What are the values that X may assume? Stat 400, section.1-.2 Random Variables & Probability Distributions notes by Tim Pilachowski For a given situation, or experiment, observations are made and data is recorded. A sample space S must contain

More information

Mathematical Statistics 1 Math A 6330

Mathematical Statistics 1 Math A 6330 Mathematical Statistics 1 Math A 6330 Chapter 3 Common Families of Distributions Mohamed I. Riffi Department of Mathematics Islamic University of Gaza September 28, 2015 Outline 1 Subjects of Lecture 04

More information

Chapter 5 Class Notes

Chapter 5 Class Notes Chapter 5 Class Notes Sections 5.1 and 5.2 It is quite common to measure several variables (some of which may be correlated) and to examine the corresponding joint probability distribution One example

More information

Common Discrete Distributions

Common Discrete Distributions Common Discrete Distributions Statistics 104 Autumn 2004 Taken from Statistics 110 Lecture Notes Copyright c 2004 by Mark E. Irwin Common Discrete Distributions There are a wide range of popular discrete

More information

ELEG 3143 Probability & Stochastic Process Ch. 2 Discrete Random Variables

ELEG 3143 Probability & Stochastic Process Ch. 2 Discrete Random Variables Department of Electrical Engineering University of Arkansas ELEG 3143 Probability & Stochastic Process Ch. 2 Discrete Random Variables Dr. Jingxian Wu wuj@uark.edu OUTLINE 2 Random Variable Discrete Random

More information

Sample Problems for the Final Exam

Sample Problems for the Final Exam Sample Problems for the Final Exam 1. Hydraulic landing assemblies coming from an aircraft rework facility are each inspected for defects. Historical records indicate that 8% have defects in shafts only,

More information

Part 3: Parametric Models

Part 3: Parametric Models Part 3: Parametric Models Matthew Sperrin and Juhyun Park April 3, 2009 1 Introduction Is the coin fair or not? In part one of the course we introduced the idea of separating sampling variation from a

More information

Lecture 4: Random Variables and Distributions

Lecture 4: Random Variables and Distributions Lecture 4: Random Variables and Distributions Goals Random Variables Overview of discrete and continuous distributions important in genetics/genomics Working with distributions in R Random Variables A

More information

Chapter 3 Discrete Random Variables

Chapter 3 Discrete Random Variables MICHIGAN STATE UNIVERSITY STT 351 SECTION 2 FALL 2008 LECTURE NOTES Chapter 3 Discrete Random Variables Nao Mimoto Contents 1 Random Variables 2 2 Probability Distributions for Discrete Variables 3 3 Expected

More information

IEOR 3106: Introduction to Operations Research: Stochastic Models. Professor Whitt. SOLUTIONS to Homework Assignment 1

IEOR 3106: Introduction to Operations Research: Stochastic Models. Professor Whitt. SOLUTIONS to Homework Assignment 1 IEOR 3106: Introduction to Operations Research: Stochastic Models Professor Whitt SOLUTIONS to Homework Assignment 1 Probability Review: Read Chapters 1 and 2 in the textbook, Introduction to Probability

More information

Discrete Distributions

Discrete Distributions Chapter 2 Discrete Distributions 2.1 Random Variables of the Discrete Type An outcome space S is difficult to study if the elements of S are not numbers. However, we can associate each element/outcome

More information

Chapter 26: Comparing Counts (Chi Square)

Chapter 26: Comparing Counts (Chi Square) Chapter 6: Comparing Counts (Chi Square) We ve seen that you can turn a qualitative variable into a quantitative one (by counting the number of successes and failures), but that s a compromise it forces

More information

Random Variables. Definition: A random variable (r.v.) X on the probability space (Ω, F, P) is a mapping

Random Variables. Definition: A random variable (r.v.) X on the probability space (Ω, F, P) is a mapping Random Variables Example: We roll a fair die 6 times. Suppose we are interested in the number of 5 s in the 6 rolls. Let X = number of 5 s. Then X could be 0, 1, 2, 3, 4, 5, 6. X = 0 corresponds to the

More information

Probability Methods in Civil Engineering Prof. Rajib Maity Department of Civil Engineering Indian Institute of Technology, Kharagpur

Probability Methods in Civil Engineering Prof. Rajib Maity Department of Civil Engineering Indian Institute of Technology, Kharagpur Probability Methods in Civil Engineering Prof. Rajib Maity Department of Civil Engineering Indian Institute of Technology, Kharagpur Lecture No. # 12 Probability Distribution of Continuous RVs (Contd.)

More information

STT 315 Problem Set #3

STT 315 Problem Set #3 1. A student is asked to calculate the probability that x = 3.5 when x is chosen from a normal distribution with the following parameters: mean=3, sd=5. To calculate the answer, he uses this command: >

More information

Outline PMF, CDF and PDF Mean, Variance and Percentiles Some Common Distributions. Week 5 Random Variables and Their Distributions

Outline PMF, CDF and PDF Mean, Variance and Percentiles Some Common Distributions. Week 5 Random Variables and Their Distributions Week 5 Random Variables and Their Distributions Week 5 Objectives This week we give more general definitions of mean value, variance and percentiles, and introduce the first probability models for discrete

More information

Joint Probability Distributions and Random Samples (Devore Chapter Five)

Joint Probability Distributions and Random Samples (Devore Chapter Five) Joint Probability Distributions and Random Samples (Devore Chapter Five) 1016-345-01: Probability and Statistics for Engineers Spring 2013 Contents 1 Joint Probability Distributions 2 1.1 Two Discrete

More information

To find the median, find the 40 th quartile and the 70 th quartile (which are easily found at y=1 and y=2, respectively). Then we interpolate:

To find the median, find the 40 th quartile and the 70 th quartile (which are easily found at y=1 and y=2, respectively). Then we interpolate: Joel Anderson ST 37-002 Lecture Summary for 2/5/20 Homework 0 First, the definition of a probability mass function p(x) and a cumulative distribution function F(x) is reviewed: Graphically, the drawings

More information

Discrete Distributions

Discrete Distributions A simplest example of random experiment is a coin-tossing, formally called Bernoulli trial. It happens to be the case that many useful distributions are built upon this simplest form of experiment, whose

More information

Midterm Exam 1 Solution

Midterm Exam 1 Solution EECS 126 Probability and Random Processes University of California, Berkeley: Fall 2015 Kannan Ramchandran September 22, 2015 Midterm Exam 1 Solution Last name First name SID Name of student on your left:

More information

Topic 3: The Expectation of a Random Variable

Topic 3: The Expectation of a Random Variable Topic 3: The Expectation of a Random Variable Course 003, 2016 Page 0 Expectation of a discrete random variable Definition: The expected value of a discrete random variable exists, and is defined by EX

More information

Random Variable. Discrete Random Variable. Continuous Random Variable. Discrete Random Variable. Discrete Probability Distribution

Random Variable. Discrete Random Variable. Continuous Random Variable. Discrete Random Variable. Discrete Probability Distribution Random Variable Theoretical Probability Distribution Random Variable Discrete Probability Distributions A variable that assumes a numerical description for the outcome of a random eperiment (by chance).

More information

1.0 Continuous Distributions. 5.0 Shapes of Distributions. 6.0 The Normal Curve. 7.0 Discrete Distributions. 8.0 Tolerances. 11.

1.0 Continuous Distributions. 5.0 Shapes of Distributions. 6.0 The Normal Curve. 7.0 Discrete Distributions. 8.0 Tolerances. 11. Chapter 4 Statistics 45 CHAPTER 4 BASIC QUALITY CONCEPTS 1.0 Continuous Distributions.0 Measures of Central Tendency 3.0 Measures of Spread or Dispersion 4.0 Histograms and Frequency Distributions 5.0

More information

Math/Stat 3850 Exam 1

Math/Stat 3850 Exam 1 2/21/18 Name: Math/Stat 3850 Exam 1 There are 10 questions, worth a total of 100 points. You may use R, your calculator, and any written or internet resources on this test, although you are not allowed

More information

STAT509: Continuous Random Variable

STAT509: Continuous Random Variable University of South Carolina September 23, 2014 Continuous Random Variable A continuous random variable is a random variable with an interval (either finite or infinite) of real numbers for its range.

More information

Probability and Probability Distributions. Dr. Mohammed Alahmed

Probability and Probability Distributions. Dr. Mohammed Alahmed Probability and Probability Distributions 1 Probability and Probability Distributions Usually we want to do more with data than just describing them! We might want to test certain specific inferences about

More information

Probability Distribution

Probability Distribution Economic Risk and Decision Analysis for Oil and Gas Industry CE81.98 School of Engineering and Technology Asian Institute of Technology January Semester Presented by Dr. Thitisak Boonpramote Department

More information

Special Discrete RV s. Then X = the number of successes is a binomial RV. X ~ Bin(n,p).

Special Discrete RV s. Then X = the number of successes is a binomial RV. X ~ Bin(n,p). Sect 3.4: Binomial RV Special Discrete RV s 1. Assumptions and definition i. Experiment consists of n repeated trials ii. iii. iv. There are only two possible outcomes on each trial: success (S) or failure

More information

Chapters 3.2 Discrete distributions

Chapters 3.2 Discrete distributions Chapters 3.2 Discrete distributions In this section we study several discrete distributions and their properties. Here are a few, classified by their support S X. There are of course many, many more. For

More information

(Ch 3.4.1, 3.4.2, 4.1, 4.2, 4.3)

(Ch 3.4.1, 3.4.2, 4.1, 4.2, 4.3) 3 Probability Distributions (Ch 3.4.1, 3.4.2, 4.1, 4.2, 4.3) Probability Distribution Functions Probability distribution function (pdf): Function for mapping random variables to real numbers. Discrete

More information

Topic 3 - Discrete distributions

Topic 3 - Discrete distributions Topic 3 - Discrete distributions Basics of discrete distributions Mean and variance of a discrete distribution Binomial distribution Poisson distribution and process 1 A random variable is a function which

More information

MAT 271E Probability and Statistics

MAT 271E Probability and Statistics MAT 71E Probability and Statistics Spring 013 Instructor : Class Meets : Office Hours : Textbook : Supp. Text : İlker Bayram EEB 1103 ibayram@itu.edu.tr 13.30 1.30, Wednesday EEB 5303 10.00 1.00, Wednesday

More information

Discrete Random Variable

Discrete Random Variable Discrete Random Variable Outcome of a random experiment need not to be a number. We are generally interested in some measurement or numerical attribute of the outcome, rather than the outcome itself. n

More information

Mathematics 375 Probability and Statistics I Final Examination Solutions December 14, 2009

Mathematics 375 Probability and Statistics I Final Examination Solutions December 14, 2009 Mathematics 375 Probability and Statistics I Final Examination Solutions December 4, 9 Directions Do all work in the blue exam booklet. There are possible regular points and possible Extra Credit points.

More information

Binomial and Poisson Probability Distributions

Binomial and Poisson Probability Distributions Binomial and Poisson Probability Distributions Esra Akdeniz March 3, 2016 Bernoulli Random Variable Any random variable whose only possible values are 0 or 1 is called a Bernoulli random variable. What

More information

Scientific Measurement

Scientific Measurement Scientific Measurement SPA-4103 Dr Alston J Misquitta Lecture 5 - The Binomial Probability Distribution Binomial Distribution Probability of k successes in n trials. Gaussian/Normal Distribution Poisson

More information

1 Basic continuous random variable problems

1 Basic continuous random variable problems Name M362K Final Here are problems concerning material from Chapters 5 and 6. To review the other chapters, look over previous practice sheets for the two exams, previous quizzes, previous homeworks and

More information

37.3. The Poisson Distribution. Introduction. Prerequisites. Learning Outcomes

37.3. The Poisson Distribution. Introduction. Prerequisites. Learning Outcomes The Poisson Distribution 37.3 Introduction In this Section we introduce a probability model which can be used when the outcome of an experiment is a random variable taking on positive integer values and

More information

Module 6: Methods of Point Estimation Statistics (OA3102)

Module 6: Methods of Point Estimation Statistics (OA3102) Module 6: Methods of Point Estimation Statistics (OA3102) Professor Ron Fricker Naval Postgraduate School Monterey, California Reading assignment: WM&S chapter 9.6-9.7 Revision: 1-12 1 Goals for this Module

More information

Lecture Notes 7 Random Processes. Markov Processes Markov Chains. Random Processes

Lecture Notes 7 Random Processes. Markov Processes Markov Chains. Random Processes Lecture Notes 7 Random Processes Definition IID Processes Bernoulli Process Binomial Counting Process Interarrival Time Process Markov Processes Markov Chains Classification of States Steady State Probabilities

More information

Discrete Random Variables

Discrete Random Variables Discrete Random Variables An Undergraduate Introduction to Financial Mathematics J. Robert Buchanan 2014 Introduction The markets can be thought of as a complex interaction of a large number of random

More information

ST 371 (V): Families of Discrete Distributions

ST 371 (V): Families of Discrete Distributions ST 371 (V): Families of Discrete Distributions Certain experiments and associated random variables can be grouped into families, where all random variables in the family share a certain structure and a

More information

Chapter 4 Part 3. Sections Poisson Distribution October 2, 2008

Chapter 4 Part 3. Sections Poisson Distribution October 2, 2008 Chapter 4 Part 3 Sections 4.10-4.12 Poisson Distribution October 2, 2008 Goal: To develop an understanding of discrete distributions by considering the binomial (last lecture) and the Poisson distributions.

More information

MAT 271E Probability and Statistics

MAT 271E Probability and Statistics MAT 271E Probability and Statistics Spring 2011 Instructor : Class Meets : Office Hours : Textbook : Supp. Text : İlker Bayram EEB 1103 ibayram@itu.edu.tr 13.30 16.30, Wednesday EEB? 10.00 12.00, Wednesday

More information

Chapter 1: Revie of Calculus and Probability

Chapter 1: Revie of Calculus and Probability Chapter 1: Revie of Calculus and Probability Refer to Text Book: Operations Research: Applications and Algorithms By Wayne L. Winston,Ch. 12 Operations Research: An Introduction By Hamdi Taha, Ch. 12 OR441-Dr.Khalid

More information

Practice Problems Section Problems

Practice Problems Section Problems Practice Problems Section 4-4-3 4-4 4-5 4-6 4-7 4-8 4-10 Supplemental Problems 4-1 to 4-9 4-13, 14, 15, 17, 19, 0 4-3, 34, 36, 38 4-47, 49, 5, 54, 55 4-59, 60, 63 4-66, 68, 69, 70, 74 4-79, 81, 84 4-85,

More information

Continuous-time Markov Chains

Continuous-time Markov Chains Continuous-time Markov Chains Gonzalo Mateos Dept. of ECE and Goergen Institute for Data Science University of Rochester gmateosb@ece.rochester.edu http://www.ece.rochester.edu/~gmateosb/ October 23, 2017

More information

Business Statistics PROBABILITY DISTRIBUTIONS

Business Statistics PROBABILITY DISTRIBUTIONS Business Statistics PROBABILITY DISTRIBUTIONS CONTENTS Probability distribution functions (discrete) Characteristics of a discrete distribution Example: uniform (discrete) distribution Example: Bernoulli

More information

HYPERGEOMETRIC and NEGATIVE HYPERGEOMETIC DISTRIBUTIONS

HYPERGEOMETRIC and NEGATIVE HYPERGEOMETIC DISTRIBUTIONS HYPERGEOMETRIC and NEGATIVE HYPERGEOMETIC DISTRIBUTIONS A The Hypergeometric Situation: Sampling without Replacement In the section on Bernoulli trials [top of page 3 of those notes], it was indicated

More information

( ) P A B : Probability of A given B. Probability that A happens

( ) P A B : Probability of A given B. Probability that A happens A B A or B One or the other or both occurs At least one of A or B occurs Probability Review A B A and B Both A and B occur ( ) P A B : Probability of A given B. Probability that A happens given that B

More information

Lecture 13. Poisson Distribution. Text: A Course in Probability by Weiss 5.5. STAT 225 Introduction to Probability Models February 16, 2014

Lecture 13. Poisson Distribution. Text: A Course in Probability by Weiss 5.5. STAT 225 Introduction to Probability Models February 16, 2014 Lecture 13 Text: A Course in Probability by Weiss 5.5 STAT 225 Introduction to Probability Models February 16, 2014 Whitney Huang Purdue University 13.1 Agenda 1 2 3 13.2 Review So far, we have seen discrete

More information

Lecture 10: Probability distributions TUESDAY, FEBRUARY 19, 2019

Lecture 10: Probability distributions TUESDAY, FEBRUARY 19, 2019 Lecture 10: Probability distributions DANIEL WELLER TUESDAY, FEBRUARY 19, 2019 Agenda What is probability? (again) Describing probabilities (distributions) Understanding probabilities (expectation) Partial

More information

TOPIC 12: RANDOM VARIABLES AND THEIR DISTRIBUTIONS

TOPIC 12: RANDOM VARIABLES AND THEIR DISTRIBUTIONS TOPIC : RANDOM VARIABLES AND THEIR DISTRIBUTIONS In the last section we compared the length of the longest run in the data for various players to our expectations for the longest run in data generated

More information

Chapter 5. Chapter 5 sections

Chapter 5. Chapter 5 sections 1 / 43 sections Discrete univariate distributions: 5.2 Bernoulli and Binomial distributions Just skim 5.3 Hypergeometric distributions 5.4 Poisson distributions Just skim 5.5 Negative Binomial distributions

More information

Question Points Score Total: 137

Question Points Score Total: 137 Math 447 Test 1 SOLUTIONS Fall 2015 No books, no notes, only SOA-approved calculators. true/false or fill-in-the-blank question. You must show work, unless the question is a Name: Section: Question Points

More information

STAT 509 STATISTICS FOR ENGINEERS

STAT 509 STATISTICS FOR ENGINEERS STAT 509 STATISTICS FOR ENGINEERS Spring 2018 Lecture Notes Joshua M. Tebbs Department of Statistics University of South Carolina c by Joshua M. Tebbs TABLE OF CONTENTS Contents 1 Introduction 1 2 Probability

More information

STAT/SOC/CSSS 221 Statistical Concepts and Methods for the Social Sciences. Random Variables

STAT/SOC/CSSS 221 Statistical Concepts and Methods for the Social Sciences. Random Variables STAT/SOC/CSSS 221 Statistical Concepts and Methods for the Social Sciences Random Variables Christopher Adolph Department of Political Science and Center for Statistics and the Social Sciences University

More information

Probability Methods in Civil Engineering Prof. Dr. Rajib Maity Department of Civil Engineering Indian Institution of Technology, Kharagpur

Probability Methods in Civil Engineering Prof. Dr. Rajib Maity Department of Civil Engineering Indian Institution of Technology, Kharagpur Probability Methods in Civil Engineering Prof. Dr. Rajib Maity Department of Civil Engineering Indian Institution of Technology, Kharagpur Lecture No. # 36 Sampling Distribution and Parameter Estimation

More information

STA 584 Supplementary Examples (not to be graded) Fall, 2003

STA 584 Supplementary Examples (not to be graded) Fall, 2003 Page 1 of 8 Central Michigan University Department of Mathematics STA 584 Supplementary Examples (not to be graded) Fall, 003 1. (a) If A and B are independent events, P(A) =.40 and P(B) =.70, find (i)

More information

Topic 3: The Expectation of a Random Variable

Topic 3: The Expectation of a Random Variable Topic 3: The Expectation of a Random Variable Course 003, 2017 Page 0 Expectation of a discrete random variable Definition (Expectation of a discrete r.v.): The expected value (also called the expectation

More information

Probability Theory and Statistics (EE/TE 3341) Homework 3 Solutions

Probability Theory and Statistics (EE/TE 3341) Homework 3 Solutions Probability Theory and Statistics (EE/TE 3341) Homework 3 Solutions Yates and Goodman 3e Solution Set: 3.2.1, 3.2.3, 3.2.10, 3.2.11, 3.3.1, 3.3.3, 3.3.10, 3.3.18, 3.4.3, and 3.4.4 Problem 3.2.1 Solution

More information

Mt. Douglas Secondary

Mt. Douglas Secondary Foundations of Math 11 Calculator Usage 207 HOW TO USE TI-83, TI-83 PLUS, TI-84 PLUS CALCULATORS FOR STATISTICS CALCULATIONS shows it is an actual calculator key to press 1. Using LISTS to Calculate Mean,

More information

STA 260: Statistics and Probability II

STA 260: Statistics and Probability II Al Nosedal. University of Toronto. Winter 2017 1 Chapter 7. Sampling Distributions and the Central Limit Theorem If you can t explain it simply, you don t understand it well enough Albert Einstein. Theorem

More information

Lecture 2: Discrete Probability Distributions

Lecture 2: Discrete Probability Distributions Lecture 2: Discrete Probability Distributions IB Paper 7: Probability and Statistics Carl Edward Rasmussen Department of Engineering, University of Cambridge February 1st, 2011 Rasmussen (CUED) Lecture

More information

Learning Objectives for Stat 225

Learning Objectives for Stat 225 Learning Objectives for Stat 225 08/20/12 Introduction to Probability: Get some general ideas about probability, and learn how to use sample space to compute the probability of a specific event. Set Theory:

More information