Biostat. 200 Review slides Week 1-3. Recap: Probability.

Slides:



Advertisements
Similar presentations
Probability Distribution
Advertisements

Chapter 4 Probability and Probability Distributions
Section 7.4 Approximating the Binomial Distribution Using the Normal Distribution HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008.
Probability. Probability Definitions and Relationships Sample space: All the possible outcomes that can occur. Simple event: one outcome in the sample.
Statistics. Large Systems Macroscopic systems involve large numbers of particles.  Microscopic determinism  Macroscopic phenomena The basis is in mechanics.
Chapter 6 The Normal Distribution
Ka-fu Wong © 2003 Chap 7- 1 Dr. Ka-fu Wong ECON1003 Analysis of Economic Data.
Probability Distributions Random Variables: Finite and Continuous Distribution Functions Expected value April 3 – 10, 2003.
Probability (cont.). Assigning Probabilities A probability is a value between 0 and 1 and is written either as a fraction or as a proportion. For the.
Statistical Analysis Pedro Flores. Conditional Probability The conditional probability of an event B is the probability that the event will occur given.
Mutually Exclusive: P(not A) = 1- P(A) Complement Rule: P(A and B) = 0 P(A or B) = P(A) + P(B) - P(A and B) General Addition Rule: Conditional Probability:
Chapter 4 Continuous Random Variables and Probability Distributions
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
© Copyright McGraw-Hill CHAPTER 6 The Normal Distribution.
Chapter 6: Probability Distributions
Biostat 200 Lecture 3 1. Announcements Reminder – Assignment 1 due this Thursday Send via to your TA Last name A-L TAs: Jeff Edwards and Vicky.
Chapter 19 For Explaining Psychological Statistics, 4th ed. by B. Cohen 1 A dichotomous outcome is one that has only two possibilities (e.g., pass or fail;
Using Normal Distribution to Approximate a Discrete Distribution.
Chapter 8 Probability Section R Review. 2 Barnett/Ziegler/Byleen Finite Mathematics 12e Review for Chapter 8 Important Terms, Symbols, Concepts  8.1.
The Negative Binomial Distribution An experiment is called a negative binomial experiment if it satisfies the following conditions: 1.The experiment of.
1 Normal Random Variables In the class of continuous random variables, we are primarily interested in NORMAL random variables. In the class of continuous.
Theory of Probability Statistics for Business and Economics.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Continuous Random Variables Chapter 6.
MTH3003 PJJ SEM I 2015/2016.  ASSIGNMENT :25% Assignment 1 (10%) Assignment 2 (15%)  Mid exam :30% Part A (Objective) Part B (Subjective)  Final Exam:
OPIM 5103-Lecture #3 Jose M. Cruz Assistant Professor.
Managerial Decision Making Facilitator: René Cintrón MBA / 510.
 A probability function is a function which assigns probabilities to the values of a random variable.  Individual probability values may be denoted by.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 6 Continuous Random Variables.
BINOMIALDISTRIBUTION AND ITS APPLICATION. Binomial Distribution  The binomial probability density function –f(x) = n C x p x q n-x for x=0,1,2,3…,n for.
Biostatistics Class 3 Discrete Probability Distributions 2/8/2000.
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 7C PROBABILITY DISTRIBUTIONS FOR RANDOM VARIABLES ( NORMAL DISTRIBUTION)
AP Review Day 2: Discrete Probability. Basic Probability Sample space = all possible outcomes P(A c ) = 1 – P(A) Probabilities have to be between 0 and.
June 11, 2008Stat Lecture 10 - Review1 Midterm review Chapters 1-5 Statistics Lecture 10.
Dr. Ahmed Abdelwahab Introduction for EE420. Probability Theory Probability theory is rooted in phenomena that can be modeled by an experiment with an.
Random Variables Presentation 6.. Random Variables A random variable assigns a number (or symbol) to each outcome of a random circumstance. A random variable.
Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved THE Normal PROBABILITY DISTRIBUTION.
Lecture 6 Normal Distribution By Aziza Munir. Summary of last lecture Uniform discrete distribution Binomial Distribution Mean and Variance of binomial.
Normal approximation of Binomial probabilities. Recall binomial experiment:  Identical trials  Two outcomes: success and failure  Probability for success.
Probability You’ll probably like it!. Probability Definitions Probability assignment Complement, union, intersection of events Conditional probability.
Lecture 4 1. Today Review of binomial and normal distribution Sampling Central limit theorem Confidence intervals for means Normal approximation to the.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Chapter 11 Review Important Terms, Symbols, Concepts Sect Graphing Data Bar graphs, broken-line graphs,
ENGR 610 Applied Statistics Fall Week 2 Marshall University CITE Jack Smith.
© 2010 Pearson Prentice Hall. All rights reserved 7-1.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 6-1 The Normal Distribution.
1 7.5 CONTINUOUS RANDOM VARIABLES Continuous data occur when the variable of interest can take on anyone of an infinite number of values over some interval.
5 - 1 © 1998 Prentice-Hall, Inc. Chapter 5 Continuous Random Variables.
Welcome to MM305 Unit 3 Seminar Prof Greg Probability Concepts and Applications.
Lesson The Normal Approximation to the Binomial Probability Distribution.
STATISTICS 6.0 Conditional Probabilities “Conditional Probabilities”
Unit 4 Review. Starter Write the characteristics of the binomial setting. What is the difference between the binomial setting and the geometric setting?
Copyright © 2010 Pearson Education, Inc. Chapter 17 Probability Models.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Business Statistics,
THE NORMAL DISTRIBUTION
Review Day 2 May 4 th Probability Events are independent if the outcome of one event does not influence the outcome of any other event Events are.
Chapter 3 Probability Distribution Normal Distribution.
Theoretical distributions: the Normal distribution.
Review Continuous Random Variables –Density Curves Uniform Distributions Normal Distributions –Probabilities correspond to areas under the curve. –the.
Chapter 6 Continuous Random Variables Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
MECH 373 Instrumentation and Measurements
Welcome to MM305 Unit 3 Seminar Dr
Normal Distribution and Parameter Estimation
Analysis of Economic Data
Chapter 6. Continuous Random Variables
Tutorial 8: Probability Distribution
Continuous Random Variable Normal Distribution
Exam 2 - Review Chapters
Chapter 5 Normal Probability Distribution
Chapter 3 & 4 Notes.
MATH 2311 Section 3.2.
Applied Statistical and Optimization Models
Presentation transcript:

Biostat. 200 Review slides Week 1-3

Recap: Probability

Basic Probability 1)Complement P(A)= 1-P(Ā) 2)Intersection = P(A ∩ B) 3)Union = P(A U B) P(A U B) =P(A) + P(B) – P(A ∩ B)

