DON’T FORGET TO SIGN IN FOR CREDIT! Special Lecture: Random Variables.

Slides:



Advertisements
Similar presentations
Random Variables.  A random variable assumes a value based on the outcome of a random event. ◦ We use a capital letter, like X, to denote a random variable.
Advertisements

Probability Basic Probability Concepts Probability Distributions Sampling Distributions.
Psyc 235: Introduction to Statistics
Chapter 7 Discrete Distributions. Random Variable - A numerical variable whose value depends on the outcome of a chance experiment.
Copyright © 2010 Pearson Education, Inc. Chapter 16 Random Variables.
AP Statistics Chapter 16. Discrete Random Variables A discrete random variable X has a countable number of possible values. The probability distribution.
Random Variables “a random phenomenon (event) whose numerical outcome is unknown”
Copyright © 2009 Pearson Education, Inc. Chapter 16 Random Variables.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 15, Slide 1 Chapter 15 Random Variables.
Chapter 16 Random Variables
Chapter 16: Random Variables
Review of Probability and Statistics
Copyright © 2010 Pearson Education, Inc. Slide
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 16 Random Variables.
Copyright © 2010 Pearson Education, Inc. Chapter 16 Random Variables.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 16 Random Variables.
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Random Variables  Random variable a variable (typically represented by x)
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 1 – Slide 1 of 34 Chapter 11 Section 1 Random Variables.
Psyc 235: Introduction to Statistics DON’T FORGET TO SIGN IN FOR CREDIT!
Psyc 235: Introduction to Statistics DON’T FORGET TO SIGN IN FOR CREDIT! (and check out the lunar eclipse on Thursday from about 9-10)
Psyc 235: Introduction to Statistics Lecture Format New Content/Conceptual Info Questions & Work through problems.
1 Chapter 16 Random Variables. 2 Expected Value: Center A random variable assumes a value based on the outcome of a random event.  We use a capital letter,
Probability(C14-C17 BVD) C16: Random Variables. * Random Variable – a variable that takes numerical values describing the outcome of a random process.
Random Variables Chapter 16.
Random Variables and Probability Models
Psyc 235: Introduction to Statistics To get credit for attending this lecture: SIGN THE SIGN-IN SHEET
Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 5 Discrete Random Variables.
Psyc 235: Introduction to Statistics DON’T FORGET TO SIGN IN FOR CREDIT!
King Saud University Women Students
DISCRETE RANDOM VARIABLES.
Chapter 16 Random Variables Random Variable Variable that assumes any of several different values as a result of some random event. Denoted by X Discrete.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 16 Random Variables.
Slide 16-1 Copyright © 2004 Pearson Education, Inc.
Chapter 16 Probability Models. Who Wants to Play?? $5 to play You draw a card: – if you get an Ace of Hearts, I pay you $100 – if you get any other Ace,
Random Variables Chapter 16.
STA 2023 Module 5 Discrete Random Variables. Rev.F082 Learning Objectives Upon completing this module, you should be able to: 1.Determine the probability.
Probability Distributions, Discrete Random Variables
AP Statistics Chapter 16. Discrete Random Variables A discrete random variable X has a countable number of possible values. The probability distribution.
Measuring chance Probabilities FETP India. Competency to be gained from this lecture Apply probabilities to field epidemiology.
Engineering Statistics ECIV 2305
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 15, Slide 1 Chapter 16 Random Variables.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 16 Random Variables.
Review Know properties of Random Variables
Combining Two Random Variables: Means and Variances Lesson
Chapter 15 Random Variables. Introduction Insurance companies make bets. They bet that you are going to live a long life. You bet that you are going to.
Copyright © 2010 Pearson Education, Inc. Chapter 16 Random Variables.
Statistics 16 Random Variables. Expected Value: Center A random variable assumes a value based on the outcome of a random event. –We use a capital letter,
Week 61 Poisson Processes Model for times of occurrences (“arrivals”) of rare phenomena where λ – average number of arrivals per time period. X – number.
Chapter 15 Random Variables.
Chapter 16 Random Variables
Discrete Probability Distributions
Discrete Random Variables
Chapter 15 Random Variables
Chapter 16 Random Variables.
Chapter 5 Probability 5.2 Random Variables 5.3 Binomial Distribution
Random Variables and Probability Models
Chapter 16 Random Variables
CHAPTER 6 Random Variables
Chapter 16 Random Variables
Chapter 16 Random Variables.
Chapter 15 Random Variables.
Probability Key Questions
Review
Chapter 16 Random Variables Copyright © 2009 Pearson Education, Inc.
Chapter 6: Random Variables
AP Statistics Chapter 16 Notes.
Chapter 16 Random Variables Copyright © 2010 Pearson Education, Inc.
Presentation transcript:

DON’T FORGET TO SIGN IN FOR CREDIT! Special Lecture: Random Variables

Announcements Assessment Next Week  Same procedure as last time.  AL1: Monday, Rm 289 between 9-5  BL1: Wednesday, Rm 289 between 9-5  Can schedule a specific time by contacting TA  Remember: Bring photo ID Get as far through the material in ALEKS as you can before the test. You should aim to be at least halfway through the Inference slice.

