This preview shows page 1-2-3 out of 8 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

1STAT 13, UCLA, Ivo Dinov Slide 1UCLA STAT 13Introduction toStatistical Methods for the Life and Health ScienceszInstructor: Ivo Dinov, Asst. Prof. In Statistics and NeurologyzTeaching Assistants: Tom Daula and Kaiding Zhu,UCLA StatisticsUniversity of California, Los Angeles, Fall 2002http://www.stat.ucla.edu/~dinov/STAT 13, UCLA, Ivo Dinov Slide 2Chapter 5: Discrete Random VariableszRandom variableszProbability functionszThe Binomial distributionzExpected valuesSTAT 13, UCLA, Ivo DinovSlide 3Definitionsz An experiment is a naturally occurring phenomenon, a scientific study, a sampling trial or a test., in which an object (unit/subject) is selected at random (and/or treated at random) to observe/measure different outcome characteristics of the process the experiment studies.z A random variable is a type of measurement taken on the outcome of a random experiment.STAT 13, UCLA, Ivo DinovSlide 4Definitionsz The probability function for a discrete random variable X gives P(X = x) [denoted pr(x) or P(x)]for every value x that the R.V. X can takez E.g., number of heads when a coin is tossed twicex 012pr(x )121414STAT 13, UCLA, Ivo DinovSlide 5Outcome GGG GGB GB BG BBG BBBProbability141818181814Stopping at one of each or 3 childrenz For R.V. X = number of girls, we haveX 0123pr(x )58181818Sample Space – complete/unique description of the possible outcomes from this experiment.STAT 13, UCLA, Ivo DinovSlide 6X 0123pr(x )58181818Plotting the probability function1230.75.50.25XP(X)2STAT 13, UCLA, Ivo DinovSlide 7z For each toss, P(Head) = p Æ P(Tail) = P(comp(H))=1-pz Outcomes: HH, HT, TH, TTz Probabilities: p.p, p(1-p), (1-p)p, (1-p)(1-p)z Count X, the number of heads in 2 tossesX 012pr(x )(1−p )22p (1−p )p2Tossing a biased coin twiceSTAT 13, UCLA, Ivo DinovSlide 8Hospital staysDays stayed x456 78910TotalFrequency10 30 113 79 21 8 2 263Proportion pr(X = x) 0.038 0.114 0.430 0.300 0.080 0.030 0.008 1000CumulativeProportion0.038 0.152 0.582 0.882 0.962 0.992 1.000pr(X x)From Chance Encounters by C.J. Wild and G.A.F. Seber, © John Wiley & Sons, 2000.STAT 13, UCLA, Ivo DinovSlide 91 2 3 4 5 6 7 8 9 101112To get 4 to 8,and remove from 3 downpr(3 < X - 8)= pr(X - 8)pr(X - 3)[= pr(4 - X - 8)]x-values :start with everything up to 8Figure 5.2.2 Interval probabilities from cumulative probabilities. [This Figure represents an arbitrary distribution, not the hospital distribution.]aaFrom Chance Encounters by C.J. Wild and G.A.F. Seber, © John Wiley & Sons, 2000.Calculating Interval probabilitiesfrom cumulative probabilitiesP(3< X <9)P(X <9)P(X<=3)How to find the upper-tail?STAT 13, UCLA, Ivo DinovSlide 10Reviewz What is a random variable? What is a discrete random variable? (type of measurement taken on the outcome of random experiment)z What general principle is used for finding P(X=x)? (Adding the probabilities of all outcomes of the experiment where we have measured the RV, X=x)z What two general properties must be satisfied by the probabilities making up a probability function? (P(x)>=0; ) z What are the two names given to probabilities of the form P(X ≤ x)? (cumulative & lower/left-tail)1)( =¦xxPSTAT 13, UCLA, Ivo DinovSlide 11Reviewz How do we find an upper/right-tail probability from a cumulative probability? [P(X>x) = 1-P(X<= x)]z When we use P(X ≤ 12) − P(X ≤ 5) to calculate the probability that X falls within an interval of values, what numbers are included in the interval? ([6:12])STAT 13, UCLA, Ivo DinovSlide 12Sample n balls and count X = # black balls in sampleM black ballsN – M white ballsN balls in an urn, of which there areThe two-color urn modelWe will compute the probability distribution of the R.V. X3STAT 13, UCLA, Ivo DinovSlide 13 Perform n tosses and count X = # headstoss 1 toss 2toss npr(H) = p pr(H) = p pr(H) = pThe biased-coin tossing modelWe also want to compute the probabilitydistribution of this R.V. X!Are the two-color urn and the biased-coinmodels related? How do we present the models in mathematical terms?STAT 13, UCLA, Ivo DinovSlide 14z The distribution of the number of heads in ntosses of a biased coin is called the Binomial distribution.The answer is: Binomial distributionSTAT 13, UCLA, Ivo DinovSlide 15x0123456Individualpr(X = x) 0.001 0.010 0.060 0.185 0.324 0.303 0.118Cumulativepr(X - x) 0.001 0.011 0.070 0.256 0.580 0.882 1.000Binomial(N, p) – the probability distributionof the number of Heads in an N-toss coin experiment, where the probability for Head occurring in each trial is p.E.g., Binomial(6, 0.7)For example P(X=0) = P(all 6 tosses are Tails) =001.03.0)7.01(66========−−−−STAT 13, UCLA, Ivo DinovSlide 16Binary random processThe biased-coin tossing model is a physical model for situations which can be characterized as a series of trials where:each trial has only two outcomes: success or failure;p = P(success) is the same for every trial; andtrials are independent.z The distribution of X = number of successes (heads) in N such trials isBinomial(N, p)STAT 13, UCLA, Ivo DinovSlide 17Extra-Sensory Perception (ESP)Hypnosis enhances your ESP?A card is randomly selected from a shuffled deck. Two people under hypnosis participate, one staring at the card, the other trying to guess the card. 15 pairs of students tested, each doing the experiment 100 times. Total of 1,500 trials. 325 correct guesses were recorded. Is there evidence for ESP potentiation? Purely random guessing would yield expected 300 correct answers.CumBin(324, 1500, 0.2) = 0.94STAT 13, UCLA, Ivo DinovSlide 20Sampling from a finite population –Binomial ApproximationIf we take a sample of size nzfrom a much larger population (of size N)z in which a proportion p have a characteristic of interest, then the distribution of X, the number in the sample with that characteristic,z is approximately Binomial(n, p).Y (Operating Rule: Approximation is adequate if n / N< 0.1.)z Example, polling the US population to see what proportion is/has-been married.4STAT 13, UCLA, Ivo DinovSlide 21Odds and ends …z For what types of situation is the urn-sampling model useful? For modeling binary random processes. When sampling with replacement, Binomial distribution is exact, where as, in sampling without replacement Binomial distribution is an approximation.z For what types of situation is the biased-coin sampling model useful? Defective parts. Approval poll of cloning for medicinal purposes.


View Full Document

UCLA STATS 13 - Lecture Notes

Documents in this Course
lab8

lab8

3 pages

lecture2

lecture2

78 pages

Lecture 3

Lecture 3

117 pages

lecture14

lecture14

113 pages

Lab 3

Lab 3

3 pages

Boost

Boost

101 pages

Noise

Noise

97 pages

lecture10

lecture10

10 pages

teach

teach

100 pages

ch11

ch11

8 pages

ch07

ch07

12 pages

ch04

ch04

10 pages

ch07

ch07

12 pages

ch03

ch03

5 pages

ch01

ch01

7 pages

ch10

ch10

7 pages

Lecture

Lecture

2 pages

ch06

ch06

11 pages

ch08

ch08

5 pages

ch11

ch11

9 pages

lecture16

lecture16

101 pages

lab4

lab4

4 pages

ch01

ch01

7 pages

ch08

ch08

5 pages

lecture05

lecture05

13 pages

Load more
Download Lecture Notes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture Notes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture Notes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?