Basic Probability 4) Mutually exclusivity (but still dependant) Mutual exclusivity = Additive Rule P(A ∩ B) = 0 P(A U B) = P(A) + P(B) - P(A ∩ B) = P(A) + P(B) 4

Basic Probability 5) Conditional Probability The probability that an event B will occur given that event A has occurred. Use the multiplicative rule – P(A ∩ B) = P(A) P(B|A) – P(B|A) = P(A ∩ B) / P(A) Applies to – Relative risks – Odds ratios

Basic Probability 6) Independence Note that independence ≠ mutual exclusivity! If A and B are independent: – P(B | A)=P(B | Ā) = P(B) – P(A | B) = P(A|B)= P(A) – P(A ∩ B) = P(A)P(B) (Multiplicative rule)

Probability Distributions Discrete distributions Continuous distributions

Discrete Variables For discrete variables the probability distribution describes the probability of each possible value 8

Discrete distributions Bernoulli distribution variable that can take on one of two values with a constant probability p, then it is a Bernoulli random variable outcomes are either 0 or 1 theoretical building block to describe the distribution of more than one trial.

Discrete Distributions Binomial Distribution: With: p is probability of “success” in each “trial” n is the number of “trials” n and p are the parameters of the binomial distribution, (summarize the distribution) x is the number of “successes” (outcomes) Note that Stata and Table A.1 use the symbol k for x 10

