Statistics/BioSci 141, Fall 2006 Lab 2: Probability and Probability Distributions October 13, 2006

Size: px
Start display at page:

Download "Statistics/BioSci 141, Fall 2006 Lab 2: Probability and Probability Distributions October 13, 2006"

Transcription

1 Statistics/BioSci 141, Fall 2006 Lab 2: Probability and Probability Distributions October 13, Using random samples to estimate a probability Suppose that you are stuck on the following problem: (SW 333) If two carriers of the gene for albinism marry, each of their children has probability of being albino If such a couple has six children, what is the probability that 1 4 (a) none will be albino? (b) at least one will be albino? One way to solve this problem would be to use the material of section 34 or section 38 but say that you didn t read these sections What do you do? One strategy is to estimate the probabilities by drawing random samples Let s say that 0 represents non-albino and 1 represents albino, and let s create a population vector that has 3 non-albino children for every 1 albino: > population <- c(0,0,0,1) [1] [1] [1] For event (b), count the proportion of samples that have at least one albino child and divide by the number of samples you ve taken Obviously, the more samples you take, the more accurate your answer will be in this case, try at least 20 samples to get a rough idea Question: why do we need replace=true? This strategy is called the Monte Carlo method for estimating probabilities [To get an estimate that s close to the true probability, you need to do at least 500 repetitions, which can get tedious if you re doing it manually] 1

2 2 Random sampling: named distributions Now consider the following problem: SW Example 42 Eggshell Thickness In the commercial production of eggs, breakage is a major problem Consequently the thickness of the eggshell is an important variable We approximate the thickness of any given egg to be a normal random variable with mean µ = 38 mm and standard deviation σ = 03 mm What is the probability that an egg has thickness 35 mm or less? We can again estimate this probability using random sampling Let s draw many (say ten thousand) normal random samples with mean µ = 38 and standard deviation σ = 03: > simulations <- rnorm(n=10000, mean=38, sd=03) > events <- (simulations <= 35) > sum(events) [1] 1558 Out of our ten thousand random eggshells, 1558 were less than or equal to 35 mm thick, so we estimate that the probability is about 1558 You can draw random samples from many other distributions Some of them are: rbinom for binomial, rpois for Poisson, runif for uniform, and rexp for exponential Question: can you think of a better way to solve the albinism problem 333 using the function rbinom? Look up the help entry for rbinom and estimate the probability in 333 (a) using random draws as we did in the eggshell problem Make sure to use == for equality tests: the symbol = is for variable assignment 3 Densities Look again at the albinism problem Can we calculate exactly the probability of having zero albino children? The method detailed in section 38 is to use the binomial distribution with 6 draws and success probability 25 If N is the number of albino children, then we can use the function dbinom to calculate P (N = 0) > dbinom(0, size=6, prob=25) [1] Is this close to the Monte Carlo estimate you made in part 1? The R functions for densities are all prefixed with d : examples are dbinom, dpois, dnorm, dunif, dexp 4 Cumulative distribution functions How about the eggshell problem how do we calculate the exact probability of finding an eggshell that s 35 mm or thinner? We use the cumulative distribution function (cdf) Let T be a random variable denoting the thickness of a particular egg s shell The pnorm function gives us P (T <= 35): 2

3 > pnorm (35, mean=38, sd=03) [1] The R functions for cdfs are all prefixed with p (for probability): examples are pbinom, ppois, pnorm, punif, pexp Problem: we can model the count of earthworms in a one-square-meter plot of soil as a Poisson random variable with mean parameter λ = 130 earthworms What is the probability of finding 70 or fewer earthworms in a given plot of soil? How about 110 or more? 5 Plotting densities and cdfs In section??, we calculated the probability that an eggshell was 35 mm thick or less by using the pnorm function A more visual strategy is to plot the random variable s density function and infer probabilities from the graph 51 Method 1: random histogram We can draw random samples as we did in sections?? and??, and then draw the histogram of the random samples (here we treat the eggshells example): > eggshells <- rnorm(1000, mean=38, sd=03) > hist(eggshells) Exercise Marshall et al (1990) studied the opening and closing of the nicotinic receptor of frog muscle They modeled the number times that the receptor opens per millisecond as an exponential random variable with rate parameter rate = 118 openings/ms Draw 1000 random opening times according to this model and plot the histogram From this diagram, can you roughly estimate the probability that a receptor opens two or fewer times per millisecond? Between 2 and 4 times? 52 Method 2: plotting the exact density We can also graph the random variable s density function, which is an exact version of the histograms above The eggshell example: > range <- seq(from=25, to=51, by=001) > dens <- dnorm(x=range, mean=38, sd=03) > plot(x=range, y=dens, xlab= eggshell thickness, + main= Density function for eggshell thickness, + type= l ) Approximately what percentage of the area of the graph is to the left of 35? Exercise Can you draw the density function for the nicotinic receptor example? Question What does graphing the histogram or density give you that the probability calculation in section?? does not? What does the probability calculation give you that the density does not? 3

