Presentation is loading. Please wait.

Presentation is loading. Please wait.

Author(s): Brenda Gunderson, Ph.D., 2011 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons Attribution–Non-commercial–Share.

Similar presentations


Presentation on theme: "Author(s): Brenda Gunderson, Ph.D., 2011 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons Attribution–Non-commercial–Share."— Presentation transcript:

1 Author(s): Brenda Gunderson, Ph.D., 2011 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons Attribution–Non-commercial–Share Alike 3.0 License: http://creativecommons.org/licenses/by-nc-sa/3.0/ We have reviewed this material in accordance with U.S. Copyright Law and have tried to maximize your ability to use, share, and adapt it. The citation key on the following slide provides information about how you may share and adapt this material. Copyright holders of content included in this material should contact open.michigan@umich.edu with any questions, corrections, or clarification regarding the use of content. For more information about how to cite these materials visit http://open.umich.edu/education/about/terms-of-use. Any medical information in this material is intended to inform and educate and is not a tool for self-diagnosis or a replacement for medical evaluation, advice, diagnosis or treatment by a healthcare professional. Please speak to your physician if you have questions about your medical condition. Viewer discretion is advised: Some medical content is graphic and may not be suitable for all viewers.

2 Attribution Key for more information see: http://open.umich.edu/wiki/AttributionPolicy Use + Share + Adapt Make Your Own Assessment Creative Commons – Attribution License Creative Commons – Attribution Share Alike License Creative Commons – Attribution Noncommercial License Creative Commons – Attribution Noncommercial Share Alike License GNU – Free Documentation License Creative Commons – Zero Waiver Public Domain – Ineligible: Works that are ineligible for copyright protection in the U.S. (17 USC § 102(b)) *laws in your jurisdiction may differ Public Domain – Expired: Works that are no longer protected due to an expired copyright term. Public Domain – Government: Works that are produced by the U.S. Government. (17 USC § 105) Public Domain – Self Dedicated: Works that a copyright holder has dedicated to the public domain. Fair Use: Use of works that is determined to be Fair consistent with the U.S. Copyright Act. (17 USC § 107) *laws in your jurisdiction may differ Our determination DOES NOT mean that all uses of this 3rd-party content are Fair Uses and we DO NOT guarantee that your use of the content is Fair. To use this content you should do your own independent analysis to determine whether or not your use will be Fair. { Content the copyright holder, author, or law permits you to use, share and adapt. } { Content Open.Michigan believes can be used, shared, and adapted because it is ineligible for copyright. } { Content Open.Michigan has used under a Fair Use determination. }

3 Chapter 8: Random Variables (page 43) 8.1 What is a Random Variable? Random variable represents the value of the variable or characteristic of interest, but before we look. Definition: A random variable assigns a number to each outcome of a random circumstance. Equivalently, a random variable assigns a number to each unit in a population.

4 Discrete versus Continuous Definitions: A discrete random variable can take one of a countable list of distinct values. A continuous random variable can take any value in an interval or collection of intervals.

5 Try It! Discrete or Continuous? a.Weight of the car (in pounds). b.Number of seats (max passenger capacity). c.Overall condition of car (1 = good, 2 = very good, 3 = excellent). d. Length of car (in feet). A car is selected at random from used car dealership lot. Decide whether characteristic is continuous or discrete.

6 Distribution of a Random Variable Just what is the distribution of a random variable? A model that shows what values are possible for that random variable and how often those values are expected to occur (i.e. their probabilities). Expressed as a function or table or picture (depending on its type).

7 8.2 Discrete Random Variables X = the random variable. k = a number the discrete random variable could assume. P(X = k) is probability the random variable X equals k. Probability distribution function (pdf): Two conditions are:  Individual probabilities must be between 0 and 1.  Sum of all of individual probabilities must equal 1. A probability histogram or stick graph. Cumulative distribution function (cdf) is P(X  k). Value of Xx1x1 x2x2 x3x3 … Probabilityp1p1 p2p2 p3p3 …

8 Try It! Psychology Experiment a.What is the missing probability P(X = 5)? b.Graph this discrete pdf for X. X = number of toys played with by children X = # toys012345 Probability0.030.160.300.230.17

