Approximation of the Expected Value of the Harmonic Mean and Some Applications

Total Page:16

File Type:pdf, Size:1020Kb

Approximation of the Expected Value of the Harmonic Mean and Some Applications Approximation of the expected value of the harmonic mean and some applications Calyampudi Radhakrishna Raoa,b,1, Xiaoping Shic, and Yuehua Wuc aDepartment of Biostatistics, University at Buffalo, The State University of New York, Buffalo, NY 14221-3000; bCRRAO Advanced Institute of Mathematics, Statistics And Computer Science, Hyderabad-500046, India; and cDepartment of Mathematics and Statistics, York University, Toronto, ON, Canada M3J 1P3 Contributed by Calyampudi R. Rao, July 1, 2014 (sent for review June 5, 2014) Although the harmonic mean (HM) is mentioned in textbooks asymptotic expansion of EðHnÞ or the general version EðHnðwÞÞ along with the arithmetic mean (AM) and the geometric mean (GM) under more general assumptions on distributions of Zi s. We as three possible ways of summarizing the information in a set of show that under mild assumptions, observations, its appropriateness in some statistical applications is ( ) notmentionedintextbooks.Duringthelast10yanumberof 1 pffiffiffiffiffiffiffiffiffiffiffiffiffic1 papers were published giving some statistical applications where EðHnÞ ∼ 1 + ; [5] logðnÞ HM is appropriate and provides a better performance than AM. In logðnÞ the present paper some additional applications of HM are consid- ered. The key result is to find a good approximation to E(Hn), the where the constant c1 will be given. In addition, we use the 5 expectation of the harmonic mean of n observations from a proba- approach for obtaining [ ] to the case that the first moment of = bility distribution. In this paper a second-order approximation to 1 Zi is finite, motivated by evaluation of the marginal likelihood E(Hn) is derived and applied to a number of problems. in ref. 11. Approximations harmonic mean | second-order approximation | arithmetic mean | image denoising | marginal likelihood We derive the asymptotic approximation of EðHnÞ when the first moment of 1=Zi is not finite. Let fZig be a sequence of inde- pendent and identically distributed (i.i.d.) random variables with he harmonic mean H of n observations Z ; ...; Z drawn n 1 n possible infinite first moment. Suppose that there exist constants Tfrom a population is defined by An and Bn, such that the distribution FnðxÞ of n H = P : [1] n n 1 = + = + ⋯ + = i=1 Z 1 Z1 1 Z2 1 Zn i Xn = − An [6] Bn There have been a number of applications of the harmonic mean in recent papers. A more general version of Hn with weights converges weakly to a nondegenerate distribution FðxÞ such that w ; ...; w is 1 n P n d1 + oð1Þ = wi FðxÞ = α as x → −∞; [7] H w = Pi 1 : [2] nð Þ n wi jxj = i 1 Zi + w = ; ...; T d2 oð1Þ where ðw1 wnÞ . The harmonic mean Hn is used to provide 1 − FðxÞ = α as x → ∞; [8] the average rate in physics and to measure the price ratio in finance jxj as well as the program execution rate in computer engineering. α ≤ α < ; ≥ Some statistical applications of the harmonic mean are given in refs. where , d1, and d2 are constants with 0 2, d1 d2 0, and + > 1-4, among others. HnðwÞ has been used in evaluation of the port- d1 d2 0, respectively. The set of all distributions converging to folio price-to-earnings ratio value (ref. 5, p. 339) and the signal-to- FðxÞ is called the domain of attraction of FðxÞ. It is known that only interference-and-noise ratio (6) among others. The asymptotic stable laws with index αð0 ≤ α < 2Þ have the nonempty domains of properties of Hn including the asymptotic expansion of EðHnÞ are attraction as shown by refs. 12 (chap. 7) and 13 (chap. 2). investigated in refs. 7 and 8 by either assuming that some moments of 1=Zi are finite or that Zi s follow the Poisson distribution. It is Significance noted that recent papers (9, 10) enable one to use saddle-point STATISTICS approximation to give the asymptotic expansion of EðHnÞ to any The harmonic mean (HM) filter is better at removing positive given order of 1=n for some constants c0; c1; c2; ..., i.e., outliers than the arithmetic mean (AM) filter. There are espe- c c cially difficult issues when an accurate evaluation of expected EðH Þ = c + 1 + 2 + ⋯: [3] n 0 n n2 HM is needed such as, for example, in image denoising and marginal likelihood evaluation. A major challenge is to develop However, such methods are not applicable for obtaining the a higher-order approximation of the expected HM when the asymptotic expansion of Hn when the first moment of 1=Zi is central limit theorem is not applicable. A two-term approxi- infinite. In ref. 3, Zi s are assumed to follow a uniform distribu- mation of the expected HM is derived in this paper. This ap- tion in the interval ð0; 1Þ, i.e., Uð0; 1Þ, motivated by learning proximation enables us to develop a new filtering procedure to theory. Using the property that the inverse of Hn converges to denoise the noisy image with an improved performance, and the stable law, ref. 3 showed that construct a truncated HM estimator with a faster convergence rate in marginal likelihood evaluation. 1 EðHnÞ ∼ ; [4] logðnÞ Author contributions: C.R.R. designed research; C.R.R., X.S., and Y.W. performed research; X.S. and Y.W. analyzed data; and C.R.R., X.S., and Y.W. wrote the paper. where the symbol “∼” means asymptotic equivalence as n → ∞. The authors declare no conflict of interest. Our interest in this paper is to determine the second term in the 1To whom correspondence should be addressed. Email: [email protected]. www.pnas.org/cgi/doi/10.1073/pnas.1412216111 PNAS | November 4, 2014 | vol. 111 | no. 44 | 15681–15686 Downloaded by guest on September 28, 2021 Assume that there is a positive constant d which does not 3 1 log½logðnÞ depend on n such that logðnÞHn − 1 + pffiffiffiffiffiffiffiffiffiffiffiffiffi = β : logðnÞ logðnÞ Xn + An ≥ d3 > 0: [9] Thus, we obtain the following approximation: We further assume a uniform rate of convergence of FnðxÞ to F x such that ∼ ℓ−2 − ℓ−3 + : ℓ−4: [16] ð Þ EðHnÞ n n 0 5673 logðlogðnÞÞ n À Á −β supjFnðxÞ − FðxÞj = o n ; [10] As in ref. 3, suppose that Zi s follow a uniform distribution x Uð0; 1Þ. The distribution of Yi = 1=Zi is easily seen to be given by for some positive constant β < 1. Our assumptions are mild. Ref. 14 showed that sup jF ðxÞ − FðxÞj has the rate of ofn−1 log ðnÞg x n PðY ≤ tÞ = ð1 − 1=tÞIðt ≥ 1Þ; under some assumptions. We have the following asymptotic approximation of EðHnÞ: · Theorem 1. 7 – 10 where Ið Þ is an indicator function. It is well known that the Assume that conditions [ ] [ ] are satisfied and r < ∞ < = = α = = = mean of Yi is infinite but EYi for r 1. By considering the An logðnÞ, Bn n, 1, d1 0, and d2 1. Then we have the limit stable distribution with index α = 1 of the distribution of following first approximation: Xn for An = logðnÞ and Bn = n, ref. 3 obtained the result [4], À Á which is = + −1 = ℓ−2 − ℓ−3 + ℓ−3 ; [11] EðHnÞ EðXn log nÞ n n o n pffiffiffiffiffiffiffiffiffiffiffiffiffi Ef½logðnÞHng ∼ 1: [17] where ℓn = logðnÞ. The proof is given in Appendix: Proof of Theorem 1. Because According to our Theorem 1 and the approximation [16], n−β in [10] is smaller than the remaining terms in [11], the coefficients of both ℓ−2 and ℓ−3 are independent of β in [11]. 1 n n Ef½logðnÞHng ∼ 1 − pffiffiffiffiffiffiffiffiffiffiffiffiffi; [18] Remark 1: For an extension of Theorem 1 to the weighted logðnÞ harmonic mean in [2], we consider the following partial sum: : = + = + ⋯ + = ∼ − pffiffiffiffiffiffiffiffiffiffiffiffiffi1 + 0 5673 log½logðnÞ: [19] w = w1 Z1 w2 Z2 wn Zn − ; [12] Ef½logðnÞHng 1 Xnð Þ An logðnÞ logðnÞ Wn P α =α 17 – 19 where W = ð n jw j Þ1 . Motivated by ref. 15, we may assume Fig. 1 displays the approximations given in [ ] [ ]compared n i = 1 i with the sample mean of 1,000,000 replications of n independent the following two conditions on the weights wi s: observations from the uniform distribution Uð0; 1Þ that serves as a ; ; max jwij = oðWnÞ; [13] proxy for the exact value of EðHnÞ.Heren takesvalues1015 1≤i≤n 20; ..., and 200. From Fig. 1, it can be seen that the approxi- mation [18] is better than the approximation [17]. Although the and the characteristic function of 1=Z in [6] satisfies that i approximation [19] is purely empirical, this empirical exercise α À αÁ 1 − cjtj + o jtj as t → 0: [14] basically achieves the desired result as shown in Fig. 1; it clearly gives much better approximation of Ef½logðnÞHng than its other Under the conditions [13]and[14], ref. 15 showed that the two counterparts. α > = 1=α distribution of XnðwÞ converges to a stable distribution with We now consider the case that 1. In this case, Bn n and α = = 1−1=α characteristic function expð−cjtj Þ. For example, if Zi s follow An Eð1 Z1Þn . Thus, we have uniform distribution Uð0; 1Þ,thecondition[14] is satisfied when A = log n and α = 1. Following the proof of Theorem 1,itcanbe 1−1=α n = n : [20] shown that Hn 1−1=α Xn + n Eð1=Z1Þ À Á w = ℓ−2 − ℓ−3 + ℓ−3 ; [15] EfHnð Þg n n o n In light of the proof of Theorem 1, we have the following asymp- pffiffiffiffiffiffiffiffiffiffiffiffiffi totic approximation of EðH Þ: ℓ = 2 n where n logðnÞ.
Recommended publications
  • Comparison of Harmonic, Geometric and Arithmetic Means for Change Detection in SAR Time Series Guillaume Quin, Béatrice Pinel-Puysségur, Jean-Marie Nicolas
    Comparison of Harmonic, Geometric and Arithmetic means for change detection in SAR time series Guillaume Quin, Béatrice Pinel-Puysségur, Jean-Marie Nicolas To cite this version: Guillaume Quin, Béatrice Pinel-Puysségur, Jean-Marie Nicolas. Comparison of Harmonic, Geometric and Arithmetic means for change detection in SAR time series. EUSAR. 9th European Conference on Synthetic Aperture Radar, 2012., Apr 2012, Germany. hal-00737524 HAL Id: hal-00737524 https://hal.archives-ouvertes.fr/hal-00737524 Submitted on 2 Oct 2012 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. EUSAR 2012 Comparison of Harmonic, Geometric and Arithmetic Means for Change Detection in SAR Time Series Guillaume Quin CEA, DAM, DIF, F-91297 Arpajon, France Béatrice Pinel-Puysségur CEA, DAM, DIF, F-91297 Arpajon, France Jean-Marie Nicolas Telecom ParisTech, CNRS LTCI, 75634 Paris Cedex 13, France Abstract The amplitude distribution in a SAR image can present a heavy tail. Indeed, very high–valued outliers can be observed. In this paper, we propose the usage of the Harmonic, Geometric and Arithmetic temporal means for amplitude statistical studies along time. In general, the arithmetic mean is used to compute the mean amplitude of time series.
    [Show full text]
  • Simple Mean Weighted Mean Or Harmonic Mean
    MultiplyMultiply oror Divide?Divide? AA BestBest PracticePractice forfor FactorFactor AnalysisAnalysis 77 ––10 10 JuneJune 20112011 Dr.Dr. ShuShu-Ping-Ping HuHu AlfredAlfred SmithSmith CCEACCEA Los Angeles Washington, D.C. Boston Chantilly Huntsville Dayton Santa Barbara Albuquerque Colorado Springs Ft. Meade Ft. Monmouth Goddard Space Flight Center Ogden Patuxent River Silver Spring Washington Navy Yard Cleveland Dahlgren Denver Johnson Space Center Montgomery New Orleans Oklahoma City Tampa Tacoma Vandenberg AFB Warner Robins ALC Presented at the 2011 ISPA/SCEA Joint Annual Conference and Training Workshop - www.iceaaonline.com PRT-70, 01 Apr 2011 ObjectivesObjectives It is common to estimate hours as a simple factor of a technical parameter such as weight, aperture, power or source lines of code (SLOC), i.e., hours = a*TechParameter z “Software development hours = a * SLOC” is used as an example z Concept is applicable to any factor cost estimating relationship (CER) Our objective is to address how to best estimate “a” z Multiply SLOC by Hour/SLOC or Divide SLOC by SLOC/Hour? z Simple, weighted, or harmonic mean? z Role of regression analysis z Base uncertainty on the prediction interval rather than just the range Our goal is to provide analysts a better understanding of choices available and how to select the right approach Presented at the 2011 ISPA/SCEA Joint Annual Conference and Training Workshop - www.iceaaonline.com PR-70, 01 Apr 2011 Approved for Public Release 2 of 25 OutlineOutline Definitions
    [Show full text]
  • “Mean”? a Review of Interpreting and Calculating Different Types of Means and Standard Deviations
    pharmaceutics Review What Does It “Mean”? A Review of Interpreting and Calculating Different Types of Means and Standard Deviations Marilyn N. Martinez 1,* and Mary J. Bartholomew 2 1 Office of New Animal Drug Evaluation, Center for Veterinary Medicine, US FDA, Rockville, MD 20855, USA 2 Office of Surveillance and Compliance, Center for Veterinary Medicine, US FDA, Rockville, MD 20855, USA; [email protected] * Correspondence: [email protected]; Tel.: +1-240-3-402-0635 Academic Editors: Arlene McDowell and Neal Davies Received: 17 January 2017; Accepted: 5 April 2017; Published: 13 April 2017 Abstract: Typically, investigations are conducted with the goal of generating inferences about a population (humans or animal). Since it is not feasible to evaluate the entire population, the study is conducted using a randomly selected subset of that population. With the goal of using the results generated from that sample to provide inferences about the true population, it is important to consider the properties of the population distribution and how well they are represented by the sample (the subset of values). Consistent with that study objective, it is necessary to identify and use the most appropriate set of summary statistics to describe the study results. Inherent in that choice is the need to identify the specific question being asked and the assumptions associated with the data analysis. The estimate of a “mean” value is an example of a summary statistic that is sometimes reported without adequate consideration as to its implications or the underlying assumptions associated with the data being evaluated. When ignoring these critical considerations, the method of calculating the variance may be inconsistent with the type of mean being reported.
    [Show full text]
  • Harmonic Means ‰ Mean of a Ratio ‰ Summarizing Variability: Range, Variance, Percentiles, Quartiles ‰ Determining Distribution of Data: Quantile-Quantile Plots
    SummarizingSummarizing MeasuredMeasured DataData ©2010 Raj Jain www.rajjain.com 12-1 OverviewOverview Basic Probability and Statistics Concepts: CDF, PDF, PMF, Mean, Variance, CoV, Normal Distribution Summarizing Data by a Single Number: Mean, Median, and Mode, Arithmetic, Geometric, Harmonic Means Mean of A Ratio Summarizing Variability: Range, Variance, percentiles, Quartiles Determining Distribution of Data: Quantile-Quantile plots ©2010 Raj Jain www.rajjain.com 12-2 PartPart III:III: ProbabilityProbability TheoryTheory andand StatisticsStatistics 1. How to report the performance as a single number? Is specifying the mean the correct way? 2. How to report the variability of measured quantities? What are the alternatives to variance and when are they appropriate? 3. How to interpret the variability? How much confidence can you put on data with a large variability? 4. How many measurements are required to get a desired level of statistical confidence? 5. How to summarize the results of several different workloads on a single computer system? 6. How to compare two or more computer systems using several different workloads? Is comparing the mean sufficient? 7. What model best describes the relationship between two variables? Also, how good is the model? ©2010 Raj Jain www.rajjain.com 12-3 BasicBasic ProbabilityProbability andand StatisticsStatistics ConceptsConcepts Independent Events: Two events are called independent if the occurrence of one event does not in any way affect the probability of the other event. Random Variable:
    [Show full text]
  • Notes on Calculating Computer Performance
    Notes on Calculating Computer Performance Bruce Jacob and Trevor Mudge Advanced Computer Architecture Lab EECS Department, University of Michigan {blj,tnm}@umich.edu Abstract This report explains what it means to characterize the performance of a computer, and which methods are appro- priate and inappropriate for the task. The most widely used metric is the performance on the SPEC benchmark suite of programs; currently, the results of running the SPEC benchmark suite are compiled into a single number using the geometric mean. The primary reason for using the geometric mean is that it preserves values across normalization, but unfortunately, it does not preserve total run time, which is probably the figure of greatest interest when performances are being compared. Cycles per Instruction (CPI) is another widely used metric, but this method is invalid, even if comparing machines with identical clock speeds. Comparing CPI values to judge performance falls prey to the same prob- lems as averaging normalized values. In general, normalized values must not be averaged and instead of the geometric mean, either the harmonic or the arithmetic mean is the appropriate method for averaging a set running times. The arithmetic mean should be used to average times, and the harmonic mean should be used to average rates (1/time). A number of published SPECmarks are recomputed using these means to demonstrate the effect of choosing a favorable algorithm. 1.0 Performance and the Use of Means We want to summarize the performance of a computer; the easiest way uses a single number that can be compared against the numbers of other machines.
    [Show full text]
  • Package 'Cumstats'
    Package ‘cumstats’ January 16, 2017 Type Package Title Cumulative Descriptive Statistics Version 1.0 Date 2017-01-13 Author Arturo Erdely and Ian Castillo Maintainer Arturo Erdely <[email protected]> Description Cumulative descriptive statistics for (arithmetic, geometric, harmonic) mean, me- dian, mode, variance, skewness and kurtosis. License GPL-3 NeedsCompilation no Repository CRAN Date/Publication 2017-01-16 08:13:00 R topics documented: cumstats-package . .2 cumgmean . .3 cumhmean . .4 cumkurt . .5 cummean . .6 cummedian . .7 cummode . .8 cumquant . .9 cumskew . 10 cumvar . 11 kurtosis . 11 Mode ............................................ 12 skewness . 13 Index 15 1 2 cumstats-package cumstats-package Cumulative Descriptive Statistics Description Cumulative descriptive statistics for (arithmetic, geometric, harmonic) mean, median, mode, vari- ance, skewness and kurtosis. Details The DESCRIPTION file: Package: cumstats Type: Package Title: Cumulative Descriptive Statistics Version: 1.0 Date: 2017-01-13 Author: Arturo Erdely and Ian Castillo Maintainer: Arturo Erdely <[email protected]> Description: Cumulative descriptive statistics for (arithmetic, geometric, harmonic) mean, median, mode, variance, skewness and kurtosis. License: GPL-3 Index of help topics: Mode Statistical Mode cumgmean Cumulative Geometric Mean cumhmean Cumulative Harmonic Mean cumkurt Cumulative Kurtosis cummean Cumulative Arithmetic Mean cummedian Cumulative Median cummode Cumulative Mode cumquant Cumulative Quantile cumskew Cumulative Skewness cumstats-package Cumulative Descriptive Statistics cumvar Cumulative Variance kurtosis Pearson's Measure of Kurtosis skewness Skewness Cumulative descriptive statistics for (arithmetic, geometric, harmonic) mean, median, mode, vari- ance, skewness and kurtosis. Author(s) Arturo Erdely and Ian Castillo Maintainer: Arturo Erdely <[email protected]> cumgmean 3 cumgmean Cumulative Geometric Mean Description Returns a vector whose elements are the cumulative geometric mean of the elements of the argu- ment.
    [Show full text]
  • [Math.PR] 3 Dec 2001 Nsm Eali Eto .;Hr Ewl Utrcl H Essentials
    HARMONIC MEAN, RANDOM POLYNOMIALS AND STOCHASTIC MATRICES NATALIA L. KOMAROVA AND IGOR RIVIN Abstract. Motivated by a problem in learning theory, we are led to study the dominant eigenvalue of a class of random matrices. This turns out to be related to the roots of the derivative of random polynomials (generated by picking their roots uniformly at random in the interval [0, 1], although our results extend to other distribu- tions). This, in turn, requires the study of the statistical behavior of the harmonic mean of random variables as above, and that, in turn, leads us to delicate question of the rate of convergence to stable laws and tail estimates for stable laws. Introduction The original motivation for the work in this paper was provided by the first-named author’s research in learning theory, specifically in various models of language acquisition (see [KNN2001, NKN2001, KN2001]) and more specifically yet by the analysis of the speed of con- vergence of the memoryless learner algorithm. The setup is described in some detail in Section 4.1; here we will just recall the essentials. There is a collection of concepts R1,...,Rn and words which refer to these concepts, sometimes ambiguously. The teacher generates a stream of words, referring to the concept R1. This is not known to the student, but he must learn by, at each steps, guessing some concept Ri and checking for consistency with the teacher’s input. The mem- oryless learner algorithm consists of picking a concept Ri at random, arXiv:math/0105236v2 [math.PR] 3 Dec 2001 and sticking by this choice, until it is proven wrong.
    [Show full text]
  • UNIT-II : Measures of Central Tendency and Dispersion: Meaning and Objectives of Measures of Central Tendency, Different Measure Viz
    1 BUSINESS STATISTICS BBA UNIT –II, 2ND SEM UNIT-II : Measures of Central Tendency and Dispersion: Meaning and objectives of measures of central tendency, different measure viz. arithmetic mean, median, mode, geometric mean and harmonic mean, characteristics, applications and limitations of these measures; measure of variation viz. range, quartile deviation mean deviation and standard deviation, co-efficient of variation and skewness. Measures of Central Tendency: A measure of central tendency is a single value that attempts to describe a set of data by identifying the central position within that set of data. As such, measures of central tendency are sometimes called measures of central location. They are also classed as summary statistic: 1. Mean 2. Median 3. Mode The mean, median and mode are all valid measures of central tendency, but under different conditions, some measures of central tendency become more appropriate to use than others. In the following sections, we will look at the mean, mode and median, and learn how to calculate them and under what conditions they are most appropriate to be used. 1. Mean: There are 3 types of mean 1A. Arithmetic Mean The mean (or average) is the most popular and well known measure of central tendency. It can be used with both discrete and continuous data, although its use is most often with continuous data. The mean is equal to the sum of all the values in the data set divided by the number of values in the data set. So, if we have n values in a data set and they have values x1, x2, ..., xn, the sample mean, usually denoted by (pronounced x bar), is: This formula is usually written in a slightly different manner using the Greek capitol letter, , pronounced "sigma", which means "sum of...": Example: The marks of seven students in a mathematics test with a maximum possible mark of 20 are given below: 15 13 18 16 14 17 12 Dr.
    [Show full text]
  • An Exposition on Means Mabrouck K
    Louisiana State University LSU Digital Commons LSU Master's Theses Graduate School 2004 Which mean do you mean?: an exposition on means Mabrouck K. Faradj Louisiana State University and Agricultural and Mechanical College, [email protected] Follow this and additional works at: https://digitalcommons.lsu.edu/gradschool_theses Part of the Applied Mathematics Commons Recommended Citation Faradj, Mabrouck K., "Which mean do you mean?: an exposition on means" (2004). LSU Master's Theses. 1852. https://digitalcommons.lsu.edu/gradschool_theses/1852 This Thesis is brought to you for free and open access by the Graduate School at LSU Digital Commons. It has been accepted for inclusion in LSU Master's Theses by an authorized graduate school editor of LSU Digital Commons. For more information, please contact [email protected]. WHICH MEAN DO YOU MEAN? AN EXPOSITION ON MEANS A Thesis Submitted to the Graduate Faculty of the Louisiana State University and Agricultural and Mechanical College in partial fulfillment of the requirements for the degree of Master of Science in The Department of Mathematics by Mabrouck K. Faradj B.S., L.S.U., 1986 M.P.A., L.S.U., 1997 August, 2004 Acknowledgments This work was motivated by an unpublished paper written by Dr. Madden in 2000. This thesis would not be possible without contributions from many people. To every one who contributed to this project, my deepest gratitude. It is a pleasure to give special thanks to Professor James J. Madden for helping me complete this work. This thesis is dedicated to my wife Marianna for sacrificing so much of her self so that I may realize my dreams.
    [Show full text]
  • Package 'Harmonicmeanp'
    Package ‘harmonicmeanp’ August 19, 2019 Type Package Title Harmonic Mean p-Values and Model Averaging by Mean Maximum Likelihood Version 3.0 Date 2019-08-17 Author Daniel J. Wilson Maintainer Daniel Wilson <[email protected]> Description The harmonic mean p-value (HMP) test combines p-values and corrects for multiple test- ing while controlling the strong-sense family-wise error rate. It is more powerful than com- mon alternatives including Bonferroni and Simes procedures when combining large propor- tions of all the p-values, at the cost of slightly lower power when combining small propor- tions of all the p-values. It is more stringent than controlling the false discovery rate, and pos- sesses theoretical robustness to positive correlations between tests and un- equal weights. It is a multi-level test in the sense that a superset of one or more signifi- cant tests is certain to be significant and conversely when the superset is non-significant, the con- stituent tests are certain to be non-significant. It is based on MAMML (model averag- ing by mean maximum likelihood), a frequentist analogue to Bayesian model averag- ing, and is theoretically grounded in generalized central limit theorem. For detailed exam- ples type vignette(``harmonicmeanp'') after installation. Version 3.0 addresses errors in ver- sions 1.0 and 2.0 that led function p.hmp to control the familywise er- ror rate only in the weak sense, rather than the strong sense as intended. License GPL-3 Depends FMStable Suggests knitr, ape, rmarkdown VignetteBuilder knitr NeedsCompilation no Repository CRAN Date/Publication 2019-08-19 18:00:05 UTC R topics documented: Asymptotically Exact Harmonic Mean p-Value .
    [Show full text]
  • Water Quality Standards Quarterly Meeting April 7, 2015
    WATER QUALITY STANDARDS QUARTERLY MEETING JUNE 13, 2017 LAURA COOPER ASSISTANT DIRECTOR DWWM, WATER QUALITY STANDARDS [email protected] AGENDA • Introductions – WQS Staff & Attendees • Legislative Session in Review • Harmonic Mean Discussion • Other Water Quality Standards Topics WATER QUALITY STANDARDS UPDATE Since last meeting in November 2016 • DEP developed and shared “WV DEP Selenium Chronic Aquatic Life Criteria Implementation” • Still no approval or disapproval from EPA on • WV DEP Special Reclamation variances for Muddy Creek and Sandy Creek • Aluminum aquatic life criterion AGENDA • Introductions – WQS Staff & Attendees • Legislative Session in Review • Harmonic Mean Discussion • Other Water Quality Standards Topics WATER QUALITY STANDARDS 2017 WV LEGISLATURE • DEP withdrew its proposed WQS rule revisions on December 1st • Bills were introduced affecting WQS in Legislative session • HB 2506, amended §22-11-7b, passed March 28, signed by Governor on April 8 • SB 687, amended §22-11-7b, passed April 8, signed by Governor April 26 WHAT HOUSE BILL 2506 SAID HB 2506, Committee Substitute , from subsection (c) 2506 did not make any changes to Subsection (f) WHAT SENATE BILL 687 SAID SB 687, originated in Committee, subsection (f) Likewise, 687 did not make any changes to Subsection (c) WATER QUALITY STANDARDS RULE PLAN FOR 2017 • DEP is not proposing to revise the Water Quality Standards rule in 2017 • WQS program will continue to have quarterly public meetings to discuss standards, and hear any information about desired revisions • Will continue to review potential revisions and prepare for Triennial Review AGENDA • Introductions – WQS Staff & Attendees • Legislative Session in Review • Harmonic Mean Discussion • Other Water Quality Standards Topics WHAT IS HARMONIC MEAN FLOW? Harmonic mean flow—The flow that is determined by taking the reciprocal of the arithmetic mean of reciprocals of daily flow values.
    [Show full text]
  • Lecture.4 Measures of Averages
    Lecture.4 Measures of averages - Mean – median – mode – geometric mean – harmonic mean – computation of the above statistics for raw and grouped data - merits and demerits - measures of location – percentiles – quartiles - computation of the above statistics for raw and grouped data In the study of a population with respect to one in which we are interested we may get a large number of observations. It is not possible to grasp any idea about the characteristic when we look at all the observations. So it is better to get one number for one group. That number must be a good representative one for all the observations to give a clear picture of that characteristic. Such representative number can be a central value for all these observations. This central value is called a measure of central tendency or an average or a measure of locations. There are five averages. Among them mean, median and mode are called simple averages and the other two averages geometric mean and harmonic mean are called special averages. Arithmetic mean or mean Arithmetic mean or simply the mean of a variable is defined as the sum of the observations divided by the number of observations. It is denoted by the symbol If the variable x assumes n values x1, x2 … xn then the mean is given by This formula is for the ungrouped or raw data. Example 1 Calculate the mean for pH levels of soil 6.8, 6.6, 5.2, 5.6, 5.8 Solution Grouped Data The mean for grouped data is obtained from the following formula: Where x = the mid-point of individual class f = the frequency of individual class n = the sum of the frequencies or total frequencies in a sample.
    [Show full text]