Binominal Distributions Assumes – Fixed number of trials n, each with one of two mutually exclusive outcomes – Independent outcomes of the n trials – Constant probability of success p for each trial

Binominal Distribution What is the probability of exactly 2 cases of disease in a sample of n=5 where p=0.15? How to calculate the probability? 1) Use the binomial formula In Stata: display comb(n,k). display comb(5,2) 10 – (10)(0.15) 2 (1-0.15) 5-2 – (10)(0.0225) (0.614) = 0.138

Binominal Distribution What is the probability of exactly 2 cases of disease in a sample of n=5 where p=0.15? How to calculate the probability? 2) Use Table A1 – Table A.1 gives you P(X=k) – Look up p=.15, n=5, k=2, answer=.1382

Binominal Distribution What is the probability of exactly 2 cases of disease in a sample of n=5 where p=0.15? How to calculate the probability? 3) Use Stata Binomialp (n,k,p) display binomialp(5,2,.15)

Binomial Distrubution What is the probability of 1 or more cases of disease in a sample of n=5 where p=0.15? 1) Use Binomial Formula P(X≥1) = 1-P(X=0) di comb(5,1)*0.15^1.85^ So 1-P(X=0) = =

Binomial Distrubution What is the probability of 1 or more cases of disease in a sample of n=5 where p=0.15? 2) Use Table A1 P(X≥1) = 1-P(X=0) Looking up P(X=0) we get – So 1-P(X=0) = =

Binominal Distribution What is the probability of 1 or more cases of disease in a sample of n=5 where p=0.15? How to calculate the probability? 3) Use Stata – display binomialtail(5,1,.15)

Binomial Distribution Binomial mean = np Binomial variance= np(1-p) – Variance is largest when p=0.5, smaller when p closer to 0 or 1 – The distribution is symmetric when p=0.5 – The distribution is a mirror image for 1-p (i.e. the distribution for p=0.05 is the mirror image of the one for p=0.95) 18

Continuous distributions Normal distribution

Continuous Distribution For continuous variables, the distribution describes the probability of a range of values

Normal distribution The probability density function is μ is the mean and σ is the standard deviation of a normally distributed random variable – They are the parameters of the normal distribution – π is the constant that is approximately

22

The Standard Normal Distribution μ and σ can take on an infinite number of values standard curve with – μ =0 – σ =1 (and variance σ 2 =1). Denoted N(0,1) 23

The Standard Normal Distribution If X is a normally distributed random variable with mean μ and standard deviation σ then Z= (X – μ)/σ is a standard normal random variable That is, a normally distributed random variable with its mean subtracted off, divided by its standard deviation, is a normal random variable with mean=0 and standard deviation=1 24

For Z ~ N(0,1) P(Z≥0) = Zero is the mean & median For a standard normal distribution

For Z ~ N(0,1) P(Z≥1.96) = Probability of observing a value of 1.96 or greater is 0.025

P(µ-2σ ≤ Z ≤ µ+2σ) Remember µ=0 and σ=1, so this is P(-2 < Z < 2) = Therefore, approximately 95.4% of the area of the standard normal is within 2 SD of the mean

Stata will calculate standard normal probabilities for you In Stata, the left portion of the curve P(Z<z) is calculated for you. display normal(1.96) If you want the right hand portion of the curve, P(Z>z), you subtract your answer from 1 display 1-normal(1.96) If you want the middle: display normal(1.96) -normal(-1.96)

To get the z value for P(Z<z) = p use display invnormal(p) To get the z value for P(Z>z) = p use display invnormal(1-p) E.g. what is the z value for P(Z≤z) = display invnormal(0.025) E.g. what is the z value for P(Z>z) = display invnormal(1-.025) Finding z values for probabilities in Stata 29

To get the z value for P(Z>z) = p – find p in the table and read the corresponding z To get the z value for P(Z<z) = p – find p and use -1* the corresponding p E.g. what is the z value for P(Z≤z) = For p=0.025 the table value is 1.96, so the answer is E.g. what is the z value for P(Z>z) = For p=0.025 the table value is 1.96 Finding z values for probabilities in using Table A.3 30