9 c.Probability a child will play with at least 3 toys? A) 0.23 B) 0.28 C) 0.51 D) I don’t know X = # toys012345 Probability0.030.160.300.230.170.11

10 Try It! Psychology Experiment d. Given child has played with at least 3 toys, what is the probability that he/she will play with all 5 toys? X = number of toys played with by children X = # toys012345 Probability0.030.160.300.230.170.11

11 Try It! Psychology Experiment e.Provide the cumulative distribution function of X. X = number of toys played with by children X = # toys012345 Probability0.030.160.300.230.170.11 X = # toys012345 Cum Prob P(X  k) 0.030.190.49

12 8.3 Expectations for Random Variables pg 47 Definition: The expected value of a random variable is the mean value of the variable X in the sample space, or population, of possible outcomes. Expected value, denoted by E(X). Motivation … Population = 100 families: 30 families have 1 child, 50 have 2 children, and 20 have 3 children. What is the mean (average) number of children per family for this population? 1 1 1 2 2 2 2 3 3 etc. 2 2 Population of 100 families Mean = (sum of all values)/100 = [1(30) + 2(50) + 3(20)]/100 = 1(30/100) + 2(50/100) + 3(20/100) = 1(0.30) + 2(0.50) + 3(0.20) = 1.9 children per family Mean = Sum of (value x probability of that value)

13 Mean and Standard Deviation for Discrete Definitions: X is discrete random variable with values x 1, x 2, x 3 … occurring with probabilities p 1, p 2, p 3 …, then Expected value (or mean) of X:  = E(X) = Variance of X: V(X) =   = Standard deviation of X:  =

14 Try It! Psychology Experiment a. What is the expected number of toys played with? X = number of toys played with by children X = # toys012345 Probability0.030.160.300.230.170.11

15 Try It! Psychology Experiment b. What is the standard deviation for the number of toys played with? c.Complete the interpretation of this standard deviation (in terms of an average distance): On average, the number of toys played with vary by about _______ from the mean number of toys played with of ________. X = number of toys played with by children X = # toys012345 Probability0.030.160.300.230.170.11

16 8.4 Binomial for Random Variables (pg 49) Examples: The number of girls in six independent births. The number of tall men (over 6 feet) in a random sample of 30 men from a large male population.

17 Binomial Conditions 1.n “trials” where n determined in advance and is not a random value. 2. Two possible outcomes on each trial, called “success” and “failure” and denoted S and F. 3. Outcomes are independent from one trial to next. 4. Probability of “success” remains same from one trial to next, denoted by p. Probability of a “failure” is 1 – p for every trial. A binomial random variable is defined as X = number of successes in the n trials of a binomial experiment.

18 Try It! Conditions Right for Binomial? a.Observe gender of next 50 children born at a local hospital. X = number of girls b.Ten-question quiz has five T-F questions, and five multiple-choice questions each with four possible choices. Student randomly picks an answer for every question. X = number of answers that are correct

19 Try It! Conditions Right for Binomial? c.Four students are randomly picked without replacement from large student body listing of 1000 women and 1000 men. X = number of women among the four selected students. What if student body listing was of 10 women and 10 men? Rule of Thumb: popul at least 10 times as large as sample  ok!

20 The Binomial Formula: Shoppers Suppose 25% of online shoppers actually make a purchase and have a random sample of 10 such shoppers. If stated rate true, what is the probability that...... all 10 shoppers will actually make a purchase?...none of the shoppers will make a purchase?

21 The Binomial Formula: Shoppers Suppose 25% of online shoppers actually make a purchase and have a random sample of 10 such shoppers. If stated rate true, what is the probability that...... just 1 shopper will actually make a purchase?

22 The Binomial Distribution for k = 0, 1, 2, …, n where which represents the number of ways to select k items from n

23 Try It! The first part… 1. 2. 3. 4. 5.


Download ppt "Author(s): Brenda Gunderson, Ph.D., 2011 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons Attribution–Non-commercial–Share."

Similar presentations


Ads by Google