4 6 Probability calculations with the normal curve Exercise Graph the density function of the eggshell thickness again Say we want the probability that an eggshell is between 40 and 45 mm thick 1 How do you estimate this probability from the density function? 2 (Thought question you don t actually have to do it in R) How would you estimate this probability using random sampling? 3 How could you use pnorm to calculate this probability exactly? 4 (Thought question) If you don t have a computer available, you may have only a piece of paper that contains the quantiles of N(0, 1) How would you do this calculation using the standardized scale method described in section 43? Exercise Use the pnorm function to determine the area under the normal curve within one standard deviation of the mean 7 Reading files from disk We ve received many questions about reading files from disk, and from Excel Download the following file from the web onto your Desktop: wwwstanfordedu/~gtchang/lentilxls Open the file in Excel, then save the file to a comma-separated values (CSV) file so that R can read it (File Save-as, then select the CSV file type in the save as type dropdown box) Load it into R: lentil <- readtable( C:/Documents and Settings/stat141/Desktop/lentilcsv,header=T,sep=, ) 8 Assessing normality The lentils data that you just loaded represent the growth rate, in cm per day, for a sample of 47 lentil plants (SW exmaple 49 on p 138) Are these data normally distributed? Question: what s a good way to tell if the data are normally distributed? One way to test normality to see if the quantiles of the data match the corresponding quantiles of a normal random variable with the same mean and standard deviation The function qnorm returns quantiles of a normal random variable with given mean and standard deviation You can get quantiles for many other distributions: qbinom is for binomial, qpois is for Poisson, qunif is for uniform, and qexp is for exponential > mean(lentil$growth) [1] > sd(lentil$growth) 4

5 [1] > lentilquantiles <- quantile(lentil$growth, probs=seq(from=1,to=9,by=1)) > normalquantiles <- qnorm(seq(from=1, to=9, by=1), mean=502766, sd= ) > lentilquantiles 10% 20% 30% 40% 50% 60% 70% 80% 90% > normalquantiles [1] The quantiles look kind of different, so the lentils data are probably not normal However, it s difficult to tell for sure just by looking at the numbers Let s visualize the quantiles by plotting the quantiles against each other: plot(normalquantiles,lentilquantiles) They deviate quite a bit from the line y = x, so the lentils data are definitely not normal This plot is a simplified Q-Q plot (SW section 44) R has a function for drawing nice Q-Q plots: use qqnorm(lentil), and notice the similarities and differences with the simplified plot that we graphed manually Question: How close is the binomial(n = 100, p = 5) distribution to normality? How about the exponential(rate = 5) distribution? How would you use a Q-Q plot to answer this question? 5

BIOINFORMATICS MSc PROBABILITY AND STATISTICS SPLUS SHEET 1

BIOINFORMATICS MSc PROBABILITY AND STATISTICS SPLUS SHEET 1 BIOINFORMATICS MSc PROBABILITY AND STATISTICS SPLUS SHEET 1 A data set containing a segment of human chromosome 13 containing the BRCA2 breast cancer gene; it was obtained from the National Center for

More information

It is common in the field of mathematics, for example, geometry, to have theorems or postulates

It is common in the field of mathematics, for example, geometry, to have theorems or postulates CHAPTER 5 POPULATION DISTRIBUTIONS It is common in the field of mathematics, for example, geometry, to have theorems or postulates that establish guiding principles for understanding analysis of data.

More information

LAB 2 Random Variables, Sampling Distributions of Counts, and Normal Distributions

LAB 2 Random Variables, Sampling Distributions of Counts, and Normal Distributions LAB 2 Random Variables, Sampling Distributions of Counts, and Normal Distributions The ECA 225 has open lab hours if you need to finish LAB 2. The lab is open Monday-Thursday 6:30-10:00pm and Saturday-Sunday

More information

Review. Binomial random variable

Review. Binomial random variable Review Discrete RV s: prob y fctn: p(x) = Pr(X = x) cdf: F(x) = Pr(X x) E(X) = x x p(x) SD(X) = E { (X - E X) 2 } Binomial(n,p): no. successes in n indep. trials where Pr(success) = p in each trial If

More information

Probability and distributions

Probability and distributions 2 Probability and distributions The concepts of randomness and probability are central to statistics. It is an empirical fact that most experiments and investigations are not perfectly reproducible. The

More information

Distributions and Intro to Likelihood

Distributions and Intro to Likelihood Distributions and Intro to Likelihood Gov 2001 Section February 4, 2010 Outline Meet the Distributions! Discrete Distributions Continuous Distributions Basic Likelihood Why should we become familiar with

More information

Lab 9 Distributions and the Central Limit Theorem

Lab 9 Distributions and the Central Limit Theorem Lab 9 Distributions and the Central Limit Theorem Distributions: You will need to become familiar with at least 5 types of distributions in your Introductory Statistics study: the Normal distribution,