Random Variables Random Variable:  variable that takes on a particular numerical value based on outcome of a random experiment Random Experiment (aka Random Phenomenon):  trial that will result in one of several possible outcomes  can’t predict outcome of any specific trial  can predict pattern in the LONG RUN  that is, each possible outcome has a certain PROBABILITY of occurring

Random Variables Examples:  # of heads in 3 coin tosses  a student’s score on the ACT  points scored by Illini basketball team in first game of the season  mean snowfall in February in Urbana  height of the next person to walk in the door

Random Variable Example & Notation X= how many years a UIUC psych grad student takes to complete PhD  this is our random variable x i =some particular value that X can take on  i=1 --> x 1 =smallest possible value of X  i=k --> x k =largest possible value of X so for example:  x 1 =4 years  x 2 =5 years  x 3 =6 years ...  x k =x 7 =10 years

Discrete vs. Continuous Random Variables Discrete  Finite number of possible outcomes  ex: ACT score Continuous  Infinitely many possible outcomes  ex: temperature in Los Angeles tomorrow ALEKS problems: only calculating expected value and variance for DISCRETE random variables

Probability Distributions Probability Distribution:  the possible values of a Random Variable, along with the probabilities that each outcome will occur Graphic Depictions:  Discrete:  Continuous:

Probability Distributions Probability Distribution:  the possible values of a Random Variable, along with the probabilities that each outcome will occur Graphic Depictions:  Discrete: Table:  Discrete:

Expected Value (aka Expectation) of a Discrete Random Variable Expected Value: central tendency of the probability distribution of a random variable

Expected Value (aka Expectation) of a Discrete Random Variable Expected Value: E(X) = x 1 p 1 + x 2 p x k p k Note: the Expected Value is not necessarily a possible outcome...

Expected Value example Say you’re given a massive set of data:  well-being scores for all senior citizens in Champaign County  possible scores: 0-3 Random Variable:  X=Well-being score of a Champaign County senior

Expected Value example E(X) = x 1 p 1 + x 2 p 2 + x 3 p 3 + x 4 p 4 E(X) = (0)(.1) + (1)(.2) + (2)(.4) + (3)(.3) =1.9

Variance of a Discrete Random Variable Variance (of Random Variable): measure of the spread (aka dispersion) of the probability distribution of a random variable

Expected Value & Variance: ALEKS Example

E(X)= 4.3 E(X)

Expected Value & Variance: ALEKS Example E(X)= 4.3 E(X) - = 2

Expected Value & Variance: ALEKS Example E(X)= 4.3 E(X) *= Var(X)= 1.41

Properties of Expectation & Variance of a Random Var.

Expected Value of a Constant E(a) = a a*1=a 5*1=5

Adding a constant E(X+a) = E(X) + a Var(X±a) = Var(X) How is this relevant to anything?  TRANSFORMING data. Ex: say you had data on the initial weights of all patients in a clinical trial for a new drug to treat depression...

Adding a Constant E(X)=146 lb. But wait!! The scale was off by 20 lb! Have to add 20 to all values...

Adding a Constant E(X)=146 lb. E(X)=166 lb.= E(X+a) = E(X) + a

Adding a Constant E(X)=146 lb. E(X)=166 lb.= E(X+a) = E(X) + a Note: the whole distribution shifts to the right, but it doesn’t change shape! The variance (spread) stays the same. Var(X±a) = Var(X)

Multiplying by a Constant E(aX) = a*E(X) Var(aX) = a 2 *Var(X) How is this relevant to anything?  TRANSFORMING data. Ex: say you had data on peoples’ heights...

Multiplying by a Constant E(X)=1.7 meters But wait!! We want height in feet! To convert, have to multiply all values by

Multiplying by a Constant E(X)=1.7 meters E(X)=5.58 ft=3.28*1.7 E(aX) = a*E(X)

Multiplying by a Constant E(X)=1.7 meters E(X)=5.58 ft=3.28*1.7 E(aX) = a*E(X) Note: the whole distribution shifts to the right, AND it gets more spread out! The variance has increased! Var(aX) = a 2 *Var(X) [Draw new distribution on chalkboard.]

Usefulness of Properties Don’t have to transform each possible value of a random variable Can just recalculate the expected value and variance.

Two Random Variables E(X+Y)=E(X)+E(Y) and if X & Y are independent:  E(X*Y)=E(X)*E(Y)  Var(X+Y)=Var(X)+Var(Y) How is this relevant?  Difference scores (pretest-posttest)  Combining Measures

All properties Expected Value E(a)=a E(aX)=a*E(X) E(X+a)=E(X)+a E(X+Y)=E(X)+E(Y) If X & Y ind.  E(XY)=E(X)*E(Y) Variance Var(X±a) = Var(X) Var(aX)=a 2 *Var(X) Var(X 2 )=Var(X)+E(X) 2 If X & Y ind.  Var(X+Y)=Var(X)+Var(Y) Var(X) = E(X 2 ) - (E(X)) 2 E(X 2 ) = Var(X) + (E(X)) 2

Expected Value & Variance: ALEKS Example

ALEKS problem E(X+a) E(aX) E(X+Y) algebra! Var(aX) Var(X±a) Var(X) = E(X 2 ) - (E(X)) 2 E(X 2 ) = Var(X) + (E(X)) 2