Part One Exploratory Data Analysis Probability Distributions

Total Page:16

File Type:pdf, Size:1020Kb

Part One Exploratory Data Analysis Probability Distributions Part One Exploratory Data Analysis Probability Distributions Charles A. Rohde Fall 2001 Contents 1 Numeracy and Exploratory Data Analysis 1 1.1 Numeracy . 1 1.1.1 Numeracy . 1 1.2 Discrete Data . 3 1.3 Stem and leaf displays . 6 1.4 Letter Values . 9 1.5 Five Point Summaries and Box Plots . 12 1.6 EDA Example . 14 1.7 Other Summaries . 21 1.7.1 Classical Summaries . 22 1.8 Transformations for Symmetry . 23 1.9 Bar Plots and Histograms . 27 1.9.1 Bar Plots . 27 1.9.2 Histograms . 27 1.9.3 Frequency Polygons . 30 1.10 Sample Distribution Functions . 32 1.11 Smoothing . 34 i ii CONTENTS 1.11.1 Smoothing Example . 36 1.12 Shapes of Batches . 42 1.13 References . 43 2 Probability 47 2.1 Mathematical Preliminaries . 47 2.1.1 Sets . 47 2.1.2 Counting . 52 2.2 Relating Probability to Responses and Populations . 54 2.3 Probability and Odds - Basic De¯nitions . 56 2.3.1 Probability . 56 2.3.2 Properties of Probability . 57 2.3.3 Methods for Obtaining Probability Models . 58 2.3.4 Odds . 61 2.4 Interpretations of Probability . 64 2.4.1 Equally Likely Interpretation . 64 2.4.2 Relative Frequency Interpretation . 65 2.4.3 Subjective Probability Interpretation . 65 2.4.4 Does it Matter? . 66 2.5 Conditional Probability . 67 2.5.1 Multiplication Rule . 69 2.5.2 Law of Total Probability . 71 2.6 Bayes Theorem . 75 2.7 Independence . 80 2.8 Bernoulli trial models; the binomial distribution . 81 CONTENTS iii 2.9 Parameters and Random Sampling . 83 2.10 Probability Examples . 94 2.10.1 Randomized Response . 94 2.10.2 Screening . 96 3 Probability Distributions 99 3.1 Random Variables and Distributions . 99 3.1.1 Introduction . 99 3.1.2 Discrete Random Variables . 101 3.1.3 Continuous or Numeric Random Variables . 107 3.1.4 Distribution Functions . 116 3.1.5 Functions of Random Variables . 117 3.1.6 Other Distributions . 118 3.2 Parameters of Distributions . 119 3.2.1 Expected Values . 119 3.2.2 Variances . 121 3.2.3 Quantiles . 122 3.2.4 Other Expected Values . 123 3.2.5 Inequalities involving Expectations . 125 4 Joint Probability Distributions 127 4.1 General Case . 127 4.1.1 Marginal Distributions . 128 4.1.2 Conditional Distributions . 128 4.1.3 Properties of Marginal and Conditional Distributions . 129 4.1.4 Independence and Random Sampling . 129 iv CONTENTS 4.2 The Multinomial Distribution . 130 4.3 The Multivariate Normal Distribution . 134 4.4 Parameters of Joint Distributions . 136 4.4.1 Means, Variances, Covariances and Correlation . 136 4.4.2 Joint Moment Generating Functions . 138 4.5 Functions of Jointly Distributed Random Variables . 139 4.5.1 Linear Combinations of Random Variables . 141 4.6 Approximate Means and Variances . 143 4.7 Sampling Distributions of Statistics . 145 4.8 Methods of Obtaining Sampling Distibutions or Approximations . 151 4.8.1 Exact Sampling Distributions . 151 4.8.2 Asymptotic Distributions . 152 4.8.3 Central Limit Theorem . 152 4.8.4 Central Limit Theorem Example . 153 4.8.5 Law of Large Numbers . 158 4.8.6 The Delta Method - Univariate . 160 4.8.7 The Delta Method - Multivariate . 162 4.8.8 Computer Intensive Methods . 166 4.8.9 Bootstrap Example . 170 Chapter 1 Numeracy and Exploratory Data Analysis 1.1 Numeracy 1.1.1 Numeracy Since most of statistics involves the use of numerical data to draw conclusions we ¯rst discuss the presentation of numerical data. Numeracy may be broadly de¯ned as the ability to e®ectively think about and present numbers. ² One of the most common forms of presentation of numerical information is in tables. ² There are some simple guidelines which allow us to improve tabular presentation of numbers. ² In certain situations, the guidelines presented here will need to be modi¯ed if the audience e.g. readers of a professional journal expect the results to be presented in a speci¯ed format. 1 2 CHAPTER 1. NUMERACY AND EXPLORATORY DATA ANALYSIS Guidelines ² Round to two signi¯cant ¯gures. ± In order to understand a table of numbers it is almost always easier to do so if the numbers do not contain too many signi¯cant ¯gures. ² Add averages or totals. ± Adding row and/or column averages, proportions or totals when appropriate to a table often provide a useful focus for establishing trends or patterns. ² Numbers are easier to compare in columns. ² Order by size. ± A more e®ective presentation is often achieved by rearranging so that the largest (and presumably most important numbers) appear ¯rst. ² Spacing and layout. ± It is useful to present tables in single space format and not have a lot of \empty space" to detract the reader from concentrating on the numbers in the table. 1.2. DISCRETE DATA 3 1.2 Discrete Data For discrete data present tables of the numbers of responses at the various values, possibly grouped by factors. Also one can produce bar graphs and histograms for graphical pre- sentation. Thus in the ¯rst example in the introduction we might present the results as follows: Placebo Vaccine Proportion Cases .008 .004 Studied 200,745 201,229 A sensible description might be 4 cases per thousand for the vaccinated group and 8 cases per thousand for the placebo group. 4 CHAPTER 1. NUMERACY AND EXPLORATORY DATA ANALYSIS For the alcohol use data in the Overview Section eg. Group Use Alcohol Surveyed Proportion Clergy 32 300 .11 Educators 51 250 .20 Executives 67 300 .22 Merchants 83 350 .24 we might present the data as Figure 1.1: 1.2. DISCRETE DATA 5 For the self classi¯cation data in the Overview Section e.g. Class Lower Working Middle Upper Number 72 714 655 41 we might present the data as Figure 1.2: 6 CHAPTER 1. NUMERACY AND EXPLORATORY DATA ANALYSIS 1.3 Stem and leaf displays Suppose we have a batch or collection of numbers. Stem and leaf displays provide a simple, yet informative way to ² Develop summaries or descriptions of the batch either to learn about it in isolation or to compare it with other batches. The fundamental summaries are ± location of the batch (a center concept) ± scale or spread of the batch (a variability concept). ² Explore (note) characteristics of the batch including ± symmetry and general shape ± exceptional values ± gaps ± concentrations 1.3. STEM AND LEAF DISPLAYS 7 Consider the following batch of 62 numbers which give the ages in years of graduate students, post-docs, sta® and faculty of a large academic department of statistics: 33 20 41 52 35 25 43 61 37 29 44 64 40 32 50 76 33 22 42 55 36 26 43 61 37 30 46 65 40 32 50 79 34 23 43 59 37 27 43 61 39 31 46 67 41 32 51 81 37 28 44 64 37 29 44 64 40 31 49 74 51 52 Not much can be learned by looking at the numbers in this form. A simple display which begins to describe this collection of numbers is as follows: 9 | ( 1) 1 8 | 1 ( 4) 3 7 | 4 6 9 (12) 8 6 | 1 4 5 7 4 1 1 4 (20) 8 5 | 9 1 5 2 1 2 0 0 (42) 16 4 | 2 1 4 3 3 3 0 3 6 0 1 6 4 0 9 4 (26) 17 3 | 0 7 6 3 7 2 7 2 2 2 1 5 9 4 7 1 7 ( 9) 9 2 | 9 7 3 2 9 0 5 6 8 1 | | Interpretation: 1 at 8 means 81, 4 at 7 means 74, 6 at 7 means 76, 9 at 7 means 79, etc. 8 CHAPTER 1. NUMERACY AND EXPLORATORY DATA ANALYSIS A more re¯ned version of this display is: 9 | ( 1) 1 8 | 1 ( 4) 3 7 | 4 6 9 (12) 8 6 | 1 1 1 4 4 4 5 7 (20) 8 5 | 0 0 1 1 2 2 5 9 (42) 16 4 | 0 0 0 1 1 2 3 3 3 3 4 4 4 6 6 9 (26) 17 3 | 0 1 1 2 2 2 3 3 4 5 6 7 7 7 7 7 9 ( 9) 9 2 | 0 2 3 5 6 7 8 9 9 1 | Interpretation: 1 at 8 means 81, 4 at 7 means 74, 6 at 7 means 76, 9 at 7 means 79, etc. To construct a stem and leaf display we perform the following steps: ² To the left of the solid line we put the stem of the number ² To the right of the solid line we put the leaf of the number. The remaining entries in the display are discussed in the next section. Note that a stem and leaf display provides a quick and easy way to display a batch of numbers. Every statistical package now has a program to draw stem and leaf displays. Some additional comments on stem and leaf displays: p ² Number of stems. Understanding Robust and Exploratory Data Analysis suggests n for n less than 100 and 10 log10(n) for n larger than 100. (Usually more than 50 are done using a computer and each statistical package has its own default method). ² Stems can be double (or more) digits and there can be stems such as 5? and 5¢ which divide the numbers with stem 5 into two groups (0,1,2,3,4) and (5,6,7,8,9).
Recommended publications
  • 3.2.3 Binomial Distribution
    3.2.3 Binomial Distribution The binomial distribution is based on the idea of a Bernoulli trial. A Bernoulli trail is an experiment with two, and only two, possible outcomes. A random variable X has a Bernoulli(p) distribution if 8 > <1 with probability p X = > :0 with probability 1 − p, where 0 ≤ p ≤ 1. The value X = 1 is often termed a “success” and X = 0 is termed a “failure”. The mean and variance of a Bernoulli(p) random variable are easily seen to be EX = (1)(p) + (0)(1 − p) = p and VarX = (1 − p)2p + (0 − p)2(1 − p) = p(1 − p). In a sequence of n identical, independent Bernoulli trials, each with success probability p, define the random variables X1,...,Xn by 8 > <1 with probability p X = i > :0 with probability 1 − p. The random variable Xn Y = Xi i=1 has the binomial distribution and it the number of sucesses among n independent trials. The probability mass function of Y is µ ¶ ¡ ¢ n ¡ ¢ P Y = y = py 1 − p n−y. y For this distribution, t n EX = np, Var(X) = np(1 − p),MX (t) = [pe + (1 − p)] . 1 Theorem 3.2.2 (Binomial theorem) For any real numbers x and y and integer n ≥ 0, µ ¶ Xn n (x + y)n = xiyn−i. i i=0 If we take x = p and y = 1 − p, we get µ ¶ Xn n 1 = (p + (1 − p))n = pi(1 − p)n−i. i i=0 Example 3.2.2 (Dice probabilities) Suppose we are interested in finding the probability of obtaining at least one 6 in four rolls of a fair die.
    [Show full text]
  • 5 Stochastic Processes
    5 Stochastic Processes Contents 5.1. The Bernoulli Process ...................p.3 5.2. The Poisson Process .................. p.15 1 2 Stochastic Processes Chap. 5 A stochastic process is a mathematical model of a probabilistic experiment that evolves in time and generates a sequence of numerical values. For example, a stochastic process can be used to model: (a) the sequence of daily prices of a stock; (b) the sequence of scores in a football game; (c) the sequence of failure times of a machine; (d) the sequence of hourly traffic loads at a node of a communication network; (e) the sequence of radar measurements of the position of an airplane. Each numerical value in the sequence is modeled by a random variable, so a stochastic process is simply a (finite or infinite) sequence of random variables and does not represent a major conceptual departure from our basic framework. We are still dealing with a single basic experiment that involves outcomes gov- erned by a probability law, and random variables that inherit their probabilistic † properties from that law. However, stochastic processes involve some change in emphasis over our earlier models. In particular: (a) We tend to focus on the dependencies in the sequence of values generated by the process. For example, how do future prices of a stock depend on past values? (b) We are often interested in long-term averages,involving the entire se- quence of generated values. For example, what is the fraction of time that a machine is idle? (c) We sometimes wish to characterize the likelihood or frequency of certain boundary events.
    [Show full text]
  • 1 Normal Distribution
    1 Normal Distribution. 1.1 Introduction A Bernoulli trial is simple random experiment that ends in success or failure. A Bernoulli trial can be used to make a new random experiment by repeating the Bernoulli trial and recording the number of successes. Now repeating a Bernoulli trial a large number of times has an irritating side e¤ect. Suppose we take a tossed die and look for a 3 to come up, but we do this 6000 times. 1 This is a Bernoulli trial with a probability of success of 6 repeated 6000 times. What is the probability that we will see exactly 1000 success? This is de…nitely the most likely possible outcome, 1000 successes out of 6000 tries. But it is still very unlikely that an particular experiment like this will turn out so exactly. In fact, if 6000 tosses did produce exactly 1000 successes, that would be rather suspicious. The probability of exactly 1000 successes in 6000 tries almost does not need to be calculated. whatever the probability of this, it will be very close to zero. It is probably too small a probability to be of any practical use. It turns out that it is not all that bad, 0:014. Still this is small enough that it means that have even a chance of seeing it actually happen, we would need to repeat the full experiment as many as 100 times. All told, 600,000 tosses of a die. When we repeat a Bernoulli trial a large number of times, it is unlikely that we will be interested in a speci…c number of successes, and much more likely that we will be interested in the event that the number of successes lies within a range of possibilities.
    [Show full text]
  • Bernoulli Random Forests: Closing the Gap Between Theoretical Consistency and Empirical Soundness
    Proceedings of the Twenty-Fifth International Joint Conference on Artificial Intelligence (IJCAI-16) Bernoulli Random Forests: Closing the Gap between Theoretical Consistency and Empirical Soundness , , , ? Yisen Wang† ‡, Qingtao Tang† ‡, Shu-Tao Xia† ‡, Jia Wu , Xingquan Zhu ⇧ † Dept. of Computer Science and Technology, Tsinghua University, China ‡ Graduate School at Shenzhen, Tsinghua University, China ? Quantum Computation & Intelligent Systems Centre, University of Technology Sydney, Australia ⇧ Dept. of Computer & Electrical Engineering and Computer Science, Florida Atlantic University, USA wangys14, tqt15 @mails.tsinghua.edu.cn; [email protected]; [email protected]; [email protected] { } Traditional Bernoulli Trial Controlled Abstract Tree Node Splitting Tree Node Splitting Random forests are one type of the most effective ensemble learning methods. In spite of their sound Random Attribute Bagging Bernoulli Trial Controlled empirical performance, the study on their theoreti- Attribute Bagging cal properties has been left far behind. Recently, several random forests variants with nice theoreti- Random Structure/Estimation cal basis have been proposed, but they all suffer Random Bootstrap Sampling Points Splitting from poor empirical performance. In this paper, we (a) Breiman RF (b) BRF propose a Bernoulli random forests model (BRF), which intends to close the gap between the theoreti- Figure 1: Comparisons between Breiman RF (left panel) vs. cal consistency and the empirical soundness of ran- the proposed BRF (right panel). The tree node splitting of dom forests classification. Compared to Breiman’s Breiman RF is deterministic, so the final trees are highly data- original random forests, BRF makes two simplifi- dependent. Instead, BRF employs two Bernoulli distributions cations in tree construction by using two indepen- to control the tree construction.
    [Show full text]
  • Probability Theory
    Probability Theory Course Notes — Harvard University — 2011 C. McMullen March 29, 2021 Contents I TheSampleSpace ........................ 2 II Elements of Combinatorial Analysis . 5 III RandomWalks .......................... 15 IV CombinationsofEvents . 24 V ConditionalProbability . 29 VI The Binomial and Poisson Distributions . 37 VII NormalApproximation. 44 VIII Unlimited Sequences of Bernoulli Trials . 55 IX Random Variables and Expectation . 60 X LawofLargeNumbers...................... 68 XI Integral–Valued Variables. Generating Functions . 70 XIV RandomWalkandRuinProblems . 70 I The Exponential and the Uniform Density . 75 II Special Densities. Randomization . 94 These course notes accompany Feller, An Introduction to Probability Theory and Its Applications, Wiley, 1950. I The Sample Space Some sources and uses of randomness, and philosophical conundrums. 1. Flipped coin. 2. The interrupted game of chance (Fermat). 3. The last roll of the game in backgammon (splitting the stakes at Monte Carlo). 4. Large numbers: elections, gases, lottery. 5. True randomness? Quantum theory. 6. Randomness as a model (in reality only one thing happens). Paradox: what if a coin keeps coming up heads? 7. Statistics: testing a drug. When is an event good evidence rather than a random artifact? 8. Significance: among 1000 coins, if one comes up heads 10 times in a row, is it likely to be a 2-headed coin? Applications to economics, investment and hiring. 9. Randomness as a tool: graph theory; scheduling; internet routing. We begin with some previews. Coin flips. What are the chances of 10 heads in a row? The probability is 1/1024, less than 0.1%. Implicit assumptions: no biases and independence. 10 What are the chance of heads 5 out of ten times? ( 5 = 252, so 252/1024 = 25%).
    [Show full text]
  • Discrete Distributions: Empirical, Bernoulli, Binomial, Poisson
    Empirical Distributions An empirical distribution is one for which each possible event is assigned a probability derived from experimental observation. It is assumed that the events are independent and the sum of the probabilities is 1. An empirical distribution may represent either a continuous or a discrete distribution. If it represents a discrete distribution, then sampling is done “on step”. If it represents a continuous distribution, then sampling is done via “interpolation”. The way the table is described usually determines if an empirical distribution is to be handled discretely or continuously; e.g., discrete description continuous description value probability value probability 10 .1 0 – 10- .1 20 .15 10 – 20- .15 35 .4 20 – 35- .4 40 .3 35 – 40- .3 60 .05 40 – 60- .05 To use linear interpolation for continuous sampling, the discrete points on the end of each step need to be connected by line segments. This is represented in the graph below by the green line segments. The steps are represented in blue: rsample 60 50 40 30 20 10 0 x 0 .5 1 In the discrete case, sampling on step is accomplished by accumulating probabilities from the original table; e.g., for x = 0.4, accumulate probabilities until the cumulative probability exceeds 0.4; rsample is the event value at the point this happens (i.e., the cumulative probability 0.1+0.15+0.4 is the first to exceed 0.4, so the rsample value is 35). In the continuous case, the end points of the probability accumulation are needed, in this case x=0.25 and x=0.65 which represent the points (.25,20) and (.65,35) on the graph.
    [Show full text]
  • Randomization-Based Inference for Bernoulli Trial Experiments And
    Article Statistical Methods in Medical Research 2019, Vol. 28(5) 1378–1398 ! The Author(s) 2018 Randomization-based inference for Article reuse guidelines: sagepub.com/journals-permissions Bernoulli trial experiments and DOI: 10.1177/0962280218756689 implications for observational studies journals.sagepub.com/home/smm Zach Branson and Marie-Abe`le Bind Abstract We present a randomization-based inferential framework for experiments characterized by a strongly ignorable assignment mechanism where units have independent probabilities of receiving treatment. Previous works on randomization tests often assume these probabilities are equal within blocks of units. We consider the general case where they differ across units and show how to perform randomization tests and obtain point estimates and confidence intervals. Furthermore, we develop rejection-sampling and importance-sampling approaches for conducting randomization-based inference conditional on any statistic of interest, such as the number of treated units or forms of covariate balance. We establish that our randomization tests are valid tests, and through simulation we demonstrate how the rejection-sampling and importance-sampling approaches can yield powerful randomization tests and thus precise inference. Our work also has implications for observational studies, which commonly assume a strongly ignorable assignment mechanism. Most methodologies for observational studies make additional modeling or asymptotic assumptions, while our framework only assumes the strongly ignorable assignment
    [Show full text]
  • Some Basic Probabilistic Processes
    CHAPTER FOUR some basic probabilistic processes This chapter presents a few simple probabilistic processes and develops family relationships among the PMF's and PDF's associated with these processes. Although we shall encounter many of the most common PMF's and PDF's here, it is not our purpose to develop a general catalogue. A listing of the most frequently occurring PRfF's and PDF's and some of their properties appears as an appendix at the end of this book. 4-1 The 8er~ouil1Process A single Bernoulli trial generates an experimental value of discrete random variable x, described by the PMF to expand pkT(z) in a power series and then note the coefficient of zko in this expansion, recalling that any z transform may be written in the form pkT(~)= pk(0) + zpk(1) + z2pk(2) + ' ' This leads to the result known as the binomial PMF, 1-P xo-0 OlPll xo= 1 otherwise where the notation is the common Random variable x, as described above, is known as a Bernoulli random variable, and we note that its PMF has the z transform discussed in Sec. 1-9. Another way to derive the binomial PMF would be to work in a sequential sample space for an experiment which consists of n independ- The sample space for each Bernoulli trial is of the form ent Bernoulli trials, We have used the notation t success (;'') (;'') = Ifailure1 on the nth trial Either by use of the transform or by direct calculation we find We refer to the outcome of a Bernoulli trial as a success when the ex- Each sample point which represents an outcome of exactly ko suc- perimental value of x is unity and as a failure when the experimental cesses in the n trials would have a probability assignment equal to value of x is zero.
    [Show full text]
  • Optimal Stopping Times for Estimating Bernoulli Parameters with Applications to Active Imaging
    OPTIMAL STOPPING TIMES FOR ESTIMATING BERNOULLI PARAMETERS WITH APPLICATIONS TO ACTIVE IMAGING Safa C. Medin, John Murray-Bruce, and Vivek K Goyal Boston University Electrical and Computer Engineering Department ABSTRACT First we establish a framework for optimal adaptation of the number of trials for a single Bernoulli process. Then we consider a rectangu- We address the problem of estimating the parameter of a Bernoulli lar array of Bernoulli processes representing a scene in an imaging process. This arises in many applications, including photon-efficient problem, and we evaluate the inclusion of total variation regulariza- active imaging where each illumination period is regarded as a sin- tion for exploiting correlations among neighbors. In a simulation gle Bernoulli trial. We introduce a framework within which to min- with parameters realistic for active optical imaging, we demonstrate imize the mean-squared error (MSE) subject to an upper bound on a reduction in MSE by a factor of 2.67 (4.26 dB) in comparison to the mean number of trials. This optimization has several simple and the same regularized reconstruction approach applied without adap- intuitive properties when the Bernoulli parameter has a beta prior. In tation in numbers of trials. addition, by exploiting typical spatial correlation using total varia- tion regularization, we extend the developed framework to a rectan- gular array of Bernoulli processes representing the pixels in a natural 1.1. Related Work scene. In simulations inspired by realistic active imaging scenarios, we demonstrate a 4.26 dB reduction in MSE due to the adaptive In statistics, forming a parameter estimate from a number of i.i.d.
    [Show full text]
  • Bernoulli Trials an Experiment, Or Trial, Whose Outcome Can Be Classified
    Bernoulli trials An experiment, or trial, whose outcome can be classified as either a success or failure is performed. X = 1 when the outcome is a success 0 when outcome is a failure If p is the probability of a success then the pmf is, p(0) =P(X=0) =1-p p(1) =P(X=1) =p A random variable is called a Bernoulli random variable if it has the above pmf for p between 0 and 1. Expected value of Bernoulli r. v.: E(X) = 0*(1-p) + 1*p = p Variance of Bernoulli r. v.: E(X 2) = 02*(1-p) + 12*p = p Var(X) = E(X 2) - (E(X)) 2 = p - p2 = p(1-p) Ex. Flip a fair coin. Let X = number of heads. Then X is a Bernoulli random variable with p=1/2. E(X) = 1/2 Var(X) = 1/4 Binomial random variables Consider that n independent Bernoulli trials are performed. Each of these trials has probability p of success and probability (1-p) of failure. Let X = number of successes in the n trials. p(0) = P(0 successes in n trials) = (1-p)n {FFFFFFF} p(1) = P(1 success in n trials) = (n 1)p(1-p)n-1 {FSFFFFF} p(2) = P(2 successes in n trials) = (n 2)p2(1-p)n-2 {FSFSFFF} …… p(k) = P(k successes in n trials) = (n k)pk(1-p)n-k A random variable is called a Binomial(n,p) random variable if it has the pmf, p(k) = P(k successes in n trials) = (n k)pk(1-p)n-k for k=0,1,2,….n.
    [Show full text]
  • Statistical Challenges with Modeling Motor Vehicle Crashes: Understanding the Implications of Alternative Approaches
    STATISTICAL CHALLENGES WITH MODELING MOTOR VEHICLE CRASHES: UNDERSTANDING THE IMPLICATIONS OF ALTERNATIVE APPROACHES By Dominique Lord Associate Research Scientist Center for Transportation Safety Texas Transportation Institute Texas A&M University System 3135 TAMU, College Station, TX, 77843-3135 Tel. (979) 458-1218 E-mail: [email protected] Simon P. Washington Associate Professor Department of Civil Engineering & Engineering Mechanics University of Arizona Tucson, AZ 85721-0072 Tel. (520) 621- 4686 Email: [email protected] John N. Ivan Associate Professor Department of Civil & Environmental Engineering University of Connecticut 261 Glenbrook Road, Unit 2037 Storrs, CT 06269-2037 Tel. (860) 486-0352 E-mail: [email protected] March 22nd, 2004 Research Report Center for Transportation Safety Texas Transportation Institute Texas A&M University System 3135 TAMU, College Station, TX, 77843-3135 An earlier version of this paper was presented at the 83rd Annual Meeting of Transportation Research Board A shorter version of this paper with the new title “Poisson, Poisson-gamma and zero-inflated regression models of motor vehicle crashes: balancing statistical fit and theory” will be published in Accident Analysis & Prevention ABSTRACT There has been considerable research conducted over the last 20 years focused on predicting motor vehicle crashes on transportation facilities. The range of statistical models commonly applied includes binomial, Poisson, Poisson-gamma (or Negative Binomial), Zero-Inflated Poisson and Negative Binomial Models (ZIP and ZINB), and Multinomial probability models. Given the range of possible modeling approaches and the host of assumptions with each modeling approach, making an intelligent choice for modeling motor vehicle crash data is difficult at best.
    [Show full text]
  • AP Statistics Chapter 8
    Probability Models Chapter 16 Objectives: • Binomial Distribution – Conditions – Calculate binomial probabilities – Cumulative distribution function – Calculate means and standard deviations – Use normal approximation to the binomial distribution • Geometric Distribution – Conditions – Cumulative distribution function – Calculate means and standard deviations Bernoulli Trials • The basis for the probability models we will examine in this chapter is the Bernoulli trial. • We have Bernoulli trials if: – there are two possible outcomes (success and failure). – the probability of success, p, is constant. – the trials are independent. • Examples of Bernoulli Trials – Flipping a coin – Looking for defective products – Shooting free throws The Binomial Distribution The Binomial Model • A Binomial model tells us the probability for a random variable that counts the number of successes in a fixed number of Bernoulli trials. • Two parameters define the Binomial model: n, the number of trials; and, p, the probability of success. We denote this Binom(n, p). Independence • One of the important requirements for Bernoulli trials is that the trials be independent. • When we don’t have an infinite population, the trials are not independent. But, there is a rule that allows us to pretend we have independent trials: – The 10% condition: Bernoulli trials must be independent. If that assumption is violated, it is still okay to proceed as long as the sample is smaller than 10% of the population. Binomial Setting • Conditions required for a binomial distribution 1. Each observation falls into one of just two categories, “success” or “failure” (only two possible outcomes). 2. There are a fixed number n of observations. 3. The n observations are all independent.
    [Show full text]