More information

Lab #7. In previous lectures, we discussed factorials and binomial coefficients. Factorials can be calculated with:

Lab #7. In previous lectures, we discussed factorials and binomial coefficients. Factorials can be calculated with: Introduction to Biostatistics (171:161) Breheny Lab #7 In Lab #7, we are going to use R and SAS to calculate factorials, binomial coefficients, and probabilities from both the binomial and the normal distributions.

More information

Intro to Likelihood. Gov 2001 Section. February 2, Gov 2001 Section () Intro to Likelihood February 2, / 44

Intro to Likelihood. Gov 2001 Section. February 2, Gov 2001 Section () Intro to Likelihood February 2, / 44 Intro to Likelihood Gov 2001 Section February 2, 2012 Gov 2001 Section () Intro to Likelihood February 2, 2012 1 / 44 Outline 1 Replication Paper 2 An R Note on the Homework 3 Probability Distributions

More information

4. Basic distributions with R

4. Basic distributions with R 4. Basic distributions with R CA200 (based on the book by Prof. Jane M. Horgan) 1 Discrete distributions: Binomial distribution Def: Conditions: 1. An experiment consists of n repeated trials 2. Each trial

More information

Central Limit Theorem (CLT) RLS

Central Limit Theorem (CLT) RLS Central Limit Theorem (CLT) RLS Central Limit Theorem (CLT) Definition The sampling distribution of the sample mean is approximately normal with mean µ and standard deviation (of the sampling distribution

More information

4-2 Probability Distributions and Probability Density Functions. Figure 4-2 Probability determined from the area under f(x).

4-2 Probability Distributions and Probability Density Functions. Figure 4-2 Probability determined from the area under f(x). 4-2 Probability Distributions and Probability Density Functions Figure 4-2 Probability determined from the area under f(x). 4-2 Probability Distributions and Probability Density Functions Definition 4-2

More information

Statistics and Probability

Statistics and Probability Statistics and Probability Continuous RVs (Normal); Confidence Intervals Outline Continuous random variables Normal distribution CLT Point estimation Confidence intervals http://www.isrec.isb-sib.ch/~darlene/geneve/

More information

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

STA258H5. Al Nosedal and Alison Weir. Winter Al Nosedal and Alison Weir STA258H5 Winter / 41 STA258H5 Al Nosedal and Alison Weir Winter 2017 Al Nosedal and Alison Weir STA258H5 Winter 2017 1 / 41 NORMAL APPROXIMATION TO THE BINOMIAL DISTRIBUTION. Al Nosedal and Alison Weir STA258H5 Winter 2017

More information

4.1 Introduction Estimating a population mean The problem with estimating a population mean with a sample mean: an example...

4.1 Introduction Estimating a population mean The problem with estimating a population mean with a sample mean: an example... Chapter 4 Point estimation Contents 4.1 Introduction................................... 2 4.2 Estimating a population mean......................... 2 4.2.1 The problem with estimating a population mean

More information

The probability of having a very tall person in our sample. We look to see how this random variable is distributed.

The probability of having a very tall person in our sample. We look to see how this random variable is distributed. Distributions We're doing things a bit differently than in the text (it's very similar to BIOL 214/312 if you've had either of those courses). 1. What are distributions? When we look at a random variable,

More information

Section The Sampling Distribution of a Sample Mean

Section The Sampling Distribution of a Sample Mean Section 5.2 - The Sampling Distribution of a Sample Mean Statistics 104 Autumn 2004 Copyright c 2004 by Mark E. Irwin The Sampling Distribution of a Sample Mean Example: Quality control check of light

More information

Statistics 251: Statistical Methods Sampling Distributions Module

Statistics 251: Statistical Methods Sampling Distributions Module Statistics 251: Statistical Methods Sampling Distributions Module 7 2018 Three Types of Distributions data distribution the distribution of a variable in a sample population distribution the probability

More information

Lecture 2. Probability Distributions Theophanis Tsandilas

Lecture 2. Probability Distributions Theophanis Tsandilas Lecture 2 Probability Distributions Theophanis Tsandilas Comment on measures of dispersion Why do common measures of dispersion (variance and standard deviation) use sums of squares: nx (x i ˆµ) 2 i=1

More information

Point Estimation. Stat 4570/5570 Material from Devore s book (Ed 8), and Cengage

Point Estimation. Stat 4570/5570 Material from Devore s book (Ed 8), and Cengage 6 Point Estimation Stat 4570/5570 Material from Devore s book (Ed 8), and Cengage Point Estimation Statistical inference: directed toward conclusions about one or more parameters. We will use the generic

More information

STATISTICAL LABORATORY, May 18th, 2010 CENTRAL LIMIT THEOREM ILLUSTRATION

STATISTICAL LABORATORY, May 18th, 2010 CENTRAL LIMIT THEOREM ILLUSTRATION STATISTICAL LABORATORY, May 18th, 2010 CENTRAL LIMIT THEOREM ILLUSTRATION Mario Romanazzi 1 BINOMIAL DISTRIBUTION The binomial distribution Bi(n, p), being the sum of n independent Bernoulli distributions,

More information

Statistical Computing (36-350)

Statistical Computing (36-350) Statistical Computing (36-350) Lecture 14: Simulation I: Generating Random Variables Cosma Shalizi 14 October 2013 Agenda Base R commands The basic random-variable commands Transforming uniform random

More information

Chapter 6: Random Variables and Probability Distributions

Chapter 6: Random Variables and Probability Distributions Chapter 6: Random Variables and Distributions These notes reflect material from our text, Statistics, Learning from Data, First Edition, by Roxy Pec, published by CENGAGE Learning, 2015. Random variables

More information

Basic Probability Distributions Tutorial From Cyclismo.org

Basic Probability Distributions Tutorial From Cyclismo.org Page 1 of 8 Basic Probability Distributions Tutorial From Cyclismo.org Contents: The Normal Distribution The t Distribution The Binomial Distribution The Chi-Squared Distribution We look at some of the

More information

MAS187/AEF258. University of Newcastle upon Tyne

MAS187/AEF258. University of Newcastle upon Tyne MAS187/AEF258 University of Newcastle upon Tyne 2005-6 Contents 1 Collecting and Presenting Data 5 1.1 Introduction...................................... 5 1.1.1 Examples...................................

More information

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

Probability. An intro for calculus students P= Figure 1: A normal integral Probability An intro for calculus students.8.6.4.2 P=.87 2 3 4 Figure : A normal integral Suppose we flip a coin 2 times; what is the probability that we get more than 2 heads? Suppose we roll a six-sided

More information

Statistics 431 Spring 2007 P. Shaman. Preliminaries

Statistics 431 Spring 2007 P. Shaman. Preliminaries Statistics 4 Spring 007 P. Shaman The Binomial Distribution Preliminaries A binomial experiment is defined by the following conditions: A sequence of n trials is conducted, with each trial having two possible

More information

Inverse Normal Distribution and Approximation to Binomial

Inverse Normal Distribution and Approximation to Binomial Inverse Normal Distribution and Approximation to Binomial Section 5.5 Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Department of Mathematics University of Houston Lecture 16-3339 Cathy Poliak,

More information

continuous rv Note for a legitimate pdf, we have f (x) 0 and f (x)dx = 1. For a continuous rv, P(X = c) = c f (x)dx = 0, hence

continuous rv Note for a legitimate pdf, we have f (x) 0 and f (x)dx = 1. For a continuous rv, P(X = c) = c f (x)dx = 0, hence continuous rv Let X be a continuous rv. Then a probability distribution or probability density function (pdf) of X is a function f(x) such that for any two numbers a and b with a b, P(a X b) = b a f (x)dx.

More information

Standard Normal, Inverse Normal and Sampling Distributions

Standard Normal, Inverse Normal and Sampling Distributions Standard Normal, Inverse Normal and Sampling Distributions Section 5.5 & 6.6 Cathy Poliak, Ph.D. cathy@math.uh.edu Office in Fleming 11c Department of Mathematics University of Houston Lecture 9-3339 Cathy

More information

When we look at a random variable, such as Y, one of the first things we want to know, is what is it s distribution?

When we look at a random variable, such as Y, one of the first things we want to know, is what is it s distribution? Distributions 1. What are distributions? When we look at a random variable, such as Y, one of the first things we want to know, is what is it s distribution? In other words, if we have a large number of

More information

2011 Pearson Education, Inc

2011 Pearson Education, Inc Statistics for Business and Economics Chapter 4 Random Variables & Probability Distributions Content 1. Two Types of Random Variables 2. Probability Distributions for Discrete Random Variables 3. The Binomial

More information

Commonly Used Distributions

Commonly Used Distributions Chapter 4: Commonly Used Distributions 1 Introduction Statistical inference involves drawing a sample from a population and analyzing the sample data to learn about the population. We often have some knowledge

More information

Populations and Samples Bios 662

Populations and Samples Bios 662 Populations and Samples Bios 662 Michael G. Hudgens, Ph.D. mhudgens@bios.unc.edu http://www.bios.unc.edu/ mhudgens 2008-08-22 16:29 BIOS 662 1 Populations and Samples Random Variables Random sample: result

More information

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

(# of die rolls that satisfy the criteria) (# of possible die rolls) BMI 713: Computational Statistics for Biomedical Sciences Assignment 2 1 Random variables and distributions 1. Assume that a die is fair, i.e. if the die is rolled once, the probability of getting each

More information

The Normal Probability Distribution

The Normal Probability Distribution 1 The Normal Probability Distribution Key Definitions Probability Density Function: An equation used to compute probabilities for continuous random variables where the output value is greater than zero

More information

Introduction to the Practice of Statistics using R: Chapter 4

Introduction to the Practice of Statistics using R: Chapter 4 Introduction to the Practice of Statistics using R: Chapter 4 Nicholas J. Horton Ben Baumer March 10, 2013 Contents 1 Randomness 2 2 Probability models 3 3 Random variables 4 4 Means and variances of random

More information

Chapter 5. Sampling Distributions

Chapter 5. Sampling Distributions Lecture notes, Lang Wu, UBC 1 Chapter 5. Sampling Distributions 5.1. Introduction In statistical inference, we attempt to estimate an unknown population characteristic, such as the population mean, µ,

More information

CS 237: Probability in Computing

CS 237: Probability in Computing CS 237: Probability in Computing Wayne Snyder Computer Science Department Boston University Lecture 12: Continuous Distributions Uniform Distribution Normal Distribution (motivation) Discrete vs Continuous

More information

. (i) What is the probability that X is at most 8.75? =.875

. (i) What is the probability that X is at most 8.75? =.875 Worksheet 1 Prep-Work (Distributions) 1)Let X be the random variable whose c.d.f. is given below. F X 0 0.3 ( x) 0.5 0.8 1.0 if if if if if x 5 5 x 10 10 x 15 15 x 0 0 x Compute the mean, X. (Hint: First

More information

Lecture Slides. Elementary Statistics Tenth Edition. by Mario F. Triola. and the Triola Statistics Series. Slide 1

Lecture Slides. Elementary Statistics Tenth Edition. by Mario F. Triola. and the Triola Statistics Series. Slide 1 Lecture Slides Elementary Statistics Tenth Edition and the Triola Statistics Series by Mario F. Triola Slide 1 Chapter 6 Normal Probability Distributions 6-1 Overview 6-2 The Standard Normal Distribution

More information

BIOL The Normal Distribution and the Central Limit Theorem

BIOL The Normal Distribution and the Central Limit Theorem BIOL 300 - The Normal Distribution and the Central Limit Theorem In the first week of the course, we introduced a few measures of center and spread, and discussed how the mean and standard deviation are

More information

Binomial and Geometric Distributions

Binomial and Geometric Distributions Binomial and Geometric Distributions Section 3.2 & 3.3 Cathy Poliak, Ph.D. cathy@math.uh.edu Office hours: T Th 2:30 pm - 5:15 pm 620 PGH Department of Mathematics University of Houston February 11, 2016

More information

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Chapter 6 Exam A Name The given values are discrete. Use the continuity correction and describe the region of the normal distribution that corresponds to the indicated probability. 1) The probability of

More information

Binomial Distributions

Binomial Distributions Binomial Distributions (aka Bernouli s Trials) Chapter 8 Binomial Distribution an important class of probability distributions, which occur under the following Binomial Setting (1) There is a number n

More information

Chapter 4: Commonly Used Distributions. Statistics for Engineers and Scientists Fourth Edition William Navidi

Chapter 4: Commonly Used Distributions. Statistics for Engineers and Scientists Fourth Edition William Navidi Chapter 4: Commonly Used Distributions Statistics for Engineers and Scientists Fourth Edition William Navidi 2014 by Education. This is proprietary material solely for authorized instructor use. Not authorized

More information

Assignment 4. 1 The Normal approximation to the Binomial

Assignment 4. 1 The Normal approximation to the Binomial CALIFORNIA INSTITUTE OF TECHNOLOGY Ma 3/103 KC Border Introduction to Probability and Statistics Winter 2015 Assignment 4 Due Monday, February 2 by 4:00 p.m. at 253 Sloan Instructions: For each exercise

More information

The Binomial Probability Distribution

The Binomial Probability Distribution The Binomial Probability Distribution MATH 130, Elements of Statistics I J. Robert Buchanan Department of Mathematics Fall 2017 Objectives After this lesson we will be able to: determine whether a probability

More information

ECON 214 Elements of Statistics for Economists 2016/2017

ECON 214 Elements of Statistics for Economists 2016/2017 ECON 214 Elements of Statistics for Economists 2016/2017 Topic The Normal Distribution Lecturer: Dr. Bernardin Senadza, Dept. of Economics bsenadza@ug.edu.gh College of Education School of Continuing and

More information

Chapter 4 and 5 Note Guide: Probability Distributions

Chapter 4 and 5 Note Guide: Probability Distributions Chapter 4 and 5 Note Guide: Probability Distributions Probability Distributions for a Discrete Random Variable A discrete probability distribution function has two characteristics: Each probability is

More information

STA 6166 Fall 2007 Web-based Course. Notes 10: Probability Models

STA 6166 Fall 2007 Web-based Course. Notes 10: Probability Models STA 6166 Fall 2007 Web-based Course 1 Notes 10: Probability Models We first saw the normal model as a useful model for the distribution of some quantitative variables. We ve also seen that if we make a

More information

Lab#3 Probability

Lab#3 Probability 36-220 Lab#3 Probability Week of September 19, 2005 Please write your name below, tear off this front page and give it to a teaching assistant as you leave the lab. It will be a record of your participation

More information

Discrete Random Variables

Discrete Random Variables Discrete Random Variables In this chapter, we introduce a new concept that of a random variable or RV. A random variable is a model to help us describe the state of the world around us. Roughly, a RV can

More information

1 PMF and CDF Random Variable PMF and CDF... 4

1 PMF and CDF Random Variable PMF and CDF... 4 Summer 2017 UAkron Dept. of Stats [3470 : 461/561] Applied Statistics Ch 3: Discrete RV Contents 1 PMF and CDF 2 1.1 Random Variable................................................................ 3 1.2

More information

Statistical Intervals (One sample) (Chs )

Statistical Intervals (One sample) (Chs ) 7 Statistical Intervals (One sample) (Chs 8.1-8.3) Confidence Intervals The CLT tells us that as the sample size n increases, the sample mean X is close to normally distributed with expected value µ and

More information

The following content is provided under a Creative Commons license. Your support

The following content is provided under a Creative Commons license. Your support MITOCW Recitation 6 The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational resources for free. To make

More information

CS 361: Probability & Statistics

CS 361: Probability & Statistics March 12, 2018 CS 361: Probability & Statistics Inference Binomial likelihood: Example Suppose we have a coin with an unknown probability of heads. We flip the coin 10 times and observe 2 heads. What can

More information

LAB 2 INSTRUCTIONS PROBABILITY DISTRIBUTIONS IN EXCEL

LAB 2 INSTRUCTIONS PROBABILITY DISTRIBUTIONS IN EXCEL LAB 2 INSTRUCTIONS PROBABILITY DISTRIBUTIONS IN EXCEL There is a wide range of probability distributions (both discrete and continuous) available in Excel. They can be accessed through the Insert Function

More information

Chapter 8. Binomial and Geometric Distributions

Chapter 8. Binomial and Geometric Distributions Chapter 8 Binomial and Geometric Distributions Lesson 8-1, Part 1 Binomial Distribution What is a Binomial Distribution? Specific type of discrete probability distribution The outcomes belong to two categories

More information

UQ, STAT2201, 2017, Lectures 3 and 4 Unit 3 Probability Distributions.

UQ, STAT2201, 2017, Lectures 3 and 4 Unit 3 Probability Distributions. UQ, STAT2201, 2017, Lectures 3 and 4 Unit 3 Probability Distributions. Random Variables 2 A random variable X is a numerical (integer, real, complex, vector etc.) summary of the outcome of the random experiment.

More information

Discrete Probability Distributions

Discrete Probability Distributions Discrete Probability Distributions Discrete Probability Distribution Are used to model outcomes that only have a finite number of possible values. For example, the number of congenitally missing third

More information

STA Module 3B Discrete Random Variables

STA Module 3B Discrete Random Variables STA 2023 Module 3B Discrete Random Variables Learning Objectives Upon completing this module, you should be able to 1. Determine the probability distribution of a discrete random variable. 2. Construct

More information

Chapter 7: Point Estimation and Sampling Distributions

Chapter 7: Point Estimation and Sampling Distributions Chapter 7: Point Estimation and Sampling Distributions Seungchul Baek Department of Statistics, University of South Carolina STAT 509: Statistics for Engineers 1 / 20 Motivation In chapter 3, we learned

More information

Stochastic Components of Models

Stochastic Components of Models Stochastic Components of Models Gov 2001 Section February 5, 2014 Gov 2001 Section Stochastic Components of Models February 5, 2014 1 / 41 Outline 1 Replication Paper and other logistics 2 Data Generation

More information

Lecture 3. Sampling distributions. Counts, Proportions, and sample mean.

Lecture 3. Sampling distributions. Counts, Proportions, and sample mean. Lecture 3 Sampling distributions. Counts, Proportions, and sample mean. Statistical Inference: Uses data and summary statistics (mean, variances, proportions, slopes) to draw conclusions about a population

More information

CHAPTER 5 SAMPLING DISTRIBUTIONS

CHAPTER 5 SAMPLING DISTRIBUTIONS CHAPTER 5 SAMPLING DISTRIBUTIONS Sampling Variability. We will visualize our data as a random sample from the population with unknown parameter μ. Our sample mean Ȳ is intended to estimate population mean

More information

Exam 2 Spring 2015 Statistics for Applications 4/9/2015

Exam 2 Spring 2015 Statistics for Applications 4/9/2015 18.443 Exam 2 Spring 2015 Statistics for Applications 4/9/2015 1. True or False (and state why). (a). The significance level of a statistical test is not equal to the probability that the null hypothesis

More information

One sample z-test and t-test

One sample z-test and t-test One sample z-test and t-test January 30, 2017 psych10.stanford.edu Announcements / Action Items Install ISI package (instructions in Getting Started with R) Assessment Problem Set #3 due Tu 1/31 at 7 PM

More information

Market Volatility and Risk Proxies

Market Volatility and Risk Proxies Market Volatility and Risk Proxies... an introduction to the concepts 019 Gary R. Evans. This slide set by Gary R. Evans is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International

More information

Part V - Chance Variability

Part V - Chance Variability Part V - Chance Variability Dr. Joseph Brennan Math 148, BU Dr. Joseph Brennan (Math 148, BU) Part V - Chance Variability 1 / 78 Law of Averages In Chapter 13 we discussed the Kerrich coin-tossing experiment.

More information

Biostatistics and Design of Experiments Prof. Mukesh Doble Department of Biotechnology Indian Institute of Technology, Madras

Biostatistics and Design of Experiments Prof. Mukesh Doble Department of Biotechnology Indian Institute of Technology, Madras Biostatistics and Design of Experiments Prof. Mukesh Doble Department of Biotechnology Indian Institute of Technology, Madras Lecture - 05 Normal Distribution So far we have looked at discrete distributions

More information

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

Section 7.5 The Normal Distribution. Section 7.6 Application of the Normal Distribution Section 7.6 Application of the Normal Distribution A random variable that may take on infinitely many values is called a continuous random variable. A continuous probability distribution is defined by

More information

A useful modeling tricks.

A useful modeling tricks. .7 Joint models for more than two outcomes We saw that we could write joint models for a pair of variables by specifying the joint probabilities over all pairs of outcomes. In principal, we could do this

More information

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

Homework: Due Wed, Feb 20 th. Chapter 8, # 60a + 62a (count together as 1), 74, 82 Announcements: Week 5 quiz begins at 4pm today and ends at 3pm on Wed If you take more than 20 minutes to complete your quiz, you will only receive partial credit. (It doesn t cut you off.) Today: Sections

More information

Chapter 8: The Binomial and Geometric Distributions

Chapter 8: The Binomial and Geometric Distributions Chapter 8: The Binomial and Geometric Distributions 8.1 Binomial Distributions 8.2 Geometric Distributions 1 Let me begin with an example My best friends from Kent School had three daughters. What is the

More information

Much of what appears here comes from ideas presented in the book:

Much of what appears here comes from ideas presented in the book: Chapter 11 Robust statistical methods Much of what appears here comes from ideas presented in the book: Huber, Peter J. (1981), Robust statistics, John Wiley & Sons (New York; Chichester). There are many

More information

Chapter 7 Study Guide: The Central Limit Theorem

Chapter 7 Study Guide: The Central Limit Theorem Chapter 7 Study Guide: The Central Limit Theorem Introduction Why are we so concerned with means? Two reasons are that they give us a middle ground for comparison and they are easy to calculate. In this

More information

***SECTION 8.1*** The Binomial Distributions

***SECTION 8.1*** The Binomial Distributions ***SECTION 8.1*** The Binomial Distributions CHAPTER 8 ~ The Binomial and Geometric Distributions In practice, we frequently encounter random phenomenon where there are two outcomes of interest. For example,

More information

MATH 264 Problem Homework I

MATH 264 Problem Homework I MATH Problem Homework I Due to December 9, 00@:0 PROBLEMS & SOLUTIONS. A student answers a multiple-choice examination question that offers four possible answers. Suppose that the probability that the

More information

**BEGINNING OF EXAMINATION** A random sample of five observations from a population is:

**BEGINNING OF EXAMINATION** A random sample of five observations from a population is: **BEGINNING OF EXAMINATION** 1. You are given: (i) A random sample of five observations from a population is: 0.2 0.7 0.9 1.1 1.3 (ii) You use the Kolmogorov-Smirnov test for testing the null hypothesis,

More information

Point Estimation. Some General Concepts of Point Estimation. Example. Estimator quality

Point Estimation. Some General Concepts of Point Estimation. Example. Estimator quality Point Estimation Some General Concepts of Point Estimation Statistical inference = conclusions about parameters Parameters == population characteristics A point estimate of a parameter is a value (based

More information

Chapter 8: Binomial and Geometric Distributions

Chapter 8: Binomial and Geometric Distributions Chapter 8: Binomial and Geometric Distributions Section 8.1 Binomial Distributions The Practice of Statistics, 4 th edition For AP* STARNES, YATES, MOORE Section 8.1 Binomial Distribution Learning Objectives

More information

MAS187/AEF258. University of Newcastle upon Tyne

MAS187/AEF258. University of Newcastle upon Tyne MAS187/AEF258 University of Newcastle upon Tyne 2005-6 Contents 1 Collecting and Presenting Data 5 1.1 Introduction...................................... 5 1.1.1 Examples...................................

More information

Chapter 5: Statistical Inference (in General)

Chapter 5: Statistical Inference (in General) Chapter 5: Statistical Inference (in General) Shiwen Shen University of South Carolina 2016 Fall Section 003 1 / 17 Motivation In chapter 3, we learn the discrete probability distributions, including Bernoulli,

More information

The Binomial Distribution

The Binomial Distribution The Binomial Distribution January 31, 2018 Contents The Binomial Distribution The Normal Approximation to the Binomial The Binomial Hypothesis Test Computing Binomial Probabilities in R 30 Problems The

More information

Chapter 6: Random Variables

Chapter 6: Random Variables Chapter 6: Random Variables Section 6.3 The Practice of Statistics, 4 th edition For AP* STARNES, YATES, MOORE Chapter 6 Random Variables 6.1 Discrete and Continuous Random Variables 6.2 Transforming and

More information

4.2 Probability Distributions

4.2 Probability Distributions 4.2 Probability Distributions Definition. A random variable is a variable whose value is a numerical outcome of a random phenomenon. The probability distribution of a random variable tells us what the

More information

A random variable (r. v.) is a variable whose value is a numerical outcome of a random phenomenon.

A random variable (r. v.) is a variable whose value is a numerical outcome of a random phenomenon. Chapter 14: random variables p394 A random variable (r. v.) is a variable whose value is a numerical outcome of a random phenomenon. Consider the experiment of tossing a coin. Define a random variable

More information

The Binomial and Geometric Distributions. Chapter 8

The Binomial and Geometric Distributions. Chapter 8 The Binomial and Geometric Distributions Chapter 8 8.1 The Binomial Distribution A binomial experiment is statistical experiment that has the following properties: The experiment consists of n repeated

More information

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

chapter 13: Binomial Distribution Exercises (binomial)13.6, 13.12, 13.22, 13.43 chapter 13: Binomial Distribution ch13-links binom-tossing-4-coins binom-coin-example ch13 image Exercises (binomial)13.6, 13.12, 13.22, 13.43 CHAPTER 13: Binomial Distributions The Basic Practice of Statistics

More information

CH 5 Normal Probability Distributions Properties of the Normal Distribution

CH 5 Normal Probability Distributions Properties of the Normal Distribution Properties of the Normal Distribution Example A friend that is always late. Let X represent the amount of minutes that pass from the moment you are suppose to meet your friend until the moment your friend

More information

Probability Distributions II

Probability Distributions II Probability Distributions II Summer 2017 Summer Institutes 63 Multinomial Distribution - Motivation Suppose we modified assumption (1) of the binomial distribution to allow for more than two outcomes.

More information

Unit 5: Sampling Distributions of Statistics

Unit 5: Sampling Distributions of Statistics Unit 5: Sampling Distributions of Statistics Statistics 571: Statistical Methods Ramón V. León 6/12/2004 Unit 5 - Stat 571 - Ramon V. Leon 1 Definitions and Key Concepts A sample statistic used to estimate

More information

Describing Uncertain Variables

Describing Uncertain Variables Describing Uncertain Variables L7 Uncertainty in Variables Uncertainty in concepts and models Uncertainty in variables Lack of precision Lack of knowledge Variability in space/time Describing Uncertainty

More information

Unit 5: Sampling Distributions of Statistics

Unit 5: Sampling Distributions of Statistics Unit 5: Sampling Distributions of Statistics Statistics 571: Statistical Methods Ramón V. León 6/12/2004 Unit 5 - Stat 571 - Ramon V. Leon 1 Definitions and Key Concepts A sample statistic used to estimate

More information

The Binomial Distribution

The Binomial Distribution The Binomial Distribution January 31, 2019 Contents The Binomial Distribution The Normal Approximation to the Binomial The Binomial Hypothesis Test Computing Binomial Probabilities in R 30 Problems The

More information

Data Analysis and Statistical Methods Statistics 651

Data Analysis and Statistical Methods Statistics 651 Review of previous lecture: Why confidence intervals? Data Analysis and Statistical Methods Statistics 651 http://www.stat.tamu.edu/~suhasini/teaching.html Suhasini Subba Rao Suppose you want to know the

More information

Chapter 4 Random Variables & Probability. Chapter 4.5, 6, 8 Probability Distributions for Continuous Random Variables

Chapter 4 Random Variables & Probability. Chapter 4.5, 6, 8 Probability Distributions for Continuous Random Variables Chapter 4.5, 6, 8 Probability for Continuous Random Variables Discrete vs. continuous random variables Examples of continuous distributions o Uniform o Exponential o Normal Recall: A random variable =

More information

STAT 241/251 - Chapter 7: Central Limit Theorem

STAT 241/251 - Chapter 7: Central Limit Theorem STAT 241/251 - Chapter 7: Central Limit Theorem In this chapter we will introduce the most important theorem in statistics; the central limit theorem. What have we seen so far? First, we saw that for an

More information

When we look at a random variable, such as Y, one of the first things we want to know, is what is it s distribution?

When we look at a random variable, such as Y, one of the first things we want to know, is what is it s distribution? Distributions 1. What are distributions? When we look at a random variable, such as Y, one of the first things we want to know, is what is it s distribution? In other words, if we have a large number of

More information