Binomial and Normal Distributions

Similar documents
Contents. The Binomial Distribution. The Binomial Distribution The Normal Approximation to the Binomial Left hander example

The normal distribution is a theoretical model derived mathematically and not empirically.

Unit 5: Sampling Distributions of Statistics

Unit 5: Sampling Distributions of Statistics

AMS7: WEEK 4. CLASS 3

Probability and Statistics. Copyright Cengage Learning. All rights reserved.

Module 4: Probability

The Binomial Probability Distribution

The Binomial Distribution

The Binomial Distribution

MATH 264 Problem Homework I

Chapter 3 - Lecture 5 The Binomial Probability Distribution

Probability Distribution Unit Review

CHAPTER 5 Sampling Distributions

4.2 Bernoulli Trials and Binomial Distributions

The binomial distribution

Math 227 Elementary Statistics. Bluman 5 th edition

Model Paper Statistics Objective. Paper Code Time Allowed: 20 minutes

Chapter 5. Sampling Distributions

5.4 Normal Approximation of the Binomial Distribution

4.3 Normal distribution

INF FALL NATURAL LANGUAGE PROCESSING. Jan Tore Lønning, Lecture 3, 1.9

Section 7.5 The Normal Distribution. Section 7.6 Application of the Normal Distribution

Probability. An intro for calculus students P= Figure 1: A normal integral

Statistics 431 Spring 2007 P. Shaman. Preliminaries

Stat 20: Intro to Probability and Statistics

Example. Chapter 8 Probability Distributions and Statistics Section 8.1 Distributions of Random Variables

What do you think "Binomial" involves?

Normal distribution Approximating binomial distribution by normal 2.10 Central Limit Theorem

Binomial Distributions

Chapter 11. Data Descriptions and Probability Distributions. Section 4 Bernoulli Trials and Binomial Distribution

MATH 118 Class Notes For Chapter 5 By: Maan Omran

Class 11. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

5.1 Personal Probability

Statistics for Business and Economics

ECON 214 Elements of Statistics for Economists 2016/2017

PROBABILITY DISTRIBUTIONS

Chapter 3: Probability Distributions and Statistics

Example - Let X be the number of boys in a 4 child family. Find the probability distribution table:

Probability Distributions: Discrete

INF FALL NATURAL LANGUAGE PROCESSING. Jan Tore Lønning, Lecture 3, 1.9

Sampling Distributions and the Central Limit Theorem

Chapter 6: Random Variables and Probability Distributions

MidTerm 1) Find the following (round off to one decimal place):

Homework: Due Wed, Feb 20 th. Chapter 8, # 60a + 62a (count together as 1), 74, 82

Chapter 3 Statistical Quality Control, 7th Edition by Douglas C. Montgomery. Copyright (c) 2013 John Wiley & Sons, Inc.

CSSS/SOC/STAT 321 Case-Based Statistics I. Random Variables & Probability Distributions I: Discrete Distributions

CHAPTER 8 PROBABILITY DISTRIBUTIONS AND STATISTICS

x is a random variable which is a numerical description of the outcome of an experiment.

Chapter 8: Binomial and Geometric Distributions

Theoretical Foundations

The topics in this section are related and necessary topics for both course objectives.

1/2 2. Mean & variance. Mean & standard deviation

Business Statistics 41000: Probability 4

MA : Introductory Probability

Lecture 2. Probability Distributions Theophanis Tsandilas

Chapter ! Bell Shaped

Chapter 7 Study Guide: The Central Limit Theorem

Experimental Probability - probability measured by performing an experiment for a number of n trials and recording the number of outcomes

Part V - Chance Variability

Binomal and Geometric Distributions

Probability Models.S2 Discrete Random Variables

chapter 13: Binomial Distribution Exercises (binomial)13.6, 13.12, 13.22, 13.43

4: Probability. Notes: Range of possible probabilities: Probabilities can be no less than 0% and no more than 100% (of course).

Normal Probability Distributions

Random Variables CHAPTER 6.3 BINOMIAL AND GEOMETRIC RANDOM VARIABLES

Consider the following examples: ex: let X = tossing a coin three times and counting the number of heads

The Binomial Distribution

Introduction to Statistics I

VIDEO 1. A random variable is a quantity whose value depends on chance, for example, the outcome when a die is rolled.

30 Wyner Statistics Fall 2013

Binomial Random Variable - The count X of successes in a binomial setting

Statistical Methods in Practice STAT/MATH 3379

Probability distributions

Statistical Intervals (One sample) (Chs )

II - Probability. Counting Techniques. three rules of counting. 1multiplication rules. 2permutations. 3combinations

Chapter 8: The Binomial and Geometric Distributions

Central Limit Theorem (cont d) 7/28/2006

CS 237: Probability in Computing

CPS-111:Tutorial 6. Discrete Probability II. Steve Gu Feb 22, 2008

Lean Six Sigma: Training/Certification Books and Resources

S = 1,2,3, 4,5,6 occurs

Web Science & Technologies University of Koblenz Landau, Germany. Lecture Data Science. Statistics and Probabilities JProf. Dr.

Binomial Random Variables. Binomial Random Variables

Chapter 6: Random Variables

5.4 Normal Approximation of the Binomial Distribution Lesson MDM4U Jensen

