Computer algebra and rank statistics Alessandro Di Bucchianico HCM Workshop Coimbra November 5, 1997.

Slides:



Advertisements
Similar presentations
You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
Advertisements

Advanced Piloting Cruise Plot.
Introductory Mathematics & Statistics for Business
Prepared by Lloyd R. Jaisingh
Chapter 1 The Study of Body Function Image PowerPoint
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
STATISTICS HYPOTHESES TEST (II) One-sample tests on the mean and variance Professor Ke-Sheng Cheng Department of Bioenvironmental Systems Engineering National.
Detection of Hydrological Changes – Nonparametric Approaches
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
Determine Eligibility Chapter 4. Determine Eligibility 4-2 Objectives Search for Customer on database Enter application signed date and eligibility determination.
My Alphabet Book abcdefghijklm nopqrstuvwxyz.
Multiplying binomials You will have 20 seconds to answer each of the following multiplication problems. If you get hung up, go to the next problem when.
0 - 0.
ALGEBRAIC EXPRESSIONS
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Addition Facts
Year 6 mental test 5 second questions
Lecture 2 ANALYSIS OF VARIANCE: AN INTRODUCTION
ZMQS ZMQS
STATISTICAL INFERENCE ABOUT MEANS AND PROPORTIONS WITH TWO POPULATIONS
Chapter 7 Sampling and Sampling Distributions
REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.
Department of Engineering Management, Information and Systems
Elementary Statistics
(This presentation may be used for instructional purposes)
Non-Parametric Statistics
ABC Technology Project
1 Undirected Breadth First Search F A BCG DE H 2 F A BCG DE H Queue: A get Undiscovered Fringe Finished Active 0 distance from A visit(A)
© Charles van Marrewijk, An Introduction to Geographical Economics Brakman, Garretsen, and Van Marrewijk.
© Charles van Marrewijk, An Introduction to Geographical Economics Brakman, Garretsen, and Van Marrewijk.
VOORBLAD.
15. Oktober Oktober Oktober 2012.
Chapter 4 Inference About Process Quality
Squares and Square Root WALK. Solve each problem REVIEW:
1..
Do you have the Maths Factor?. Maths Can you beat this term’s Maths Challenge?
© 2012 National Heart Foundation of Australia. Slide 2.
The x- and y-Intercepts
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
Quantitative Methods for Researchers Paul Cairns
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Chapter 5 Test Review Sections 5-1 through 5-4.
SIMOCODE-DP Software.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
Addition 1’s to 20.
25 seconds left…...
Januar MDMDFSSMDMDFSSS
Week 1.
Statistical Inferences Based on Two Samples
We will resume in: 25 Minutes.
© The McGraw-Hill Companies, Inc., Chapter 12 Chi-Square.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Chapter 8 Estimation Understandable Statistics Ninth Edition
A SMALL TRUTH TO MAKE LIFE 100%
PSSA Preparation.
1 Chapter 20: Statistical Tests for Ordinal Data.
How Cells Obtain Energy from Food
Traktor- og motorlære Kapitel 1 1 Kopiering forbudt.
DISTRIBUSI PROBABILITAS KONTINYU Referensi : Walpole, RonaldWalpole. R.E., Myers, R.H., Myers, S.L., and Ye, K Probability & Statistics for Engineers.
Presentation transcript:

Computer algebra and rank statistics Alessandro Di Bucchianico HCM Workshop Coimbra November 5, 1997

2 How to run this presentation? the presentation runs itself most of the time click the mouse if you want to continue type S to stop or restart the presentation underlined items are hyperlinks to files on the World Wide Web (usually Postscripts files of technical reports) Enjoy my presentation!

3 Outline General remarks on nonparametric methods What is computer algebra? Case study: the Mann-Whitney statistic Critical values of rank test statistics Moments of the Mann-Whitney statistic Conclusions

4 General remarks on nonparametric methods Practical problems tables (limited, errors, not exact,…) limited availability in statistical software procedures in statistical software often only based on asymptotics

