Lecture 2. The Binomial Distribution

Slides:



Advertisements
Similar presentations
Probability Distribution
Advertisements

Chapter 12 Probability © 2008 Pearson Addison-Wesley. All rights reserved.
Week11 Parameter, Statistic and Random Samples A parameter is a number that describes the population. It is a fixed number, but in practice we do not know.
Sections 7-1 and 7-2 Review and Preview and Estimating a Population Proportion.
Sampling: Final and Initial Sample Size Determination
POINT ESTIMATION AND INTERVAL ESTIMATION
Evaluation (practice). 2 Predicting performance  Assume the estimated error rate is 25%. How close is this to the true error rate?  Depends on the amount.
LARGE SAMPLE TESTS ON PROPORTIONS
PSYC512: Research Methods PSYC512: Research Methods Lecture 19 Brian P. Dyre University of Idaho.
Chapter Topics Confidence Interval Estimation for the Mean (s Known)
Probability Distributions Random Variables: Finite and Continuous Distribution Functions Expected value April 3 – 10, 2003.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Statistical inference Population - collection of all subjects or objects of interest (not necessarily people) Sample - subset of the population used to.
Normal and Sampling Distributions A normal distribution is uniquely determined by its mean, , and variance,  2 The random variable Z = (X-  /  is.
Standard error of estimate & Confidence interval.
One Sample  M ean μ, Variance σ 2, Proportion π Two Samples  M eans, Variances, Proportions μ1 vs. μ2 σ12 vs. σ22 π1 vs. π Multiple.
Chapter 7 Estimation: Single Population
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.2 Estimating Differences.
1 If we can reduce our desire, then all worries that bother us will disappear.
Business and Finance College Principles of Statistics Eng. Heba Hamad 2008.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Review and Preview This chapter combines the methods of descriptive statistics presented in.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
© 2003 Prentice-Hall, Inc.Chap 6-1 Business Statistics: A First Course (3 rd Edition) Chapter 6 Sampling Distributions and Confidence Interval Estimation.
Population All members of a set which have a given characteristic. Population Data Data associated with a certain population. Population Parameter A measure.
Testing means, part II The paired t-test. Outline of lecture Options in statistics –sometimes there is more than one option One-sample t-test: review.
Random Variables. A random variable X is a real valued function defined on the sample space, X : S  R. The set { s  S : X ( s )  [ a, b ] is an event}.
Estimating a Population Proportion
Bernoulli Trials Two Possible Outcomes –Success, with probability p –Failure, with probability q = 1  p Trials are independent.
Binomial Experiment A binomial experiment (also known as a Bernoulli trial) is a statistical experiment that has the following properties:
COMP 170 L2 L17: Random Variables and Expectation Page 1.
King Saud University Women Students
Lecture 2 Review Probabilities Probability Distributions Normal probability distributions Sampling distributions and estimation.
Chapter 7 Sampling and Sampling Distributions ©. Simple Random Sample simple random sample Suppose that we want to select a sample of n objects from a.
Sections 7-1 and 7-2 Review and Preview and Estimating a Population Proportion.
By Satyadhar Joshi. Content  Probability Spaces  Bernoulli's Trial  Random Variables a. Expectation variance and standard deviation b. The Normal Distribution.
Probability Distributions, Discrete Random Variables
Probability Theory Modelling random phenomena. Permutations the number of ways that you can order n objects is: n! = n(n-1)(n-2)(n-3)…(3)(2)(1) Definition:
8.1 Estimating µ with large samples Large sample: n > 30 Error of estimate – the magnitude of the difference between the point estimate and the true parameter.
Chapter 8 Estimation ©. Estimator and Estimate estimator estimate An estimator of a population parameter is a random variable that depends on the sample.
1 STAT 500 – Statistics for Managers STAT 500 Statistics for Managers.
Evaluating Hypotheses. Outline Empirically evaluating the accuracy of hypotheses is fundamental to machine learning – How well does this estimate its.
Random Variables Lecture Lecturer : FATEN AL-HUSSAIN.
1. 2 At the end of the lesson, students will be able to (c)Understand the Binomial distribution B(n,p) (d) find the mean and variance of Binomial distribution.
Evaluating Hypotheses. Outline Empirically evaluating the accuracy of hypotheses is fundamental to machine learning – How well does this estimate accuracy.
Statistics for Business and Economics 7 th Edition Chapter 7 Estimation: Single Population Copyright © 2010 Pearson Education, Inc. Publishing as Prentice.
Theoretical distributions: the other distributions.
Sampling and Sampling Distributions
Chapter 6 Confidence Intervals.
Chapter 6 Confidence Intervals.
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
Chapter 6 Confidence Intervals.
Virtual University of Pakistan
Lecture 6 Comparing Proportions (II)
Daniela Stan Raicu School of CTI, DePaul University
SA3202 Statistical Methods for Social Sciences
Econometric Models The most basic econometric model consists of a relationship between two variables which is disturbed by a random error. We need to use.
Lecture 5, Goodness of Fit Test
Chapter 6 Confidence Intervals.
Chapter 6 Confidence Intervals.
Section 3: Estimating p in a binomial distribution
Data Analysis and Statistical Software I ( ) Quarter: Autumn 02/03
Categorical Data Analysis
Lecture 3. The Multinomial Distribution
CHAPTER 6 Statistical Inference & Hypothesis Testing
Confidence Intervals.
Bernoulli Trials Two Possible Outcomes Trials are independent.
Lecture Slides Elementary Statistics Twelfth Edition
Chapter 7 Estimation: Single Population
Daniela Stan Raicu School of CTI, DePaul University
Applied Statistical and Optimization Models
Presentation transcript:

Lecture 2. The Binomial Distribution Outlines for Today The Equi-probability Model The Binomial Distribution 11/17/2018 SA3202, Lecture 2

The Equi-probability Model: the model postulating “all the categories are equally likely”. For the Random Number Data, Question of Interest: Are the “Random Digits” generated by the calculator genuinely random? This is equivalent to test if the digits follow an equi-probability model. Number of possible digits: Expected frequency for a digit: Observed frequency for a digit: 7 8 8 15 13 11 12 8 5 13 (E-O)^2/E: .9 .4 .4 2.5 .9 .1 .4 .4 2.5 .9 9.4 2*O*log(O/E): 9.6436 df of the Pearson’s goodness of fit test statistic: df of the Wilk’s likelihood ratio test statistic: Table values: Conclusions: 11/17/2018 SA3202, Lecture 2

The Binomial Distribution The binomial distribution is an important distribution in categorical data analysis. Bernoulli Trial: a trial with two different outcomes: “success”(S) and “failure”(F) e.g. Let p be the probability of the event “success”. Denote X be a random variable which takes value 1 when the Bernoulli trial is “success”, and 0 when “failure”. That is, P(X=1)=P(“S”)=p, P(X=0)=P(“F”)=1-p=q. X is called the Bernoulli variable, denoted as X~ Binom(1,p). 11/17/2018 SA3202, Lecture 2

The Binomial Distribution Binomial R.V. the sum of several Beroulli random variables X1,X2,…Xn, i.e. S=X1+X2+…+Xn~Binom(n,p) with index n and parameter p. A Beroulli r.v. is a special binomial r.v. with index 1 and parameter p. Binomial Distribution the distribution of a binomial r.v. : P(X=k)=P( k “success” in n Bernoulli trials)= where q=1-p and is the binomial coefficients. 11/17/2018 SA3202, Lecture 2

The Binomial Distribution Example 1: Assume there are about 5% of the students in NUS who are smokers. Let X be 1 if a student is smoker and 0 otherwise. Then X~Binom( ). Let Y be the number of smokers in a class which has 50 students. Then Y~Binom( ). Example 2: Assume there are about 35% of the Singaporean who have visited US. Let X be 1 if a Singaporean who has visited US and 0 otherwise. Then X~Binom( ). Let Y be the number of Singaporean in a community which has 2000 Singaporean. Then Y~Binom( ). The Dual Interpretation of p: (a). The “population proportion” that possesses some property (b). The “probability” that a member chosen at random possesses some property 11/17/2018 SA3202, Lecture 2

The Binomial Distribution Expectation and Variance of X~Binom(n,p) E(X)=np, Var(X)=npq Interpretation of the mean E(X)=np The Expected Frequency= # of Repeats x Probability The Expected Frequency = Sample Size x Population Proportion e.g. When a fair coin is tossed 100 times, the expected # of times that a “head” appears is e.g. If the failure proportion is 5% for a course, then it is expected that there are students in the class who has 100 students have failed the course. 11/17/2018 SA3202, Lecture 2

The Binomial Distribution Asymptotic Normality X~Binom(n,p) X~AN(np,npq) provided p is not very close to 0 or 1. 11/17/2018 SA3202, Lecture 2

The Binomial Distribution Estimation of p Given X~Binom(n,p), it is natural to estimate p by the sample proportion p=X/n. Expectation and Variance of the sample Proportion E( )=p, Var( )=pq/n The Estimated Variance and the Standard Deviation (s.e.) of p^: Var( )=p q/n, s.e.( )=(p q/n)^(1/2). 11/17/2018 SA3202, Lecture 2

The Binomial Distribution Asymptotic Normality of the sample Proportion ~ AN(p, pq/n) Confidence Interval: an interval that contains a true parameter with a given confidence level. the estimate table value x s.e. (the estimate) The table value is determined by the distribution of the estimate and the given confidence level. 11/17/2018 SA3202, Lecture 2

The Binomial Distribution The Approximation CI for p : Example In a sample of 200 students, 120 are in favor of a particular proposal. Then The estimated proportion= The estimated s.e. = The CI of 95% is 11/17/2018 SA3202, Lecture 2