Simulating Data with SAS ®

Total Page:16

File Type:pdf, Size:1020Kb

Simulating Data with SAS ® Simulating Data with SAS ® Rick Wicklin From Simulating Data with SAS®. Full book available for purchase here. Contents Acknowledgments v I Essentials of Simulating Data 1 Chapter 1. Introduction to Simulation ................................................................................................... 3 Chapter 2. Simulating Data from Common Univariate Distributions ................................................. 11 Chapter 3. Preliminary and Background Information ......................................................................... 29 II Basic Simulation Techniques 49 Chapter 4. Simulating Data to Estimate Sampling Distributions ......................................................... 51 Chapter 5. Using Simulation to Evaluate Statistical Techniques ......................................................... 73 Chapter 6. Strategies for Efficient and Effective Simulation ............................................................... 93 III Advanced Simulation Techniques 107 Chapter 7. Advanced Simulation of Univariate Data ......................................................................... 109 Chapter 8. Simulating Data from Basic Multivariate Distributions ................................................... 129 Chapter 9. Advanced Simulation of Multivariate Data ...................................................................... 153 Chapter 10. Building Correlation and Covariance Matrices ................................................................. 175 IV Applications of Simulation in Statistical Modeling 195 Chapter 11. Simulating Data for Basic Regression Models ................................................................. 197 Chapter 12. Simulating Data for Advanced Regression Models .......................................................... 225 Chapter 13. Simulating Data from Times Series Models ..................................................................... 251 Chapter 14. Simulating Data from Spatial Models ............................................................................... 263 Chapter 15. Resampling and Bootstrap Methods ................................................................................. 281 Chapter 16. Moment Matching and the Moment-Ratio Diagram ......................................................... 297 V Appendix 323 Appendix A. A SAS/IML Primer .......................................................................................................... 325 Index 339 From Simulating Data with SAS® by Rick Wicklin. Copyright © 2013, SAS Institute Inc., Cary, North Carolina, USA. ALL RIGHTS RESERVED. From Simulating Data with SAS®. Full book available for purchase here. Chapter 2 Simulating Data from Common Univariate Distributions Contents 2.1 Introduction to Simulating Univariate Data . 11 2.2 Getting Started: Simulate Data from the Standard Normal Distribution . 12 2.3 Template for Simulating Univariate Data in the DATA Step . 13 2.4 Simulating Data from Discrete Distributions . 14 2.4.1 The Bernoulli Distribution . 14 2.4.2 The Binomial Distribution . 15 2.4.3 The Geometric Distribution . 16 2.4.4 The Discrete Uniform Distribution . 17 2.4.5 Tabulated Distributions . 18 2.4.6 The Poisson Distribution . 19 2.5 Simulating Data from Continuous Distributions . 20 2.5.1 The Normal Distribution . 21 2.5.2 The Uniform Distribution . 22 2.5.3 The Exponential Distribution . 22 2.6 Simulating Univariate Data in SAS/IML Software . 24 2.6.1 Simulating Discrete Data . 24 2.6.2 Sampling from Finite Sets . 25 2.6.3 Simulating Continuous Data . 26 2.7 Univariate Distributions Supported in SAS Software . 27 2.8 References . 28 2.1 Introduction to Simulating Univariate Data There are three primary ways to simulate data in SAS software: • Use the DATA step to simulate data from univariate and uncorrelated multivariate distributions. You can use the RAND function to generate random values from more than 20 standard univariate distributions. You can combine these elementary distributions to build more complicated distributions. 12 Chapter 2: Simulating Data from Common Univariate Distributions • Use the SAS/IML language to simulate data from many distributions, including correlated multivariate distributions. You can use the RANDGEN subroutine to generate random values from standard univariate distributions, or you can use several predefined modules to generate data from multivariate distributions. You can extend the SAS/IML language by defining new functions that sample from distributions that are not built into SAS. • Use specialized procedures in SAS/STAT software and SAS/ETS software to simulate data with special properties. Procedures that generate random samples include the SIMNORMAL, SIM2D, and COPULA procedures. This chapter describes the two most important techniques that are used to simulate data in SAS software: the DATA step and the SAS/IML language. Although the DATA step is a useful tool for simulating univariate data, SAS/IML software is more powerful for simulating multivariate data. To learn how to use the SAS/IML language effectively, see Wicklin (2010). Most of the terminology in this book is standard. However, a term that you might not be familiar with is the term random variate. A random variate is a particular outcome of a random variable (Devroye 1986). For example, let X be a Bernoulli random variable that takes on the value 1 with probability p and the value 0 with probability 1 p. If you draw five observations from the probability distribution, you might obtain the values 0; 1; 1; 0; 1. Those five numbers are random variates. This book also uses the terms “simulated values” and “simulated data.” Some authors refer to simulated data as “fake data.” 2.2 Getting Started: Simulate Data from the Standard Normal Distribution To “simulate data” means to generate a random sample from a distribution with known properties. Because an example is often an effective way to convey main ideas, the following DATA step generates a random sample of 100 observations from the standard normal distribution. Figure 2.1 shows the first five observations. data Normal(keep=x); call streaminit(4321); /* Step 1 */ do i = 1 to 100; /* Step 2 */ x = rand("Normal"); /* Step 3 */ output; end; run; proc print data=Normal(obs=5); run; 2.3: Template for Simulating Univariate Data in the DATA Step 13 Figure 2.1 A Few Observations from a Normal Distribution Obs x 1 1.24067 2 -0.53532 3 -1.01394 4 0.68965 5 -0.32458 The DATA step consists of three steps: 1. Set the seed value with the STREAMINIT function. Seeds for random number generation are discussed further in Section 3.3. 2. Use a DO loop to iterate 100 times. 3. For each iteration, call the RAND function to generate a random value from the standard normal distribution. If you change the seed value, you will get a different random sample. If you change the number 100, you will get a sample with a different number of observations. To get a nonnormal distribution, change the name of the distribution from “Normal” to one of the families listed in Section 2.7. Some distributions, including the normal distribution, include parameters that you can specify after the name. 2.3 Template for Simulating Univariate Data in the DATA Step It is easy to generalize the example in the previous section. The following SAS pseudocode shows a basic template that you can use to generate N observations with a specified distribution: %let N = 100; /* size of sample */ data Sample(keep=x); call streaminit(4321); /* or use a different seed */ do i = 1 to &N; /* &N is the value of the N macro var */ /* specify distribution and parameters */ x = rand("DistribName", param1, param2, ...); output; end; run; The simulated data are written to the Sample data set. The macro variable N is defined in order to emphasize the role of that parameter. The expression &N is replaced by the value of the macro parameter (here, 100) before the DATA step is run. 14 Chapter 2: Simulating Data from Common Univariate Distributions The (pseudo) DATA step demonstrates the following steps for simulating data: 1. A call to the STREAMINIT subroutine, which specifies the seed that initializes the random number stream. When the argument is a positive integer, as in this example, the random sequence is reproducible. If you specify 0 as the argument, the random number sequence is initialized from your computer’s internal system clock. This implies that the random sequence will be different each time that you run the program. Seeds for random number generation are discussed in Section 3.3. 2. A DO loop that iterates N times. 3. A call to the RAND function, which generates one random value each time that the function is called. The first argument is the name of a distribution. The supported distributions are enumerated in Section 2.7. Subsequent arguments are parameter values for the distribution. 2.4 Simulating Data from Discrete Distributions When the set of possible outcomes is finite or countably infinite (like the integers), assigning a probability to each outcome creates a discrete probability distribution. Of course, the sum of the probabilities over all outcomes is unity. The following sections generate a sample of size N 100 from some well-known discrete D distributions. The code is followed by a frequency plot of the sample, which is overlaid with the exact probabilities of obtaining each value. You can use PROC FREQ to compute the empirical distribution of the data; the exact probabilities are obtained from the probability mass function (PMF) of the distribution. Section 3.4.2
Recommended publications
  • Relationships Among Some Univariate Distributions
    IIE Transactions (2005) 37, 651–656 Copyright C “IIE” ISSN: 0740-817X print / 1545-8830 online DOI: 10.1080/07408170590948512 Relationships among some univariate distributions WHEYMING TINA SONG Department of Industrial Engineering and Engineering Management, National Tsing Hua University, Hsinchu, Taiwan, Republic of China E-mail: [email protected], wheyming [email protected] Received March 2004 and accepted August 2004 The purpose of this paper is to graphically illustrate the parametric relationships between pairs of 35 univariate distribution families. The families are organized into a seven-by-five matrix and the relationships are illustrated by connecting related families with arrows. A simplified matrix, showing only 25 families, is designed for student use. These relationships provide rapid access to information that must otherwise be found from a time-consuming search of a large number of sources. Students, teachers, and practitioners who model random processes will find the relationships in this article useful and insightful. 1. Introduction 2. A seven-by-five matrix An understanding of probability concepts is necessary Figure 1 illustrates 35 univariate distributions in 35 if one is to gain insights into systems that can be rectangle-like entries. The row and column numbers are modeled as random processes. From an applications labeled on the left and top of Fig. 1, respectively. There are point of view, univariate probability distributions pro- 10 discrete distributions, shown in the first two rows, and vide an important foundation in probability theory since 25 continuous distributions. Five commonly used sampling they are the underpinnings of the most-used models in distributions are listed in the third row.
    [Show full text]
  • Field Guide to Continuous Probability Distributions
    Field Guide to Continuous Probability Distributions Gavin E. Crooks v 1.0.0 2019 G. E. Crooks – Field Guide to Probability Distributions v 1.0.0 Copyright © 2010-2019 Gavin E. Crooks ISBN: 978-1-7339381-0-5 http://threeplusone.com/fieldguide Berkeley Institute for Theoretical Sciences (BITS) typeset on 2019-04-10 with XeTeX version 0.99999 fonts: Trump Mediaeval (text), Euler (math) 271828182845904 2 G. E. Crooks – Field Guide to Probability Distributions Preface: The search for GUD A common problem is that of describing the probability distribution of a single, continuous variable. A few distributions, such as the normal and exponential, were discovered in the 1800’s or earlier. But about a century ago the great statistician, Karl Pearson, realized that the known probabil- ity distributions were not sufficient to handle all of the phenomena then under investigation, and set out to create new distributions with useful properties. During the 20th century this process continued with abandon and a vast menagerie of distinct mathematical forms were discovered and invented, investigated, analyzed, rediscovered and renamed, all for the purpose of de- scribing the probability of some interesting variable. There are hundreds of named distributions and synonyms in current usage. The apparent diver- sity is unending and disorienting. Fortunately, the situation is less confused than it might at first appear. Most common, continuous, univariate, unimodal distributions can be orga- nized into a small number of distinct families, which are all special cases of a single Grand Unified Distribution. This compendium details these hun- dred or so simple distributions, their properties and their interrelations.
    [Show full text]
  • Probability Distributions Used in Reliability Engineering
    Probability Distributions Used in Reliability Engineering Probability Distributions Used in Reliability Engineering Andrew N. O’Connor Mohammad Modarres Ali Mosleh Center for Risk and Reliability 0151 Glenn L Martin Hall University of Maryland College Park, Maryland Published by the Center for Risk and Reliability International Standard Book Number (ISBN): 978-0-9966468-1-9 Copyright © 2016 by the Center for Reliability Engineering University of Maryland, College Park, Maryland, USA All rights reserved. No part of this book may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage and retrieval system, without permission in writing from The Center for Reliability Engineering, Reliability Engineering Program. The Center for Risk and Reliability University of Maryland College Park, Maryland 20742-7531 In memory of Willie Mae Webb This book is dedicated to the memory of Miss Willie Webb who passed away on April 10 2007 while working at the Center for Risk and Reliability at the University of Maryland (UMD). She initiated the concept of this book, as an aid for students conducting studies in Reliability Engineering at the University of Maryland. Upon passing, Willie bequeathed her belongings to fund a scholarship providing financial support to Reliability Engineering students at UMD. Preface Reliability Engineers are required to combine a practical understanding of science and engineering with statistics. The reliability engineer’s understanding of statistics is focused on the practical application of a wide variety of accepted statistical methods. Most reliability texts provide only a basic introduction to probability distributions or only provide a detailed reference to few distributions.
    [Show full text]
  • Some Statistical Aspects of Spatial Distribution Models for Plants and Trees
    STUDIA FORESTALIA SUECICA Some Statistical Aspects of Spatial Distribution Models for Plants and Trees PETER DIGGLE Department of Operational Efficiency Swedish University of Agricultural Sciences S-770 73 Garpenberg. Sweden SWEDISH UNIVERSITY OF AGRICULTURAL SCIENCES COLLEGE OF FORESTRY UPPSALA SWEDEN Abstract ODC 523.31:562.6/46 The paper is an account of some stcctistical ur1alysrs carried out in coniur~tionwith a .silvicultural research project in the department of Oi_leruriotzal Efficiency. College of Forestry, Gcwpenberg. Sweden (Erikssorl, L & Eriksson. 0 in prepuratiotz 1981). 1~ Section 2, u statbtic due ro Morurz (19501 is irsed to detect spafiul intercccriorl amongst coutlts of the ~u~rnbersof yo14119 trees in stimple~~lo~slaid out in a systelnntic grid arrangement. Section 3 discusses the corlstruction of hivuriate disrrtbutions for the numbers of~:ild and plunted trees in a sample plot. Sectiorc 4 comiders the relutionship between the distributions of the number oj trees in a plot arld their rota1 busal area. Secrion 5 is a review of statistical nlerhodc for xte in cot~tlectiorz w~thpreliminai~ surveys of large areas of forest. In purticular, Secrion 5 dzscusses tests or spurrnl randotnness for a sillgle species, tests of independence betwren two species, and estimation of the number of trees per unit urea. Manuscr~ptrecelved 1981-10-15 LFIALLF 203 82 003 ISBN 9 1-38-07077-4 ISSN 0039-3150 Berllngs, Arlov 1982 Preface The origin of this report dates back to 1978. At this time Dr Peter Diggle was employed as a guest-researcher at the College. The aim of Dr Diggle's work at the College was to introduce advanced mathematical and statistical models in forestry research.
    [Show full text]
  • Multivariate Distributions
    IEOR E4602: Quantitative Risk Management Spring 2016 c 2016 by Martin Haugh Multivariate Distributions We will study multivariate distributions in these notes, focusing1 in particular on multivariate normal, normal-mixture, spherical and elliptical distributions. In addition to studying their properties, we will also discuss techniques for simulating and, very briefly, estimating these distributions. Familiarity with these important classes of multivariate distributions is important for many aspects of risk management. We will defer the study of copulas until later in the course. 1 Preliminary Definitions Let X = (X1;:::Xn) be an n-dimensional vector of random variables. We have the following definitions and statements. > n Definition 1 (Joint CDF) For all x = (x1; : : : ; xn) 2 R , the joint cumulative distribution function (CDF) of X satisfies FX(x) = FX(x1; : : : ; xn) = P (X1 ≤ x1;:::;Xn ≤ xn): Definition 2 (Marginal CDF) For a fixed i, the marginal CDF of Xi satisfies FXi (xi) = FX(1;:::; 1; xi; 1;::: 1): It is straightforward to generalize the previous definition to joint marginal distributions. For example, the joint marginal distribution of Xi and Xj satisfies Fij(xi; xj) = FX(1;:::; 1; xi; 1;:::; 1; xj; 1;::: 1). If the joint CDF is absolutely continuous, then it has an associated probability density function (PDF) so that Z x1 Z xn FX(x1; : : : ; xn) = ··· f(u1; : : : ; un) du1 : : : dun: −∞ −∞ Similar statements also apply to the marginal CDF's. A collection of random variables is independent if the joint CDF (or PDF if it exists) can be factored into the product of the marginal CDFs (or PDFs). If > > X1 = (X1;:::;Xk) and X2 = (Xk+1;:::;Xn) is a partition of X then the conditional CDF satisfies FX2jX1 (x2jx1) = P (X2 ≤ x2jX1 = x1): If X has a PDF, f(·), then it satisfies Z xk+1 Z xn f(x1; : : : ; xk; uk+1; : : : ; un) FX2jX1 (x2jx1) = ··· duk+1 : : : dun −∞ −∞ fX1 (x1) where fX1 (·) is the joint marginal PDF of X1.
    [Show full text]
  • Univariate Probability Distributions
    Journal of Statistics Education ISSN: (Print) 1069-1898 (Online) Journal homepage: http://www.tandfonline.com/loi/ujse20 Univariate Probability Distributions Lawrence M. Leemis, Daniel J. Luckett, Austin G. Powell & Peter E. Vermeer To cite this article: Lawrence M. Leemis, Daniel J. Luckett, Austin G. Powell & Peter E. Vermeer (2012) Univariate Probability Distributions, Journal of Statistics Education, 20:3, To link to this article: http://dx.doi.org/10.1080/10691898.2012.11889648 Copyright 2012 Lawrence M. Leemis, Daniel J. Luckett, Austin G. Powell, and Peter E. Vermeer Published online: 29 Aug 2017. Submit your article to this journal View related articles Full Terms & Conditions of access and use can be found at http://www.tandfonline.com/action/journalInformation?journalCode=ujse20 Download by: [College of William & Mary] Date: 06 September 2017, At: 10:32 Journal of Statistics Education, Volume 20, Number 3 (2012) Univariate Probability Distributions Lawrence M. Leemis Daniel J. Luckett Austin G. Powell Peter E. Vermeer The College of William & Mary Journal of Statistics Education Volume 20, Number 3 (2012), http://www.amstat.org/publications/jse/v20n3/leemis.pdf Copyright c 2012 by Lawrence M. Leemis, Daniel J. Luckett, Austin G. Powell, and Peter E. Vermeer all rights reserved. This text may be freely shared among individuals, but it may not be republished in any medium without express written consent from the authors and advance notification of the editor. Key Words: Continuous distributions; Discrete distributions; Distribution properties; Lim- iting distributions; Special Cases; Transformations; Univariate distributions. Abstract Downloaded by [College of William & Mary] at 10:32 06 September 2017 We describe a web-based interactive graphic that can be used as a resource in introductory classes in mathematical statistics.
    [Show full text]
  • Package 'Distr' Standardmethods Utility to Automatically Generate Accessor and Replacement Functions
    Package ‘distr’ March 11, 2019 Version 2.8.0 Date 2019-03-11 Title Object Oriented Implementation of Distributions Description S4-classes and methods for distributions. Depends R(>= 2.14.0), methods, graphics, startupmsg, sfsmisc Suggests distrEx, svUnit (>= 0.7-11), knitr Imports stats, grDevices, utils, MASS VignetteBuilder knitr ByteCompile yes Encoding latin1 License LGPL-3 URL http://distr.r-forge.r-project.org/ LastChangedDate {$LastChangedDate: 2019-03-11 16:33:22 +0100 (Mo, 11 Mrz 2019) $} LastChangedRevision {$LastChangedRevision: 1315 $} VCS/SVNRevision 1314 NeedsCompilation yes Author Florian Camphausen [ctb] (contributed as student in the initial phase --2005), Matthias Kohl [aut, cph], Peter Ruckdeschel [cre, cph], Thomas Stabla [ctb] (contributed as student in the initial phase --2005), R Core Team [ctb, cph] (for source file ks.c/ routines 'pKS2' and 'pKolmogorov2x') Maintainer Peter Ruckdeschel <[email protected]> Repository CRAN Date/Publication 2019-03-11 20:32:54 UTC 1 2 R topics documented: R topics documented: distr-package . .5 AbscontDistribution . 12 AbscontDistribution-class . 14 Arcsine-class . 18 Beta-class . 19 BetaParameter-class . 21 Binom-class . 22 BinomParameter-class . 24 Cauchy-class . 25 CauchyParameter-class . 27 Chisq-class . 28 ChisqParameter-class . 30 CompoundDistribution . 31 CompoundDistribution-class . 32 convpow-methods . 34 d-methods . 36 decomposePM-methods . 36 DExp-class . 37 df-methods . 39 df1-methods . 39 df2-methods . 40 dim-methods . 40 dimension-methods . 40 Dirac-class . 41 DiracParameter-class . 42 DiscreteDistribution . 44 DiscreteDistribution-class . 46 distr-defunct . 49 distrARITH . 50 Distribution-class . 51 DistributionSymmetry-class . 52 DistrList . 53 DistrList-class . 54 distrMASK . 55 distroptions . 56 DistrSymmList . 58 DistrSymmList-class . 59 EllipticalSymmetry .
    [Show full text]
  • Bivariate Frequency of Meteorological Drought in the Upper Minjiang River Based on Copula Function
    water Article Bivariate Frequency of Meteorological Drought in the Upper Minjiang River Based on Copula Function Fangling Qin 1, Tianqi Ao 1,2,* and Ting Chen 1,3,* 1 College of Water Resources & Hydropower, Sichuan University, Chengdu 610065, China; [email protected] 2 State Key Laboratory of Hydraulic and Mountain River Engineering, Sichuan University, Chengdu 610065, China 3 Heavy Rain and Drought-Flood Disasters in Plateau and Basin Key Laboratory of Sichuan Province, Chengdu 610072, China * Correspondence: [email protected] (T.A.); [email protected] (T.C.); Tel.: +86-028-8540-1149 (T.A.); +86-028-6028-0028 (T.C.) Abstract: Based on the Standardized Precipitation Index (SPI) and copula function, this study analyzed the meteorological drought in the upper Minjiang River basin. The Tyson polygon method is used to divide the research area into four regions based on four meteorological stations. The monthly precipitation data of four meteorological stations from 1966 to 2016 were used for the calculation of SPI. The change trend of SPI1, SPI3 and SPI12 showed the historical dry-wet evolution phenomenon of short-term humidification and long-term aridification in the study area. The major drought events in each region are counted based on SPI3. The results show that the drought lasted the longest in Maoxian region, the occurrence of minor drought events was more frequent than the other regions. Nine distribution functions are used to fit the marginal distribution of drought duration (D), severity (S) and peak (P) estimated based on SPI3, the best marginal distribution is Citation: Qin, F.; Ao, T.; Chen, T.
    [Show full text]
  • Goodness of Fit
    GOODNESS OF FIT INTRODUCTION Goodness of fit tests are used to determine how well the shape of a sample of data obtained from an experiment matches a conjectured or hypothesized distribution shape for the population from which the data was collected. The idea behind a goodness-of-fit test is to see if the sample comes from a population with the claimed distribution. Another way of looking at that is to ask if the frequency distribution fits a specific pattern, or even more to the point, how do the actual observed frequencies in each class interval of a histogram compare to the frequencies that theoretically would be expected to occur if the data exactly followed the hypothesized probability distribution. This is relevant to cost risk analysis because we often want to apply a distribution to an element of cost based on observed sample data. A goodness of fit test is a statistical hypothesis test: Set up the null and alternative hypothesis; determine alpha; calculate a test statistic; look-up a critical value statistic; draw a conclusion. In this course, we will discuss three different methods or tests that are commonly used to perform Goodness-of-Fit analyses: the Chi-Square (χ2) test, the Kolmogorov-Smirnov One Sample Test, and the Anderson-Darling test. The Kolmogorov-Smirnov and Anderson-Darling tests are restricted to continuous distributions while the χ2 test can be applied to both discrete and continuous distributions. GOODNESS OF FIT TESTS CHI SQUARE TEST The Chi-Square test is used to test if a sample of data came from a population with a specific distribution.
    [Show full text]
  • Joint Mixability of Elliptical Distributions and Related Families
    Joint Mixability of Elliptical Distributions and Related Families Chuancun Yin ∗ School of Statistics, Qufu Normal University Shandong 273165, China e-mail: [email protected] Dan Zhu School of Statistics, Qufu Normal University Shandong 273165, China September 13, 2018 Abstract In this paper, we further develop the theory of complete mixability and joint mixability for some distribution families. We generalize a result of R¨uschendorf and Uckelmann (2002) related to complete mixability of continuous distribution function having a symmetric and unimodal density. Two different proofs to a result of Wang and Wang (2016) which related to the joint mixability of elliptical distributions with the same characteristic generator are present. We solve the Open Problem 7 in Wang (2015) by arXiv:1706.05499v3 [math.ST] 12 Sep 2018 constructing a bimodal-symmetric distribution. The joint mixability of slash-elliptical distributions and skew-elliptical distributions is studied and the extension to multivariate distributions is also investigated. Keywords: Complete mixability; joint mixability; multivariate dependence; slash/skew- elliptical distributions; elliptical distributions AMS subject classifications: 60E05 60E10 60E15 ∗Corresponding author. 1 1 Introduction In recent years, the problem of studying complete mixability and joint mixability of distributions has received considerable attention. Complete mixability and joint mixabil- ity describe whether it is possible to generate random variables (or vectors) from given distributions with constant sum. The formally definition of complete mixability for a distribution was first introduced in Wang and Wang (2011) and then extended to an arbi- trary set of distributions in Wang, Peng and Yang (2013), although the concept has been used in variance reduction problems earlier (see Gaffke and R¨uschendorf (1981), Knott and Smith (2006), R¨uschendorf and Uckelmann (2002)).
    [Show full text]
  • Theorizing Probability Distribution in Applied Statistics
    Journal of Population and Development, June 2020 | Indra Malakar/Theorizing Probability Distribution in ... Received Date: January 2020 Revised: March 2020 Accepted: June 2020 Theorizing Probability Distribution in Applied Statistics Indra Malakar (M. Phil.)* Abstract This paper investigates into theoretical knowledge on probability distribution and the application of binomial, poisson and normal distribution. Binomial distribution is widely used discrete random variable when the trails are repeated under identical condition for fixed number of times and when there are only two possible outcomes whereas poisson distribution is for discrete random variable for which the probability of occurrence of an event is small and the total number of possible cases is very large and normal distribution is limiting form of binomial distribution and used when the number of cases is infinitely large and probabilities of success and failure is almost equal. Key words: Application, binomial, discrete, normal, occurrence & poisson. Introduction In statistics, probability theory and probability distribution are mathematical functions that provide the probabilities of occurrence of different possible outcomes in an experiment (Ash, 2008). In more technical terms, the probability distribution is a description of a random phenomenon in terms of the probabilities of events (Michael, 2010). A probability distribution is specified in terms of an underlying sample space, which is the set of all possible outcomes of the random phenomenon being observed. The sample space may be the set of real numbers or a set of vectors, or it may be a list of non-numerical values; for example, the sample space of a coin flip would be (heads & tails). Probability distributions are generally categorized into two classes.
    [Show full text]
  • Mahalanobis' Distance Beyond Normal Distributions
    MAHALANOBIS' DISTANCE BEYOND NORMAL DISTRIBUTIONS JOAKIM EKSTROM¨ Abstract. Based on the reasoning expressed by Mahalanobis in his original article, the present article extends the Mahalanobis distance beyond the set of normal distributions. Sufficient conditions for existence and uniqueness are studied, and some properties de- rived. Since many statistical methods use the Mahalanobis distance as e vehicle, e.g. the method of least squares and the chi-square hypothesis test, extending the Mahalanobis distance beyond normal distributions yields a high ratio of output to input, because those methods are then instantly generalized beyond the normal distributions as well. Maha- lanobis' idea also has a certain conceptual beauty, mapping random variables into a frame of reference which ensures that apples are compared to apples. 1 2 1. Introduction Distances have been used in statistics for centuries. Carl Friedrich Gauss (1809) pro- posed using sums of squares, a squared Euclidean distance, for the purpose of fitting Kepler orbits to observations of heavenly bodies. Karl Pearson (1900) proposed a weighted Eu- clidean distance, which he denoted χ, for the construction of a hypothesis test. Both Gauss' and Pearson's methods presume statistically independent and normally distributed observational errors, and therefore their distances are nowadays recognized as special cases of the Mahalanobis distance. Proposed by Mahalanobis (1936), the Mahalanobis distance is a distance that accounts for probability distribution and equals the Euclidean distance under the standard normal distribution. The rationale for the latter fact is largely historical, but both Gauss (1809) and Pearson (1900) discussed the fact that the density function of a standard normally distributed random variable equals (a normalizing constant times) the composition g ◦jj·jj, where jj · jj is the Euclidean norm and g the Gaussian function e−x2=2.
    [Show full text]