Assignment 12

Total Page:16

File Type:pdf, Size:1020Kb

Assignment 12 Statistics STAT:7400, Spring 2019 Tierney Assignment 12 1. The trimean is an estimate of location based on the median and the quartiles that is constructed as a weighted average with the median weighted twice as heavily as each quartile. For samples of size 9 the trimean is (X(3) + 2X(5) + X(7))=4 Conduct a simulation study to assess the variance of the trimean for samples of size 9 from the standard normal, t4, and t10 distributions. Be sure to provide standard errors for your estimates, and make sure your simulation sample sizes are sufficient to support any conclusions. Use any variance reduction methods that might be appropriate. Summarize your results in about one page, and include appropriate supporting material in an appendix. You should submit your assignment electronically using Icon. Submit your work as a single compressed tar file. If your work is in a directory mywork then you can create a compressed tar file with the command tar czf mywork.tar.gz mywork 1 Statistics STAT:7400, Spring 2019 Tierney Solutions and Comments 1. The trimean for a sample of size 9 can be computed by tm9 <- function(x) mean(sort(x)[c(3, 5, 5, 7)]) Since the trimean is affine equivariant and the distributions to be considered can be represented as normal-over-independent, the methods of the Princeton study can be used. For the t10 distribution the samples can be generated with N <- 10000 df <- 10 Z <- matrix(rnorm(9*N), ncol = 9) V <- matrix(sqrt(rchisq(9 * N, df) / df), ncol = 9) X <- Z / V A crude estimate of the variance of the trimean and its standard error are computed by mean(apply(X, 1, tm9)^2) sd(apply(X, 1, tm9)^2) / sqrt(N) To apply the Princeton swindle, we need to compute the configuration statistic C: Xhat <- apply(X * V^2, 1, sum) / apply(V^2, 1, sum) S2hat <- apply(sweep(X, 1, Xhat)^2 * V^2, 1, sum) / 8 C <- sweep(sweep(X, 1, Xhat), 1, sqrt(S2hat), "/") The estimated variance of the trimean and its standard error is then given by df / (df * 9 - 2) + mean(apply(C, 1, tm9)^2) sd(apply(C, 1, tm9)^2) / sqrt(N) Summary of results: Distribution Est. Variance Std Error Est. Var. Reduction t4 0.1721 0.000847 89% t10 0.1451 0.000447 96% Normal 0.1314 0.000254 98% 2.
Recommended publications
  • 3. Summarizing Distributions
    3. Summarizing Distributions A. Central Tendency 1. What is Central Tendency 2. Measures of Central Tendency 3. Median and Mean 4. Additional Measures 5. Comparing measures B. Variability 1. Measures of Variability C. Shape 1. Effects of Transformations 2. Variance Sum Law I D. Exercises Descriptive statistics often involves using a few numbers to summarize a distribution. One important aspect of a distribution is where its center is located. Measures of central tendency are discussed first. A second aspect of a distribution is how spread out it is. In other words, how much the numbers in the distribution vary from one another. The second section describes measures of variability. Distributions can differ in shape. Some distributions are symmetric whereas others have long tails in just one direction. The third section describes measures of the shape of distributions. The final two sections concern (1) how transformations affect measures summarizing distributions and (2) the variance sum law, an important relationship involving a measure of variability. 123 What is Central Tendency? by David M. Lane and Heidi Ziemer Prerequisites • Chapter 1: Distributions • Chapter 2: Stem and Leaf Displays Learning Objectives 1. Identify situations in which knowing the center of a distribution would be valuable 2. Give three different ways the center of a distribution can be defined 3. Describe how the balance is different for symmetric distributions than it is for asymmetric distributions. What is “central tendency,” and why do we want to know the central tendency of a group of scores? Let us first try to answer these questions intuitively. Then we will proceed to a more formal discussion.
    [Show full text]
  • Robust Shewhart-Type Control Charts for Process Location
    UvA-DARE (Digital Academic Repository) Robust control charts in statistical process control Nazir, H.Z. Publication date 2014 Link to publication Citation for published version (APA): Nazir, H. Z. (2014). Robust control charts in statistical process control. General rights It is not permitted to download or to forward/distribute the text or part of it without the consent of the author(s) and/or copyright holder(s), other than for strictly personal, individual use, unless the work is under an open content license (like Creative Commons). Disclaimer/Complaints regulations If you believe that digital publication of certain material infringes any of your rights or (privacy) interests, please let the Library know, stating your reasons. In case of a legitimate complaint, the Library will make the material inaccessible and/or remove it from the website. Please Ask the Library: https://uba.uva.nl/en/contact, or a letter to: Library of the University of Amsterdam, Secretariat, Singel 425, 1012 WP Amsterdam, The Netherlands. You will be contacted as soon as possible. UvA-DARE is a service provided by the library of the University of Amsterdam (https://dare.uva.nl) Download date:27 Sep 2021 Chapter 3 Robust Shewhart-type Control Charts for Process Location This chapter studies estimation methods for the location parameter. Estimation method based on a Phase I analysis as well as several robust location estimators are considered. The Phase I method and estimators are evaluated in terms of their mean squared errors and their effect on the control charts used for real-time process monitoring is assessed. It turns out that the Phase I control chart based on the trimmed trimean far outperforms the existing estimation methods.
    [Show full text]
  • A Measure of Relative Efficiency for Location of a Single Sample Shlomo S
    Journal of Modern Applied Statistical Methods Volume 1 | Issue 1 Article 8 5-1-2002 A Measure Of Relative Efficiency For Location Of A Single Sample Shlomo S. Sawilowsky Wayne State University, [email protected] Follow this and additional works at: http://digitalcommons.wayne.edu/jmasm Part of the Applied Statistics Commons, Social and Behavioral Sciences Commons, and the Statistical Theory Commons Recommended Citation Sawilowsky, Shlomo S. (2002) "A Measure Of Relative Efficiency For Location Of A Single Sample," Journal of Modern Applied Statistical Methods: Vol. 1 : Iss. 1 , Article 8. DOI: 10.22237/jmasm/1020254940 Available at: http://digitalcommons.wayne.edu/jmasm/vol1/iss1/8 This Regular Article is brought to you for free and open access by the Open Access Journals at DigitalCommons@WayneState. It has been accepted for inclusion in Journal of Modern Applied Statistical Methods by an authorized editor of DigitalCommons@WayneState. Journal O f Modem Applied Statistical Methods Copyright © 2002 JMASM, Inc. Winter 2002, Vol. 1, No. 1,52-60 1538 - 9472/02/$30.00 A Measure Of Relative Efficiency For Location Of A Single Sample Shlomo S. Sawilowsky Evaluation & Research College of Education Wayne State University The question of how much to trim or which weighting constant to use are practical considerations in applying robust methods such as trimmed means (L-estimators) and Huber statistics (M-estimators). An index of location relative effi­ ciency (LRE), which is a ratio of the narrowness of resulting confidence intervals, was applied to various trimmed means and Huber M-estimators calculated on seven representative data sets from applied education and psychology research.
    [Show full text]
  • Modification of ANOVA with Various Types of Means
    Applied Mathematics and Computational Intelligence Volume 8, No.1, Dec 2019 [77-88] Modification of ANOVA with Various Types of Means Nur Farah Najeeha Najdi1* and Nor Aishah Ahad1 1School of Quantitative Sciences, Universiti Utara Malaysia. ABSTRACT In calculating mean equality for two or more groups, Analysis of Variance (ANOVA) is a popular method. Following the normality assumption, ANOVA is a robust test. A modification to ANOVA is proposed to test the equality of population means. The suggested research statistics are straightforward and are compatible with the generic ANOVA statistics whereby the classical mean is supplemented by other robust means such as geometric mean, harmonic mean, trimean and also trimmed mean. The performance of the modified ANOVAs is then compared in terms of the Type I error in the simulation study. The modified ANOVAs are then applied on real data. The performance of the modified ANOVAs is then compared with the classical ANOVA test in terms of Type I error rate. This innovation enhances the ability of modified ANOVAs to provide good control of Type I error rates. In general, the results were in favor of the modified ANOVAs especially ANOVAT and ANOVATM. Keywords: ANOVA, Geometric Mean, Harmonic Mean, Trimean, Trimmed Mean, Type I Error. 1. INTRODUCTION Analysis of variance (ANOVA) is one of the most used model which can be seen in many fields such as medicine, engineering, agriculture, education, psychology, sociology and biology to investigate the source of the variations. One-way ANOVA is based on assumptions that the normality of the observations and the homogeneity of group variances.
    [Show full text]
  • Modern Robust Data Analysis Methods: Measures of Central Tendency
    Psychological Methods Copyright 2003 by the American Psychological Association, Inc. 2003, Vol. 8, No. 3, 254–274 1082-989X/03/$12.00 DOI: 10.1037/1082-989X.8.3.254 Modern Robust Data Analysis Methods: Measures of Central Tendency Rand R. Wilcox H. J. Keselman University of Southern California University of Manitoba Various statistical methods, developed after 1970, offer the opportunity to substan- tially improve upon the power and accuracy of the conventional t test and analysis of variance methods for a wide range of commonly occurring situations. The authors briefly review some of the more fundamental problems with conventional methods based on means; provide some indication of why recent advances, based on robust measures of location (or central tendency), have practical value; and describe why modern investigations dealing with nonnormality find practical prob- lems when comparing means, in contrast to earlier studies. Some suggestions are made about how to proceed when using modern methods. The advances and insights achieved during the last more recent publications provide a decidedly different half century in statistics and quantitative psychology picture of the robustness of conventional techniques. provide an opportunity for substantially improving In terms of avoiding actual Type I error probabilities modern ,(05. ס ␣ ,.psychological research. Recently developed methods larger than the nominal level (e.g can provide substantially more power when the stan- methods and conventional techniques produce similar dard assumptions of
    [Show full text]
  • Estimation of the Hurst Exponent Using Trimean Estimators on Nondecimated Wavelet Coefficients Chen Feng and Brani Vidakovic
    JOURNAL OF LATEX CLASS FILES, VOL. 14, NO. 8, AUGUST 2015 1 Estimation of the Hurst Exponent Using Trimean Estimators on Nondecimated Wavelet Coefficients Chen Feng and Brani Vidakovic Abstract—Hurst exponent is an important feature summariz- Among models having been proposed for analyzing the self- ing the noisy high-frequency data when the inherent scaling similar phenomena, arguably the most popular is the fractional pattern cannot be described by standard statistical models. In this Brownian motion (fBm) first described by Kolmogorov [3] and paper, we study the robust estimation of Hurst exponent based on non-decimated wavelet transforms (NDWT). The robustness formalized by Mandelbrot and Van Ness [4]. Its importance is achieved by applying a general trimean estimator on non- is due to the fact that fBm is the unique Gaussian process decimated wavelet coefficients of the transformed data. The with stationary increments that is self-similar. Recall that a d general trimean estimator is derived as a weighted average of stochastic process X (t) ; t 2 R is self-similar with Hurst the distribution’s median and quantiles, combining the median’s + d −H emphasis on central values with the quantiles’ attention to the exponent H if, for any λ 2 R , X (t) = λ X (λt). Here extremes. The properties of the proposed Hurst exponent estima- the notation =d means the equality in all finite-dimensional tors are studied both theoretically and numerically. Compared distributions. Hurst exponent H describes the rate at which with other standard wavelet-based methods (Veitch & Abry autocorrelations decrease as the lag between two realizations (VA) method, Soltani, Simard, & Boichu (SSB) method, median based estimators MEDL and MEDLA), our methods reduce the in a time series increases.
    [Show full text]
  • Redalyc.Exploratory Data Analysis in the Context of Data Mining And
    International Journal of Psychological Research ISSN: 2011-2084 [email protected] Universidad de San Buenaventura Colombia Ho Yu, Chong Exploratory data analysis in the context of data mining and resampling. International Journal of Psychological Research, vol. 3, núm. 1, 2010, pp. 9-22 Universidad de San Buenaventura Medellín, Colombia Available in: http://www.redalyc.org/articulo.oa?id=299023509014 How to cite Complete issue Scientific Information System More information about this article Network of Scientific Journals from Latin America, the Caribbean, Spain and Portugal Journal's homepage in redalyc.org Non-profit academic project, developed under the open access initiative International Journal of Psychological Research, 2010. Vol. 3. No. 1. Chon Ho, Yu. (2010). Exploratory data analysis in the context of data mining and ISSN impresa (printed) 2011-2084 resampling. International Journal of Psychological Research, 3 (1), 9-22. ISSN electronic (electronic) 2011-2079 Exploratory data analysis in the context of data mining and resampling. Análisis de Datos Exploratorio en el contexto de extracción de datos y remuestreo. Chong Ho Yu Arizona State University ABSTRACT Today there are quite a few widespread misconceptions of exploratory data analysis (EDA). One of these misperceptions is that EDA is said to be opposed to statistical modeling. Actually, the essence of EDA is not about putting aside all modeling and preconceptions; rather, researchers are urged not to start the analysis with a strong preconception only, and thus modeling is still legitimate in EDA. In addition, the nature of EDA has been changing due to the emergence of new methods and convergence between EDA and other methodologies, such as data mining and resampling.
    [Show full text]
  • Rapid Assessment Method Development Update : Number 1
    Rapid Assessment Method Development Update : Number 1 Introduction This document reports on RAM development activities. This update reports desk-based work on: • Improvements to the performance of the PROBIT estimator for GAM. • Extension of the PROBIT indicator to include SAM in order to provide a needs assessment estimate for CMAM programs. This is an extension to RAM as originally proposed. PROBIT for GAM : Introduction The PROBIT estimator takes two parameters: Location (central tendency) : The location could be the mean or the median or some other estimator of the centre of the distribution of MUAC values. Dispersion (or spread) : The dispersion could be the standard deviation (SD) or some other measure of the spread of the distribution of MUAC values about centre of the distribution of MUAC values. The mean and the SD are the most common measures of location and dispersion. They have the advantage of being easy to calculate because they do not require data to be sorted. The have the disadvantage of lacking robustness to outliers (i.e. extreme high or low values). This problem effects the SD more than the mean because its calculation involves squaring deviations from the mean and this gives more weight to extreme values. Lack of robustness is most problematic with small sample sizes as we have with RAM. There are two ways around this problem : 1. Transform the data to bring outliers closer to the centre of the distribution. This only works well when outliers occur to one side or the centre of the distribution. 2. Use robust estimators of location and dispersion.
    [Show full text]
  • Wavelet-Based Robust Estimation of Hurst Exponent with Application in Visual Impairment Classification
    Journal of Data Science Vol.(2019) WAVELET-BASED ROBUST ESTIMATION OF HURST EXPONENT WITH APPLICATION IN VISUAL IMPAIRMENT CLASSIFICATION Chen Feng, Yajun Mei, Brani Vidakovic H. Milton Stewart School of Industrial & Systems Engineering, Georgia Institute of Technology, 755 Ferst Dr NW, Atlanta, GA 30318, United States of America Abstract: Pupillary response behavior (PRB) refers to changes in pupil di- ameter in response to simple or complex stimuli. There are underlying, unique patterns hidden within complex, high-frequency PRB data that can be utilized to classify visual impairment, but those patterns cannot be de- scribed by traditional summary statistics. For those complex high-frequency data, Hurst exponent, as a measure of long-term memory of time series, be- comes a powerful tool to detect the muted or irregular change patterns. In this paper, we proposed robust estimators of Hurst exponent based on non- decimated wavelet transforms. The properties of the proposed estimators were studied both theoretically and numerically. We applied our methods to PRB data to extract the Hurst exponent and then used it as a predictor to classify individuals with different degrees of visual impairment. Com- pared with other standard wavelet-based methods, our methods reduce the variance of the estimators and increase the classification accuracy. Key words: Pupillary response behavior; Visual impairment; Classification; Hurst exponent; High-frequency data; Non-decimated wavelet transforms. 1 Introduction Visual impairment is defined as a functional limitation of the eyes or visual sys- tem. It can cause disabilities by significantly interfering with one's ability to function independently, to perform activities of daily living, and to travel safely through the environment, see Geraci et al.
    [Show full text]
  • Redalyc.The Shifting Boxplot. a Boxplot Based on Essential
    International Journal of Psychological Research ISSN: 2011-2084 [email protected] Universidad de San Buenaventura Colombia Marmolejo-Ramos, Fernando; Siva Tian, Tian The shifting boxplot. A boxplot based on essential summary statistics around the mean. International Journal of Psychological Research, vol. 3, núm. 1, 2010, pp. 37-45 Universidad de San Buenaventura Medellín, Colombia Available in: http://www.redalyc.org/articulo.oa?id=299023509011 How to cite Complete issue Scientific Information System More information about this article Network of Scientific Journals from Latin America, the Caribbean, Spain and Portugal Journal's homepage in redalyc.org Non-profit academic project, developed under the open access initiative International Journal of Psychological Research, 2010. Vol.3. No.1. Marmolejo-Ramos, F., & Tian, T. S. (2010). The shifting boxplot. A boxplot based ISSN impresa (printed) 2011-2084 on essential summary statistics around the mean. International Journal of ISSN electrónica (electronic) 2011-2079 Psychological Research, 3 (1), 37-45. The shifting boxplot. A boxplot based on essential summary statistics around the mean. El diagrama de caja cambiante. Un diagrama de caja basado en sumarios estadísticos alrededor de la media Fernando Marmolejo-Ramos University of Adelaide Universidad del Valle Tian Siva Tian University of Houston ABSTRACT Boxplots are a useful and widely used graphical technique to explore data in order to better understand the information we are working with. Boxplots display the first, second and third quartile as well as the interquartile range and outliers of a data set. The information displayed by the boxplot, and most of its variations, is based on the data’s median.
    [Show full text]
  • Robust Inferential Techniques Applied to the Analysis of the Tropospheric Ozone Concentration in an Urban Area
    sensors Article Robust Inferential Techniques Applied to the Analysis of the Tropospheric Ozone Concentration in an Urban Area Wilmar Hernandez 1,* , Alfredo Mendez 2 , Vicente González-Posadas 3, José Luis Jiménez-Martín 3 and Iván Menes Camejo 4 1 Facultad de Ingeniería y Ciencias Aplicadas, Universidad de Las Américas, Quito EC-170125, Ecuador 2 Departamento de Matematica Aplicada a las Tecnologías de la Informacion y las Comunicaciones, ETS de Ingeniería y Sistemas de Telecomunicacion, Universidad Politecnica de Madrid, 28031 Madrid, Spain; [email protected] 3 Departamento de Teoría de la Señal y Comunicaciones, ETS de Ingenieria y Sistemas de Telecomunicacion, Universidad Politecnica de Madrid, 28031 Madrid, Spain; [email protected] (V.G.-P.); [email protected] (J.L.J.-M.) 4 Facultad de Informatica y Electronica, Escuela Superior Politecnica de Chimborazo, Riobamba EC-060155, Ecuador; [email protected] * Correspondence: [email protected] Abstract: This paper analyzes 12 years of tropospheric ozone (O3) concentration measurements using robust techniques. The measurements were taken at an air quality monitoring station called Belisario, which is in Quito, Ecuador; the data collection time period was 1 January 2008 to 31 December 2019, and the measurements were carried out using photometric O3 analyzers. Here, the measurement results were used to build variables that represented hours, days, months, and years, and were then classified and categorized. The index of air quality (IAQ) of the city was used to make the classifications, and robust and nonrobust confidence intervals were used to make the categorizations. Furthermore, robust analysis methods were compared with classical methods, nonparametric methods, and bootstrap-based methods.
    [Show full text]
  • Package 'Statip'
    Package ‘statip’ November 17, 2019 Type Package Title Statistical Functions for Probability Distributions and Regression Version 0.2.3 Description A collection of miscellaneous statistical functions for probability distributions: 'dbern()', 'pbern()', 'qbern()', 'rbern()' for the Bernoulli distribution, and 'distr2name()', 'name2distr()' for distribution names; probability density estimation: 'densityfun()'; most frequent value estimation: 'mfv()', 'mfv1()'; other statistical measures of location: 'cv()' (coefficient of variation), 'midhinge()', 'midrange()', 'trimean()'; construction of histograms: 'histo()', 'find_breaks()'; calculation of the Hellinger distance: 'hellinger()'; use of classical kernels: 'kernelfun()', 'kernel_properties()'; univariate piecewise-constant regression: 'picor()'. License GPL-3 LazyData TRUE Depends R (>= 3.1.3) Imports clue, graphics, rpart, stats Suggests knitr, testthat URL https://github.com/paulponcet/statip BugReports https://github.com/paulponcet/statip/issues RoxygenNote 7.0.0 NeedsCompilation yes Author Paul Poncet [aut, cre], The R Core Team [aut, cph] (C function 'BinDist' copied from package 'stats'), The R Foundation [cph] (C function 'BinDist' copied from package 'stats'), Adrian Baddeley [ctb] (C function 'BinDist' copied from package 'stats') 1 2 bandwidth Maintainer Paul Poncet <[email protected]> Repository CRAN Date/Publication 2019-11-17 21:40:02 UTC R topics documented: bandwidth . .2 cv ..............................................3 dbern . .3 densityfun . .4 distr2name . .6 erf..............................................6
    [Show full text]