4. Basic distributions with R
|
|
- Emil Dalton
- 5 years ago
- Views:
Transcription
1 4. Basic distributions with R CA200 (based on the book by Prof. Jane M. Horgan) 1
2 Discrete distributions: Binomial distribution Def: Conditions: 1. An experiment consists of n repeated trials 2. Each trial has two possible outcomes a) a success with probability p is constant from trial to trial b) a failure with probability q = 1 p 3. Repeated trials are independent X = number of successes in n trials. X is a BINOMIAL RANDOM VARIABLE. The probability of getting exactly x successes in n trials is: In R use function: prefix binom with prefix d for pdf, p for cdf. Function are dbinom(x, n, p) pbinom(x, n, p) 2
3 Binomial distribution cont. Example 1. Terminals on an on-line computer system are attached to a communication line to the central computer system. The probability that any terminal is ready to transmit is p = 0.95 Let X = number of ready terminals Example 2. A fair coin is tossed 10 times. Success and failure are heads and tails, respectively, each with probability, 0.5. Lets denote: X = number of heads (successes) obtained Example 3. It is known that 20% of integrated circuit chips on a production line are defective. To maintain and monitor the quality of the chips, a sample of 20 chips is selected at regular intervals for inspection. Lets denote: X = number of defectives found in the sample p = 0.20 n = 20 P(X=0) = P(0 defective in a sample of size 20); P(X=1) = P(1 defectives in a sample of size 20) P(X=2) = P(2 defectives in a sample of size 20) 3
4 Binomial distribution cont. Example 4. It is known that 1% of bits transmitted through a digital transmission are received in error. One hundred bits are transmitted each day. Lets denote: X = number of bits found in error each day p = 0.01 n = 100 P(X=0) = P(0 errors in the 100 transmission) P(X=1) = P(1 error in the 100 transmission) P(X=2) = P(2 errors in the 100 transmission) 4
5 Binomial distribution cont. Calculating binomial pdfs in R: Use prefix binom with d for pdf. Function is dbinom with arguments n and p. Example 1: For all cumulative probabilities: x <- 0:5 dbinom(x, size = 5, prob = 0.95) [1] The probability of getting exactly 3 ready terminals from five: dbinom(x = 3, size =5, prob =.95) [1] Example 2: with round function for 4 decimals! x <- 0:10 round(dbinom(x, 10, 0.5), 4) [1] Example 3: dbinom(x, 20, 0.2) Example 4: dbinom(x, 100, 0.01) 5
6 Binomial distribution cont. Plotting binomial pdfs in R: par(mfrow = c(2, 2)) # multiframe x <- 0:5 #Example 1 plot(x, dbinom(x, size = 5, prob = 0.95), xlab = "Number of Ready Terminals", ylab = "P(X = x)", type = "h", main = "Ready Terminals, n = 5, p = 0.95") x <- 0:10 #Example 2 plot(x, dbinom(x, size = 10, prob = 0.5), xlab = "Number of Heads", ylab = "P(X = x)", type = "h", main = "Heads, n = 10, p = 0.5") x <- 0:20 #Example 3 plot(x, dbinom(x, size = 20, prob = 0.2), xlab = "Number of Defectives", ylab = "P(X = x)", type = "h", main = "Defectives, n = 20, p = 0.2") x <- 0:20 #Example 4. No need for full range here plot(x, dbinom(x, size = 100, prob = 0.01), xlab = "Number of Bits in Error", ylab = "P(X = x)", type = "h", main = "Bits in Error, n = 100, p = 0.01") 6
7 Binomial distribution cont. Binomial pdfs 7
8 Binomial distribution cont. Calculating binomial cdfs in R: Use prefix binom with p for cdf. Function is pbinom with arguments n and p. Example 1: n = 5, p = 0.95 P(X 3): pbinom(3, 5, 0.95) #[1] P(X > 3): 1 - pbinom(3, 5, 0.95) #[1] Example 3: n = 20, p = 0.02 P(X 4): pbinom (4, size = 20, prob = 0.2) #[1] P(X > 4) = 1 - P(X 4 ): 1- pbinom(4, size = 20, prob = 0.2) #[1] For all cumulative probabilities x <- 0:20 prob <- pbinom(x, size = 20, prob= 0.2) round to 4 decimal places: round(prob, 4) # [1]
9 Binomial distribution cont. Plotting binomial cdfs in R: par(mfrow = c(2,2)) #multiframe x<-0:5 plot(x, pbinom(x, size = 5, prob = 0.95), xlab = "Number of Ready Terminals", ylab = "P(X <= x)", ylim = c(0, 1), type = "s", main = "n = 5, p = 0.95") x<-0:10 plot(x, pbinom(x, size = 10, prob = 0.5), xlab = "Number of Heads", ylab = "P(X< = x)", ylim = c(0, 1), type = "s", main= "n = 10, p = 0.5") x<-0:20 plot(x, pbinom(x, size = 20, prob = 0.2), xlab = "Number of Defectives", ylab = "P(X <= x)", ylim = c(0, 1), type = "s", main = "n = 20, p = 0.2") x<-0:100 plot(x, pbinom(x, size = 100, prob = 0.01), xlab = "Number of Error Bits", ylab = "P(X <= x)", ylim = c(0, 1), type = "s", main = "n = 100, p = 0.01") 9
10 Binomial distribution cont. Binomial cdf 10
11 Normal distribution continuous distribution in practice, measures tend to cluster around a central values the largest proportion of measurement occurring near central value and decreasing as the measurements extend at either side of this central value bell-shaped curve symmetrical about the central value is called normal distribution 17
12 Normal distribution cont. Example 5. Heights of females and males. We can accept that: - on average, males are taller than females but maybe spread around their respective averages could be the same - most of female and male heights cluster around the same average - the heights of females and males might be modelled by normal distribution: Height of females and males: X ~ N(1.65, 0.25) X ~ N(1.85, 0.25) bell-shaped curves centred at different points variation at either side of central points is the same Two normal distributions with different mean and the same spread 18
13 Normal distribution cont. Example 6. Arises in product manufacturing. Components manufactured by two machines are set to a diameter 10 cm. One machine produces components with error 1cm: X ~ N(10, 1) The second machine has an error of 2cm: X ~ N(10, 2) bell-shaped curves centred at the same point, 10cm variation at either side of central points is different one high and narrow, the other low and wide Two normal distributions with the same mean and different standard deviations 19
14 Normal distribution cont. The Probability Density Function for Normal distribution Def: The PDF of a normal (Gaussian) distribution, f(x), is a function defined as: It can be shown that E(X) = µ Var(X) = σ 2 X is said to be normally distributed with a mean of μ and a variance of σ 2 i.e. X ~ N (μ, σ 2 ) Increasing μ moves the distribution along the x-axis (example 1), and increasing σ 2 widens the distribution (example 2) 20
15 Normal distribution cont. Generating Normal Curves To plot a normal curve use the function curve with dnorm as the argument: curve (dnorm(x, 2, 0.25), from = 1, to = 3) # plots a normal curve with a mean of 2 and a standard deviation of 0.25 in the range 1 to 3 curve (dnorm(x, 2, 0.25), from = 1, to = 3, labels = FALSE, tick = FALSE) # to suppress the labels and axis ticks 21
16 f(x) Normal distribution cont. Generating Normal Curves To generate normal curves on same axis use (example 1, example 2) cbind which combines R objects with columns and matplot which plot columns as matrices x <- seq(0.5, 3, len = 101) #101 equidistant values between 0.5 and 3 y <- cbind(dnorm(x, 1.65, 0.25), dnorm(x, 1.85, 0.25)) #two normal curves matplot(x, y, type = "l", xlab = "height(metres)", ylab = "f(x)") #multiple plotting text(1.15, 0.5, "Females") text(2.35, 0.5, "Males") Females Males height(metres)
17 Normal distribution cont. The Cumulative Distribution Function Def: The CDF of normal distribution in R is obtained with pnorm function: P(X x) = pnorm(x, μ, σ) Example 7. From previous records it is known that examination results are normally distributed with mean μ = 45 and the standard deviation σ = 4: X ~ N(45, 16) What percentage of students obtain a mark less than 45; larger than 45; larger than 50; between 40 and 50; greater than 37? 23
18 Using R to obtain normal probabilities 24
19 Conditional Probabilities in Normal distribution X ~ N(100, 16) 25
20 X ~ N(500, 100) 26
21 Example 10. Summary for basic statistics with R: (Based on the Excel file CA200_Questionnaire_Summary which has been previously circulated) a) Read the survey answers into a suitable data frame in R. [It was necessary to save the file, from within Excel, in comma separated (csv) format. But this has already been done for you that is the circulated file is of.csv type] To read the file in R use read.csv. For example, if the file is on the C drive then results<-read.csv( C:/CA200_Questionnaire_Summary.csv, header=t) this will read the data from the file into the data frame called results. As a check that the data have been read correctly, one can see that the command: results$q1 gives results from column Q1 only: [1] NA NA b) Use R to find out how many males and females there are (check the questionnaire for the questions!) For number of females and males use summary function. This will give you all important information: - Hint: First convert categorical variable Q1 into a factor using: results$q1<-factor(results$q1) - Then use summary(results) to find out how many females/males are out there c) Use R to and to separate data for females and for males into two different data sets: Use subset function: m_results<-subset(results, results$q1==1) To check if this is properly entered use function to print results in the work space: m_results #This will filter only data for males - repeat same for separating results for females by using: f_results<-subset(results, results$q1==2) #This will filter only data for females 27
22 Example 10. Summary - cont. d) Identify any other categorical variables (questions) and similarly specify these as factors. Then, repeat the summary(results) command. e) Calculate mean and standard deviation of the salary for summer job for females Q13b: > f_results$q13b [1] NA 240 NA 150 NA NA NA NA 330 > summary(f_results$q13b) Min. 1st Qu. Median Mean 3rd Qu. Max. NA's > mean(f_results$q13b) #don t forget to remove all NAs [1] NA > mean(f_results$q13b, na.rm=t) [1] 230 > sd(f_results$q13b, na.rm=t) [1] f) For question e) use R to calculate skewness and kurtosis: Note: you will have to install additional package which contains these functions. The name of a package is e1071. For installation use: > install.packages( e1071 ) > library("e1071") Loading required package: class Warning message: package 'e1071' was built under R version > skewness(f_results$q13b, na.rm=t) [1] #what can you conclude from this number? > kurtosis(f_results$q13b, na.rm=t) [1] #what can you conclude from this number? 28
23 Example 10. Summary - cont. Note: Categorical data are generally non-numerical data which are placed into exclusive categories and then counted rather than measured. In fact, there are two types of categorical data, namely Nominal: Simple names or labels which cannot be ordered (e.g. car registration number or a PIN number) Ordinal: Can be placed in a meaningful order (though without any measurements). For example, small, medium or large vests. A factor is a vector object used to specify a discrete classification (grouping) of the components. of other vectors of the same length. g) Plot the data from e) in a histogram and compare to Normal curve by e.g. superposition: > m <-mean(f_results$q13b, na.rm=t) > s <-sd(f_results$q13b, na.rm=t) > mn <-min(f_results$q13b, na.rm=t) > mx <-max(f_results$q13b, na.rm=t) > c<-curve(dnorm(x, m, s), from=mn, to=mx) > hist(f_results$q13b, freq=false, xlab= put adequate name, ylab= density, main= put adequate name ) > lines(c) 29
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 informationLecture 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 informationME3620. Theory of Engineering Experimentation. Spring Chapter III. Random Variables and Probability Distributions.
ME3620 Theory of Engineering Experimentation Chapter III. Random Variables and Probability Distributions Chapter III 1 3.2 Random Variables In an experiment, a measurement is usually denoted by a variable
More informationChapter 7 1. Random Variables
Chapter 7 1 Random Variables random variable numerical variable whose value depends on the outcome of a chance experiment - discrete if its possible values are isolated points on a number line - continuous
More informationPackage cbinom. June 10, 2018
Package cbinom June 10, 2018 Type Package Title Continuous Analog of a Binomial Distribution Version 1.1 Date 2018-06-09 Author Dan Dalthorp Maintainer Dan Dalthorp Description Implementation
More informationBinomial Random Variables. Binomial Random Variables
Bernoulli Trials Definition A Bernoulli trial is a random experiment in which there are only two possible outcomes - success and failure. 1 Tossing a coin and considering heads as success and tails as
More informationIntroduction to Business Statistics QM 120 Chapter 6
DEPARTMENT OF QUANTITATIVE METHODS & INFORMATION SYSTEMS Introduction to Business Statistics QM 120 Chapter 6 Spring 2008 Chapter 6: Continuous Probability Distribution 2 When a RV x is discrete, we can
More information8.1 Binomial Distributions
8.1 Binomial Distributions The Binomial Setting The 4 Conditions of a Binomial Setting: 1.Each observation falls into 1 of 2 categories ( success or fail ) 2 2.There is a fixed # n of observations. 3.All
More information4 Random Variables and Distributions
4 Random Variables and Distributions Random variables A random variable assigns each outcome in a sample space. e.g. called a realization of that variable to Note: We ll usually denote a random variable
More informationIt 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 informationNormal Distribution. Notes. Normal Distribution. Standard Normal. Sums of Normal Random Variables. Normal. approximation of Binomial.
Lecture 21,22, 23 Text: A Course in Probability by Weiss 8.5 STAT 225 Introduction to Probability Models March 31, 2014 Standard Sums of Whitney Huang Purdue University 21,22, 23.1 Agenda 1 2 Standard
More informationCHAPTER 8 PROBABILITY DISTRIBUTIONS AND STATISTICS
CHAPTER 8 PROBABILITY DISTRIBUTIONS AND STATISTICS 8.1 Distribution of Random Variables Random Variable Probability Distribution of Random Variables 8.2 Expected Value Mean Mean is the average value of
More informationWeek 1 Variables: Exploration, Familiarisation and Description. Descriptive Statistics.
Week 1 Variables: Exploration, Familiarisation and Description. Descriptive Statistics. Convergent validity: the degree to which results/evidence from different tests/sources, converge on the same conclusion.
More informationMAS1403. Quantitative Methods for Business Management. Semester 1, Module leader: Dr. David Walshaw
MAS1403 Quantitative Methods for Business Management Semester 1, 2018 2019 Module leader: Dr. David Walshaw Additional lecturers: Dr. James Waldren and Dr. Stuart Hall Announcements: Written assignment
More informationLecture 8. The Binomial Distribution. Binomial Distribution. Binomial Distribution. Probability Distributions: Normal and Binomial
Lecture 8 The Binomial Distribution Probability Distributions: Normal and Binomial 1 2 Binomial Distribution >A binomial experiment possesses the following properties. The experiment consists of a fixed
More informationStatistics 6 th Edition
Statistics 6 th Edition Chapter 5 Discrete Probability Distributions Chap 5-1 Definitions Random Variables Random Variables Discrete Random Variable Continuous Random Variable Ch. 5 Ch. 6 Chap 5-2 Discrete
More informationHomework: Due Wed, Nov 3 rd Chapter 8, # 48a, 55c and 56 (count as 1), 67a
Homework: Due Wed, Nov 3 rd Chapter 8, # 48a, 55c and 56 (count as 1), 67a Announcements: There are some office hour changes for Nov 5, 8, 9 on website Week 5 quiz begins after class today and ends at
More informationLecture 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 informationECON 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 informationLecture 23. STAT 225 Introduction to Probability Models April 4, Whitney Huang Purdue University. Normal approximation to Binomial
Lecture 23 STAT 225 Introduction to Probability Models April 4, 2014 approximation Whitney Huang Purdue University 23.1 Agenda 1 approximation 2 approximation 23.2 Characteristics of the random variable:
More informationA 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 informationSTAT Chapter 5: Continuous Distributions. Probability distributions are used a bit differently for continuous r.v. s than for discrete r.v. s.
STAT 515 -- Chapter 5: Continuous Distributions Probability distributions are used a bit differently for continuous r.v. s than for discrete r.v. s. Continuous distributions typically are represented by
More information2011 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 informationTheoretical Foundations
Theoretical Foundations Probabilities Monia Ranalli monia.ranalli@uniroma2.it Ranalli M. Theoretical Foundations - Probabilities 1 / 27 Objectives understand the probability basics quantify random phenomena
More informationStatistical Methods in Practice STAT/MATH 3379
Statistical Methods in Practice STAT/MATH 3379 Dr. A. B. W. Manage Associate Professor of Mathematics & Statistics Department of Mathematics & Statistics Sam Houston State University Overview 6.1 Discrete
More information1 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 informationBinomial and Normal Distributions
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.
More informationReview. 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 informationBusiness Statistics 41000: Probability 3
Business Statistics 41000: Probability 3 Drew D. Creal University of Chicago, Booth School of Business February 7 and 8, 2014 1 Class information Drew D. Creal Email: dcreal@chicagobooth.edu Office: 404
More information4.2 Bernoulli Trials and Binomial Distributions
Arkansas Tech University MATH 3513: Applied Statistics I Dr. Marcel B. Finan 4.2 Bernoulli Trials and Binomial Distributions A Bernoulli trial 1 is an experiment with exactly two outcomes: Success and
More informationLAB 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 informationStatistics/BioSci 141, Fall 2006 Lab 2: Probability and Probability Distributions October 13, 2006
Statistics/BioSci 141, Fall 2006 Lab 2: Probability and Probability Distributions October 13, 2006 1 Using random samples to estimate a probability Suppose that you are stuck on the following problem:
More informationHomework: 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 information5.2 Random Variables, Probability Histograms and Probability Distributions
Chapter 5 5.2 Random Variables, Probability Histograms and Probability Distributions A random variable (r.v.) can be either continuous or discrete. It takes on the possible values of an experiment. It
More informationNormal distribution. We say that a random variable X follows the normal distribution if the probability density function of X is given by
Normal distribution The normal distribution is the most important distribution. It describes well the distribution of random variables that arise in practice, such as the heights or weights of people,
More informationSTA 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 informationPROBABILITY DISTRIBUTIONS
CHAPTER 3 PROBABILITY DISTRIBUTIONS Page Contents 3.1 Introduction to Probability Distributions 51 3.2 The Normal Distribution 56 3.3 The Binomial Distribution 60 3.4 The Poisson Distribution 64 Exercise
More informationWeek 7. Texas A& M University. Department of Mathematics Texas A& M University, College Station Section 3.2, 3.3 and 3.4
Week 7 Oğuz Gezmiş Texas A& M University Department of Mathematics Texas A& M University, College Station Section 3.2, 3.3 and 3.4 Oğuz Gezmiş (TAMU) Topics in Contemporary Mathematics II Week7 1 / 19
More informationMATH 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 informationSection 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 informationThe normal distribution is a theoretical model derived mathematically and not empirically.
Sociology 541 The Normal Distribution Probability and An Introduction to Inferential Statistics Normal Approximation The normal distribution is a theoretical model derived mathematically and not empirically.
More informationChapter 6 Continuous Probability Distributions. Learning objectives
Chapter 6 Continuous s Slide 1 Learning objectives 1. Understand continuous probability distributions 2. Understand Uniform distribution 3. Understand Normal distribution 3.1. Understand Standard normal
More informationStatistics & Flood Frequency Chapter 3. Dr. Philip B. Bedient
Statistics & Flood Frequency Chapter 3 Dr. Philip B. Bedient Predicting FLOODS Flood Frequency Analysis n Statistical Methods to evaluate probability exceeding a particular outcome - P (X >20,000 cfs)
More informationStatistics 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 informationFundamentals of Statistics
CHAPTER 4 Fundamentals of Statistics Expected Outcomes Know the difference between a variable and an attribute. Perform mathematical calculations to the correct number of significant figures. Construct
More informationStatistics 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 informationThe 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 informationMath 227 Elementary Statistics. Bluman 5 th edition
Math 227 Elementary Statistics Bluman 5 th edition CHAPTER 6 The Normal Distribution 2 Objectives Identify distributions as symmetrical or skewed. Identify the properties of the normal distribution. Find
More information5.1 Personal Probability
5. Probability Value Page 1 5.1 Personal Probability Although we think probability is something that is confined to math class, in the form of personal probability it is something we use to make decisions
More informationA.REPRESENTATION OF DATA
A.REPRESENTATION OF DATA (a) GRAPHS : PART I Q: Why do we need a graph paper? Ans: You need graph paper to draw: (i) Histogram (ii) Cumulative Frequency Curve (iii) Frequency Polygon (iv) Box-and-Whisker
More informationLecture Data Science
Web Science & Technologies University of Koblenz Landau, Germany Lecture Data Science Statistics Foundations JProf. Dr. Claudia Wagner Learning Goals How to describe sample data? What is mode/median/mean?
More information6. THE BINOMIAL DISTRIBUTION
6. THE BINOMIAL DISTRIBUTION Eg: For 1000 borrowers in the lowest risk category (FICO score between 800 and 850), what is the probability that at least 250 of them will default on their loan (thereby rendering
More informationNormal distribution Approximating binomial distribution by normal 2.10 Central Limit Theorem
1.1.2 Normal distribution 1.1.3 Approimating binomial distribution by normal 2.1 Central Limit Theorem Prof. Tesler Math 283 Fall 216 Prof. Tesler 1.1.2-3, 2.1 Normal distribution Math 283 / Fall 216 1
More informationChapter 7: Random Variables
Chapter 7: Random Variables 7.1 Discrete and Continuous Random Variables 7.2 Means and Variances of Random Variables 1 Introduction A random variable is a function that associates a unique numerical value
More informationStatistics (This summary is for chapters 17, 28, 29 and section G of chapter 19)
Statistics (This summary is for chapters 17, 28, 29 and section G of chapter 19) Mean, Median, Mode Mode: most common value Median: middle value (when the values are in order) Mean = total how many = x
More informationChapter 8. Variables. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc.
Chapter 8 Random Variables Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 8.1 What is a Random Variable? Random Variable: assigns a number to each outcome of a random circumstance, or,
More informationStatistics 511 Supplemental Materials
Gaussian (or Normal) Random Variable In this section we introduce the Gaussian Random Variable, which is more commonly referred to as the Normal Random Variable. This is a random variable that has a bellshaped
More informationSTAT Chapter 5: Continuous Distributions. Probability distributions are used a bit differently for continuous r.v. s than for discrete r.v. s.
STAT 515 -- Chapter 5: Continuous Distributions Probability distributions are used a bit differently for continuous r.v. s than for discrete r.v. s. Continuous distributions typically are represented by
More informationIntroduction to Statistics I
Introduction to Statistics I Keio University, Faculty of Economics Continuous random variables Simon Clinet (Keio University) Intro to Stats November 1, 2018 1 / 18 Definition (Continuous random variable)
More informationECON 214 Elements of Statistics for Economists
ECON 214 Elements of Statistics for Economists Session 7 The Normal Distribution Part 1 Lecturer: Dr. Bernardin Senadza, Dept. of Economics Contact Information: bsenadza@ug.edu.gh College of Education
More informationData Analysis and Statistical Methods Statistics 651
Data Analysis and Statistical Methods Statistics 651 http://www.stat.tamu.edu/~suhasini/teaching.html Suhasini Subba Rao The binomial: mean and variance Recall that the number of successes out of n, denoted
More informationStatistics, Measures of Central Tendency I
Statistics, Measures of Central Tendency I We are considering a random variable X with a probability distribution which has some parameters. We want to get an idea what these parameters are. We perfom
More informationStatistics for Managers Using Microsoft Excel 7 th Edition
Statistics for Managers Using Microsoft Excel 7 th Edition Chapter 5 Discrete Probability Distributions Statistics for Managers Using Microsoft Excel 7e Copyright 014 Pearson Education, Inc. Chap 5-1 Learning
More informationThe graph of a normal curve is symmetric with respect to the line x = µ, and has points of
Stat 400, section 4.3 Normal Random Variables notes prepared by Tim Pilachowski Another often-useful probability density function is the normal density function, which graphs as the familiar bell-shaped
More informationSTAT 157 HW1 Solutions
STAT 157 HW1 Solutions http://www.stat.ucla.edu/~dinov/courses_students.dir/10/spring/stats157.dir/ Problem 1. 1.a: (6 points) Determine the Relative Frequency and the Cumulative Relative Frequency (fill
More informationExample - Let X be the number of boys in a 4 child family. Find the probability distribution table:
Chapter8 Probability Distributions and Statistics Section 8.1 Distributions of Random Variables tthe value of the result of the probability experiment is a RANDOM VARIABLE. Example - Let X be the number
More informationx is a random variable which is a numerical description of the outcome of an experiment.
Chapter 5 Discrete Probability Distributions Random Variables is a random variable which is a numerical description of the outcome of an eperiment. Discrete: If the possible values change by steps or jumps.
More informationA continuous random variable is one that can theoretically take on any value on some line interval. We use f ( x)
Section 6-2 I. Continuous Probability Distributions A continuous random variable is one that can theoretically take on any value on some line interval. We use f ( x) to represent a probability density
More informationChapter 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 informationCommonly 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 informationBiostatistics 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 informationChapter 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 informationStatistical 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 informationMAS187/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 informationMAKING SENSE OF DATA Essentials series
MAKING SENSE OF DATA Essentials series THE NORMAL DISTRIBUTION Copyright by City of Bradford MDC Prerequisites Descriptive statistics Charts and graphs The normal distribution Surveys and sampling Correlation
More informationCounting Basics. Venn diagrams
Counting Basics Sets Ways of specifying sets Union and intersection Universal set and complements Empty set and disjoint sets Venn diagrams Counting Inclusion-exclusion Multiplication principle Addition
More informationA 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 informationMA : Introductory Probability
MA 320-001: Introductory Probability David Murrugarra Department of Mathematics, University of Kentucky http://www.math.uky.edu/~dmu228/ma320/ Spring 2017 David Murrugarra (University of Kentucky) MA 320:
More informationUniform Probability Distribution. Continuous Random Variables &
Continuous Random Variables & What is a Random Variable? It is a quantity whose values are real numbers and are determined by the number of desired outcomes of an experiment. Is there any special Random
More informationRandom Variables CHAPTER 6.3 BINOMIAL AND GEOMETRIC RANDOM VARIABLES
Random Variables CHAPTER 6.3 BINOMIAL AND GEOMETRIC RANDOM VARIABLES Essential Question How can I determine whether the conditions for using binomial random variables are met? Binomial Settings When the
More informationAssignment 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 informationA 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 informationExample - Let X be the number of boys in a 4 child family. Find the probability distribution table:
Chapter7 Probability Distributions and Statistics Distributions of Random Variables tthe value of the result of the probability experiment is a RANDOM VARIABLE. Example - Let X be the number of boys in
More informationRandom Variable: Definition
Random Variables Random Variable: Definition A Random Variable is a numerical description of the outcome of an experiment Experiment Roll a die 10 times Inspect a shipment of 100 parts Open a gas station
More informationDescriptive Statistics
Chapter 3 Descriptive Statistics Chapter 2 presented graphical techniques for organizing and displaying data. Even though such graphical techniques allow the researcher to make some general observations
More informationUniversity of California, Los Angeles Department of Statistics. Normal distribution
University of California, Los Angeles Department of Statistics Statistics 110A Instructor: Nicolas Christou Normal distribution The normal distribution is the most important distribution. It describes
More informationChapter ! Bell Shaped
Chapter 6 6-1 Business Statistics: A First Course 5 th Edition Chapter 7 Continuous Probability Distributions Learning Objectives In this chapter, you learn:! To compute probabilities from the normal distribution!
More informationExamples: Random Variables. Discrete and Continuous Random Variables. Probability Distributions
Random Variables Examples: Random variable a variable (typically represented by x) that takes a numerical value by chance. Number of boys in a randomly selected family with three children. Possible values:
More informationChapter 6: Random Variables. Ch. 6-3: Binomial and Geometric Random Variables
Chapter : Random Variables Ch. -3: Binomial and Geometric Random Variables X 0 2 3 4 5 7 8 9 0 0 P(X) 3???????? 4 4 When the same chance process is repeated several times, we are often interested in whether
More informationDiscrete Random Variables and Probability Distributions
Chapter 4 Discrete Random Variables and Probability Distributions 4.1 Random Variables A quantity resulting from an experiment that, by chance, can assume different values. A random variable is a variable
More information5.4 Normal Approximation of the Binomial Distribution
5.4 Normal Approximation of the Binomial Distribution Bernoulli Trials have 3 properties: 1. Only two outcomes - PASS or FAIL 2. n identical trials Review from yesterday. 3. Trials are independent - probability
More informationBoth the quizzes and exams are closed book. However, For quizzes: Formulas will be provided with quiz papers if there is any need.
Both the quizzes and exams are closed book. However, For quizzes: Formulas will be provided with quiz papers if there is any need. For exams (MD1, MD2, and Final): You may bring one 8.5 by 11 sheet of
More information(# 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 informationSTA258H5. 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 informationThe Normal Distribution
5.1 Introduction to Normal Distributions and the Standard Normal Distribution Section Learning objectives: 1. How to interpret graphs of normal probability distributions 2. How to find areas under the
More informationEcon 6900: Statistical Problems. Instructor: Yogesh Uppal
Econ 6900: Statistical Problems Instructor: Yogesh Uppal Email: yuppal@ysu.edu Lecture Slides 4 Random Variables Probability Distributions Discrete Distributions Discrete Uniform Probability Distribution
More information4.3 Normal distribution
43 Normal distribution Prof Tesler Math 186 Winter 216 Prof Tesler 43 Normal distribution Math 186 / Winter 216 1 / 4 Normal distribution aka Bell curve and Gaussian distribution The normal distribution
More informationTopic 6 - Continuous Distributions I. Discrete RVs. Probability Density. Continuous RVs. Background Reading. Recall the discrete distributions
Topic 6 - Continuous Distributions I Discrete RVs Recall the discrete distributions STAT 511 Professor Bruce Craig Binomial - X= number of successes (x =, 1,...,n) Geometric - X= number of trials (x =,...)
More informationLecture 3: Probability Distributions (cont d)
EAS31116/B9036: Statistics in Earth & Atmospheric Sciences Lecture 3: Probability Distributions (cont d) Instructor: Prof. Johnny Luo www.sci.ccny.cuny.edu/~luo Dates Topic Reading (Based on the 2 nd Edition
More informationSTATISTICAL 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