5 General remarks on nonparametric methods Mathematical problems in general no closed expression for distribution function direct enumeration only feasible for small sample sizes recurrences are time-consuming

6 What is computer algebra?

7 Case study: Mann-Whitney statistic independent samples X 1,…,X m and Y 1,…,Y n continuous distribution functions F, G resp. (hence, no ties with probability one) order the pooled sample from small to large

8 Mann-Whitney (continued) Wilcoxon: W m,n =  i rank(X i ) Mann-Whitney: M m,n = #{(i,j) | Y j < X i } W m,n = M m,n + ½ m (m+1) What is the distribution of M m,n under H 0 :F=G?

9 Under H 0, we have:

10

11 Computational speed (Pentium 133 MHz) Exact: P(M 5,5  4) = 1/21  computing time: 0.05 sec (generating function: degree 25) P(M 5,5  4)  Exact: P(M 20,20  138) = (rounded) computing time: 8.5 sec (generating function: degree 400) P(M 20,20  138)  Asymptotics and exact calculations are both useful!

12 Other examples of nonparametric test statistics with closed form for generating function include: Wilcoxon signed rank statistic Kendall rank correlation statistic Kolmogorov one-sample statistic Smirnov two-sample statistic Jonckheere-Terpstra statistic Consult the combinatorial literature! What to do if there is no generating function?

13 Linear rank statistics Z = 1 if th order statistic in the pooled sample is an X-observation, and 0 otherwise Streitberg & Röhmel 1986 (cf. Euler 1748): Branch-and-bound algorithm (Van de Wiel)

14 Moments of Mann-Whitney statistic Mann and Whitney (1947) calculated 4th central moment Fix and Hodges (1955) calculated 6th central moment Computations are based on recurrences Can we improve? solution: computer algebra and generating functions

15 Computing moments of M m,n recompute E(M m,n ) (following René Swarttouw)

16

17 Hence, it remains to calculate for 1  k  m : After some simplifications:

18 L’Hôpital’s rule yields that the limit equals: It is tedious to perform these computations by hand. Alternative: compute moments using Mathematica.

19 Mathematica procedures for moments of M m,n :

20 8th central moment of M m,n

21 Conclusions generating functions are also useful in nonparametric statistics computer algebra is a natural tool for mathematicians asymptotics and exact calculations complement each other

22 Topics under investigation tests for censored data power calculations nonparametric ANOVA (Kruskal-Wallis, block designs, multiple comparisons)block designs Spearman’s  (rank correlation)Spearman’s  multimedia/ World Wide Web implementation Click on underlined items to obtain Postscript file of technical report

23 References A. Di Bucchianico, Combinatorics, computer algebra and the Wilcoxon-Mann- Whitney test, to appear in J. Stat. Plann. Inf.Combinatorics, computer algebra and the Wilcoxon-Mann- Whitney test B. Streitberg and J. Röhmel, Exact distributions for permutation and rank tests: An introduction to some recently published algorithms, Stat. Software Newsletter 12 (1986), 10-18

24 References (continued) M.A. van de Wiel, Exact distributions of nonparametric statistics using computer algebra, Master’s Thesis, TUE, 1996 M.A. van de Wiel and A. Di Bucchianico, The exact distribution of Spearman’s rho, technical report The exact distribution of Spearman’s rho M.A. van de Wiel, A. Di Bucchianico and P. van der Laan, Exact distributions of nonparametric test statistics using computer algebra, technical reportExact distributions of nonparametric test statistics using computer algebra

25 References (continued) M.A. van de Wiel, Edgeworth expansions with exact cumulants for two-sample linear rank statistics, technical reportEdgeworth expansions with exact cumulants for two-sample linear rank statistics M.A. van de Wiel, Exact distributions of two-sample rank statistics and block rank statistics using computer algebra, technical report Exact distributions of two-sample rank statistics and block rank statistics using computer algebra

26 The End