1 / 16

Understanding Discrete Random Variables in Statistics

Learn about discrete random variables, probability distributions, expected values, and more in this informative lecture. Exam preparation and key concepts discussed. Join us for in-depth study!

jenniferc
Download Presentation

Understanding Discrete Random Variables in Statistics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Stat 321 – Lecture 10 Discrete random variables Did you hear about the guy whose hair was on fire and his feet were frostbitten? On average he was fine!

  2. Announcements • Exam Thursday • Review sheet on web • Review problems and solutions on web • Covering chapters 1, 2; HW 1-3; Lab 1-3; Quiz 1-2 • You will be supplied with formulas (sample online) • You will be allowed to bring in one page of notes • Bring your calculator • Potential Review Q&A Tuesday

  3. Example 1: Random Babies (cont.) • Number of “matches” S={ 1234 1243 1324 1342 1423 1432 2134 2143 2314 2341 2413 2431 3124 3142 3214 3241 3412 3421 4123 4132 4213 4231 4312 4321} P(at most one match) ….

  4. Random Variable • Let X represent the number of matches • Random Variable • assigns a number to each outcome in the sample space S={ 1234 1243 1324 1342 1423 1432 2134 2143 2314 2341 2413 2431 3124 3142 3214 3241 3412 3421 4123 4132 4213 4231 4312 4321}

  5. Random Variable • Let X = number of matches • Random Variable • assigns a number to each outcome in the sample space x={ 4 2 2 1 1 2 2 0 1 0 0 1 1 0 2 1 0 0 0 1 1 2 0 0}

  6. Random Variable • Possible values of X: 0, 1, 2, 4 • Discrete R.V. • finite or countably infinite number of possible outcomes • Examples: • Number of heads in 5 tosses, X=0,1,2,3,4,5 • Number of tosses until first head X=1, 2, 3, … • Counter example: • Let X =time, height (“continuous”)

  7. Probability Distribution for X • List of outcomes and their probabilities P(X=0)=9/24 = .375 P(X=1)=8/24 = .333 P(X=2)=6/24=.250 P(X=4)=1/24=.0417 • All probabilities are between 0 and 1 • Probabilities must sum to one

  8. Probability distribution for X P(X=x) x 0 1 2 3 4

  9. Expected value of X • E(X) = SxP(X=x) • Long-run average…

  10. Cumulative distribution function • P(X < x) = S p(y) for y<x • F(2) = 23/24 = .9583 • F(-1) = P(X < -1) = 0 • F(5) = P(X < 5) = 1 • F(x) = P(X<x) for all values of x

  11. Cumulative distribution function P(X<x) x 0 1 2 3 4

  12. Example 2 • p(x) = 0 for x < 1 • p(1) = .3 • p(3) = .1 • p(4) = .05 • p(6) = .15 • p(12) = .40 • Makes sense? • Sums to one

  13. Example 3 • p(2) = P(X=2) • P(X < 2) – P(X < 1) = .39-.19 = .20 • p(2.5) = P(X = 2.5) = 0 • F(2.5) = P(X < 2.5) = P(X < 2) = .39 • F(3) = P(X < 3) = .67 • P(X > 3) = 1-P(X<3) = 1-F(3) = 1-.67 = .33 • P(2 < X < 5) = F(5) – F(1) = .97-.19 = .78 • P(2 < X < 5) = F(4) – F(2) = .92 - .39 = .53

  14. Example 4

  15. Example 5 • Average daily max temperature Mean = 22.13 SD = 3.32 Mean = 71.84 SD = 5.98

  16. For Tuesday • Bring questions on Ch. 1 and 2! • HW 3 due

More Related