* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Students-chapter5-S07
Indeterminism wikipedia , lookup
History of randomness wikipedia , lookup
Random variable wikipedia , lookup
Infinite monkey theorem wikipedia , lookup
Birthday problem wikipedia , lookup
Inductive probability wikipedia , lookup
Ars Conjectandi wikipedia , lookup
Conditioning (probability) wikipedia , lookup
5.1 – Random Variables (Cover only up to Linear Functions of a Random Variable, page 225) (Do problems 1-10 from pages 226-229) A random variable is a variable (typically represented by x) that has a numeric value, determined by chance, for each possible outcome of an experiment Examples: The number of students passing a certain class The average height of the students in a class The number of girls in a family of 5 children The sum on the faces of two rolled dice The number of defective parts in a sample of 20 The average daily temperature A word about randomness The word randomness suggests unpredictability. Randomness and uncertainty are vague concepts that deal with variation. A simple example of randomness involves a coin toss. The outcome of the toss is uncertain. Since the coin tossing experiment is unpredictable, the outcome is said to exhibit randomness. Even though individual flips of a coin are unpredictable, if we flip the coin a large number of times, a pattern will emerge. Roughly half of the flips will be heads and half will be tails. This long-run regularity of a random event is described with probability. Our discussions of randomness will be limited to phenomenon that in the short run are not exactly predictable but do exhibit long run regularity. A discrete random variable has either a finite or a countable number of values. This chapter deals with discrete random variables. A continuous random variable has infinitely many values, and those values can be associated with measurements on a continuous scale in such a way that there are no gaps or interruptions. A probability distribution is a graph, table, or formula that gives the probability for each possible value of the random variable. (Notice: similar to relative frequency tables, histograms) A probability histogram is a way to graph a probability distribution. The vertical scale shows probabilities instead of relative frequencies. Note that the area of these rectangles are the same as the probabilities. 1 Requirements for a Probability Distribution 0 P(X = x) 1 The sum of the probabilities of a discrete random variable is 1. P( X x) 1 Mean, Variance, and Standard Deviation for a Probability Distribution Mean [ x P( x)] Standard Deviation [ x 2 P( x)] 2 Round-Off Rules One more decimal place than the original random variable *********** We’ll find the mean and standard deviation with the calculator************* Note: To find the mean and standard deviation, instead of using the formulas, use the calculator by entering x into L1, P(x) into L2, and using STAT CALC 1:1Var-Stats L1,L2 Identifying Unusual Results with the Range Rule of Thumb Maximum usual value = Minimum usual value = 2 2 Identifying Unusual Results with Probabilities Unusually high: x successes among n trials is unusually high if P(x or more) is very small (such as less than 0.05) Unusually low: x successes among n trials is unusually low if P( or fewer) is very small (such as less than 0.05) 2 5.2 Binomial Probabilities Independent Events The occurrence of one does not affect the probability of the other Binomial Probability Distribution A binomial probability distribution results from a procedure that meets all the following requirements: 1) The experiment has a fixed number of trials 2) The trials must be independent 3) Each trial has 2 possible outcomes 4) Probabilities remain constant for each trial When sampling without replacement, the events can be treated as if they were independent if the sample size is no more than 5% of the population size. (That is, n 0.05 N ) Notation and Terminology S F p = P(S) q = 1 – p = P(F) n r P(r) success failure probability of success in one trial probability of failure in one trial number of trials number of successes in trials probability of EXACTLY x successes in n trials Note: make sure that r and p both refer to the same category being called a success. Finding Probabilities in a Binomial Experiment 1st Method: Binomial Formula P(r ) n! p r q nr = Cn,r p r q nr (n r )!r ! where r is the number of successes in n trials, p is the probability of success in any one trial, and q is the probability of failure in any one trial. (q = 1 – p) Notice: the binomial coefficient Cn ,r or n r counts the number of branches in the tree diagram that have r successes and (n – r) failures. 3 Other Method: Use the Calculator 2nd VARS binompdf(n,p,x) or The option 2nd VARS binompdf(n,p) to get a list of all probabilities 2nd VARS binomcdf(n,p,x) gives you a cumulative probability from 0 to x. Example: The Heart Association claims that only 10% of adults over 30 in the U.S. can pass the minimum requirements established by the Physical Fitness Commission. If 4 adults are randomly selected and given the fitness tests, (a) What is the probability that no one passes? (b) What is the probability that exactly one passes? (c) What is the probability that exactly three pass? (d) Complete a Probability Distribution Table for heart association. (e) What is the probability that at least 2 pass? (f) What is the probability that at most 3 pass? 4 Additional Examples: (1) In a large office building, the probability of a defective phone is 0.05. If 20 phones are randomly selected, find the probability that: a) Exactly 6 are defective b) At most 3 are defective c) At least 5 are defective (2) 10-Questions-True/False. Probability to pass if random guesses. 60% is required to pass. (3) 10-Questions-Sometimes/Always/Never. Probability to pass if random guess. 60% is required to pass. (4) 10-Questions-multiple choice of 5. Probability to pass if random guesses. 60% is required to pass. (5) What if # questions increases? 5.3 Mean, Variance, and Standard Deviation for the Binomial Distribution In Section 5.1, we used the general formulas for any discrete probability distribution. But the special qualities of binomials distributions, lead to specialized rules for binomials Both sets of formulas are here Any Discrete Probability Distribution Mean Standard Deviation [ x P( x)] [ x 2 P( x)] 2 Binomial Distributions np npq 5