UNIT 4 MATHEMATICAL METHODS

Binomial and Geometric Distributions

Lecture 6: Chapter 6

Homework: Due Wed, Nov 3 rd Chapter 8, # 48a, 55c and 56 (count as 1), 67a

Chapter 7. Sampling Distributions and the Central Limit Theorem

Bernoulli and Binomial Distributions

(# of die rolls that satisfy the criteria) (# of possible die rolls)

Lecture Data Science

Chapter 3 Discrete Random Variables and Probability Distributions

Chapter 7. Sampling Distributions and the Central Limit Theorem

***SECTION 8.1*** The Binomial Distributions

Lecture 9: Plinko Probabilities, Part III Random Variables, Expected Values and Variances

CHAPTER 4 DISCRETE PROBABILITY DISTRIBUTIONS

STA258H5. Al Nosedal and Alison Weir. Winter Al Nosedal and Alison Weir STA258H5 Winter / 41

Transcription:

Binomial and Normal Distributions

Bernoulli Trials A Bernoulli trial is a random experiment with 2 special properties: The result of a Bernoulli trial is binary. Examples: Heads vs. Tails, Healthy vs. Sick, etc. The probability of a success is some constant p. Example: the probability of heads when you flip a fair coin is always 50%.

Bernoulli Random Variable A Bernoulli random variable is a random variable such that: The range of possible values is binary. Examples: Heads vs. Tails, Healthy vs. Sick, etc. The probability of a success is some constant p. Example: the probability of heads is p, and the probability of tails is 1-p.

Binomial Random Variable A binomial random variable describes the result of n Bernoulli trials: The range is the natural numbers, representing the number of successes. Examples: The number of heads, The number of healthy participants, etc. The probability of a success is constant across all trials. Example: the probability of heads when you flip a fair coin is always 50%. The trials are independent events; earlier trials do not influence later trials.

Examples of Binomial Random Variables The number of heads in 10 coin flips. The number of times you roll double sixes in 50 rolls of the dice. The number of people who quit smoking after treating 100 participants. The number of people who report that they prefer Clinton to Trump in a poll of 500 individuals (2016). What else?

The Binomial Distribution Here is the formula for the binomial distribution: X is the binomial random variable, k is the number of successes, n is the number of trials, and p is the probability of success. For example, let X be the total number of heads in 10 flips of a fair coin. This means k ranges from 0 to 10, n = 10, and p = 0.5.

Aside: Pascal s Triangle (n choose k) = n! / (k! (n - k)!) Image source

Calculating Binomial Probabilities in R Assume a binomial random variable X with parameters n and p. The random variable can take on values of k ranging from 0 through n. R can help us find Pr[X = k] for all values of k. In R, we can use dbinom(k, n, p) to find Pr[X = k] Let s say we flip a coin 10 times. What is the probability we see 3 heads? dbinom(3, 10, 0.5) outputs 0.117 In R, we can use pbinom(k, n, p)to find the Pr[X k] If we flip a coin 10 times, what is the probability we see 4 heads, or fewer? dbinom(0, 10, 0.5) + dbinom(1, 10, 0.5) + dbinom(2, 10, 0.5) + dbinom(3, 10, 0.5)outputs 0.172 pbinom(3, 10, 0.5) also outputs 0.172

Expected Value and Variance Bernoulli random variable: The expected value of a Bernoulli random variable is p. E[B] = (p)(1) + (1-p)(0) = p The variance of a Bernoulli random variable is p(1-p). E[(B - ) 2 ] = (p)(1-p) 2 + (1-p)(0-p) 2 = p(1-p) E[B 2 ] - 2 = (p)(1 2 ) + (1-p)(0 2 ) - p 2 = p - p 2 = p(1-p) Binomial random variable: The expected value of a binomial random variable is np. The variance of a binomial random variable is np(1-p).

The Binomial Distribution The red distribution is binomial(10, 0.5)

The Binomial Distribution The blue distribution is binomial(10, 0.3) The red distribution is binomial(10, 0.5) The green distribution is binomial(10, 0.7)

Does this shape ring a bell?

The Normal Distribution A bell-shaped curve, whose shape depends on two things Mean, Median, and Mode: the center of the curve Standard deviation (or Variance): the spread (i.e., the height and width) of the curve Image source Image source

Central Limit Theorem

Central Limit Theorem Let s consider rolling a die, say, 100 times, and computing the mean roll num_trials <- 100 sample_data <- sample(0:1, num_trials, replace = TRUE) mean(sample_data) And let s repeat this process, first 10, then 100, and then 1000 times

Central Limit Theorem (cont d) A histogram of sample means is called the sampling distribution. As we collect more and more sample means, the sampling distribution looks more and more like the normal distribution. This is true even though the distribution that we were sampling from was uniform (not normal). Amazing fact: this is true regardless of the underlying distribution.

Central Limit Theorem (cont d) Regardless of the population distribution, in the limit (as the number of experiments grows to infinity), the sample mean is normally distributed around the population mean. But what is the standard deviation? The standard deviation of the sampling distribution is called standard error. Standard deviation measures variation within the population, meaning how much individual measurements differ from the mean. Standard error measures how much sample means differ from the population mean.

Are data normally normally distributed? Students in a statistics class at Simon Fraser University. Image source