Package 'Hmisc'

Total Page:16

File Type:pdf, Size:1020Kb

Package 'Hmisc' Package ‘Hmisc’ February 15, 2013 Version 3.10-1 Date 2012-10-24 Title Harrell Miscellaneous Author Frank E Harrell Jr <[email protected]>, with contributions from Charles Dupont and many others. Maintainer Charles Dupont <[email protected]> Depends R (>= 2.4.0), methods, survival Imports lattice, cluster, survival Suggests lattice, grid, nnet, foreign, chron, acepack, TeachingDemos,rms, cluster, mice, subselect, tree Description The Hmisc library contains many functions useful for data analysis, high-level graphics, utility operations, functions for computing sam- ple size and power, importing datasets,imputing missing values, advanced table making, variable clustering, character string manipulation, conversion of S objects to LaTeX code, and recoding variables. Please submit bug reports to ’http://biostat.mc.vanderbilt.edu/trac/Hmisc’. License GPL (>= 2) LazyLoad Yes URL http://biostat.mc.vanderbilt.edu/Hmisc, http://biostat.mc.vanderbilt.edu/trac/Hmisc Repository CRAN Date/Publication 2012-10-25 14:00:08 NeedsCompilation yes 1 2 R topics documented: R topics documented: abs.error.pred . .5 all.is.numeric . .6 approxExtrap . .7 areg .............................................8 aregImpute . 12 binconf . 20 biVar............................................. 22 bootkm . 24 bpower . 26 bpplot . 28 bystats . 30 capitalize . 32 ciapower . 33 cnvrt.coords . 34 consolidate . 37 contents . 38 cpower . 40 Cs.............................................. 43 csv.get . 43 curveRep . 45 cut2 ............................................. 50 data.frame.create.modify.check . 52 dataRep . 61 deff ............................................. 63 describe . 64 discrete . 69 dotchart2 . 71 dropUnusedLevels . 73 Ecdf............................................. 74 eip.............................................. 78 equalBins . 79 errbar . 80 escapeRegex . 81 event.chart . 83 event.convert . 93 event.history . 94 find.matches . 100 first.word . 104 format.df . 105 format.pval . 108 gbayes . 109 getHdata . 116 getZip . 118 hdquantile . 119 hist.data.frame . 120 histbackback . 121 R topics documented: 3 HmiscOverview . 123 hoeffd . 129 html............................................. 131 impute . 133 inc-dec . 134 labcurve . 135 label . 144 Lag ............................................. 148 latex............................................. 149 latexDotchart . 158 ldBands . 160 list.tree . 163 makeNstr . 165 mApply . 165 mChoice . 167 mdb.get . 170 mgp.axis . 172 mhgr............................................. 173 minor.tick . 175 Misc............................................. 176 mtitle . 181 na.delete . 182 na.detail.response . 183 na.keep . 184 nstr ............................................. 185 panel.bpplot . 186 partition . 189 pc1.............................................. 190 plotCorrPrecision . 191 plsmo . 192 popower . 195 print.char.list . 197 print.char.matrix . 198 prnz............................................. 199 prselect . 200 ps.slide . 201 pstamp . 206 rcorr . 207 rcorr.cens . 209 rcorrp.cens . 211 rcspline.eval . 214 rcspline.plot . 215 rcspline.restate . 217 redun . 219 requirePackage . 221 reShape . 222 rlegend . 225 rm.boot . ..
Recommended publications
  • Study of Quantile-Based Cumulative R´Enyi Information Measure
    STATISTICS, OPTIMIZATION AND INFORMATION COMPUTING Stat., Optim. Inf. Comput., Vol. x, December 2020, pp 0–23. Published online in International Academic Press (www.IAPress.org) Study of Quantile-Based Cumulative Re´nyi Information Measure Rekha Rani , Vikas Kumar ∗ Department of Applied Sciences, UIET, M. D. University, Rohtak Abstract In this paper, we proposed a quantile version of cumulative Re´nyi entropy for residual and past lifetimes and study their properties. We also study quantile-based cumulative Re´nyi entropy for extreme order statistic when random variable untruncated or truncated in nature. Some characterization results are studied using the relationship between proposed information measure and reliability measure. We also examine it in relation to some applied problems such as weighted and equilibrium models. Keywords Re´nyi entropy, Cumulative residual entropy, Quantile function, Order statistic, Reliability measures, Weighted entropy. AMS 2010 subject classifications 62N05, 90B25 DOI: 10.19139/soic-2310-5070-1034 1. Introduction Let X be a random variable with distribution function F (x) and quantile function Q(u). Then, the quantile function of X is defined by Q(u) = F −1(u) = inffx j F (x) ≥ ug; 0 ≤ u ≤ 1: (1) Here and throughout the article, X is absolutely continuous nonnegative random variable with probability density ¯ dQ(u) function (pdf) f(x) and survival function F (x). If f(:) is the pdf of X, then f(Q(u)) and q(u) = du respectively known as the density quantile function and the quantile density function (see Parzen (1979)). Using (1.1), we have F (Q(u)) = u and differentiating it with respect to u obtain q(u)fQ(u) = 1: (2) The mean of the distribution assumed to be finite, is Z Z 1 1 E(X) = Q(p)dp = (1 − p)q(p)dp: (3) 0 0 In certain cases the approach based on quantile functions is more fruitful than the use of cumulative distribution functions, since quantile functions are less influenced by extreme statistical observations.
    [Show full text]
  • Statistical Size Distributions in Economics and Actuarial Sciences
    Statistical Size Distributions in Economics and Actuarial Sciences CHRISTIAN KLEIBER Universita¨t Dortmund, Germany SAMUEL KOTZ The George Washington University A JOHN WILEY AND SONS, INC., PUBLICATION Statistical Size Distributions in Economics and Actuarial Sciences WILEY SERIES IN PROBABILITY AND STATISTICS Established by WALTER A. SHEWHART and SAMUEL S. WILKS Editors: David J. Balding, Peter Bloomfield, Noel A. C. Cressie, Nicholas I. Fisher, Iain M. Johnstone, J. B. Kadane, Louise M. Ryan, David W. Scott, Adrian F. M. Smith, Jozef L. Teugels; Editors Emeriti: Vic Barnett, J. Stuart Hunter, David G. Kendall A complete list of the titles in this series appears at the end of this volume. Statistical Size Distributions in Economics and Actuarial Sciences CHRISTIAN KLEIBER Universita¨t Dortmund, Germany SAMUEL KOTZ The George Washington University A JOHN WILEY AND SONS, INC., PUBLICATION Copyright q 2003 by John Wiley & Sons, Inc. All rights reserved. Published by John Wiley & Sons, Inc., Hoboken, New Jersey. Published simultaneously in Canada. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning, or otherwise, except as permitted under Section 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, Inc., 222 Rosewood Drive, Danvers, MA 01923, 978-750-8400, fax 978- 750-4470, or on the web at www.copyright.com. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, e-mail: [email protected].
    [Show full text]
  • Quantile Approach of Generalized Cumulative Residual Inform- Ation Measure of Order (Α, Β)
    JIRSS (2020) Vol. 19, No. 02, pp 67-99 DOI:10.52547/jirss.19.2.67 Quantile Approach of Generalized Cumulative Residual Inform- ation Measure of Order (α, β) Vikas Kumar 1, Rekha Rani 1, and Nirdesh Singh 2. 1 Department of Applied Sciences, UIET, M. D. University, Rohtak-124001, India. 2 Department of Electrical Engineering, DCRUST, Murthal Sonipat-131039, India. Received: 04/01/2020, Revision received: 11/11/2020, Published online: 28/01/2021 Abstract. In this paper, we introduce the concept of quantile-based generalized cumulative residual entropy of order (α, β) for residual and past lifetimes and study their properties. Further, we study the proposed information measure for series and parallel systems when random variables are untruncated or truncated in nature and some characterization results are presented. At the end, we study generalized weighted dynamic cumulative residual entropy in terms of quantile functions. Keywords. Generalized Entropy,Cumulative Residual Entropy,Order Statistics, Quan- tile Function, Weighted Entropy. MSC: 62N05, 90B25. 1 Introduction A probability distribution can be specified either in terms of distribution function or by the quantile function. Although both convey the same information about the Corresponding Author: Vikas Kumar (vikas_iitr82@yahoo:co:in) Rekha Rani ([email protected]) Nirdesh Singh ([email protected]) 68 V. Kumar et al. distribution, with different interpretations, the concepts and methodologies based on distribution functions are traditionally employed in statistical theory and practice. Let X be a random variable with distribution function F(x) and quantile function Q(u). Then, the quantile function of X is defined by 1 Q(u) = F− (u) = inf x F(x) u ; 0 u 1: (1.1) f j ≥ g ≤ ≤ Here and throughout the article, X is a absolutely continuous nonnegative random variable with probability density function (pdf) f (x) and survival function F¯(x).
    [Show full text]
  • Pitch Angle Distribution Function of Local Spiral Galaxies and Its Role in Galactic Structure Michael S
    Draft version July 9, 2019 Typeset using LATEX twocolumn style in AASTeX62 Pitch Angle Distribution Function of Local Spiral Galaxies and Its Role in Galactic Structure 1, 2 3 1, 2 4 1, 2 Michael S. Fusco, Benjamin L. Davis, Daniel Kennefick, Marc S. Seigar, and Julia Kennefick 1Arkansas Center for Space and Planetary Sciences, Fayetteville, AR 72701 2Department of Physics, University of Arkansas, Fayetteville, AR 72701 3Centre for Astrophysics and Supercomputing, Swinburne University of Technology, Hawthorn, Victoria 3122, Australia 4College of Science and Engineering , University of Minnesota, Duluth MN, 55812 (Received July 31, 2018; Revised July 9, 2019; Accepted July 9, 2019) Submitted to ApJ ABSTRACT We present an analysis of the Pitch Angle Distribution Function (PADF) and Black Hole Mass Function (BHMF) of a sample of nearby galaxies selected from the Carnegie-Irvine Galaxy Survey (CGS). Our subset consists of spiral galaxies with MB > −19:12 and limiting luminosity distance LD < 25:4Mpc (z = 0:00572). These constraints result in a set of 74 spiral galaxies, 51 with measurable pitch angles. This is an extension of work by Davis et. al on a different subset of the CGS with the same limiting magnitude as our sample, but Mb brighter than −19:12, but with the same limiting magnitude as our sample. Their selection of galaxies was magnitude limited for purposes of sample completeness. Folding our subset into this study on local galaxies yields a group restricted only in luminosity-distance rather than both luminosity-distance and Mb. We produce a BHMF for this combined sample, representative of spiral galaxies in the local universe.
    [Show full text]
  • Systems of Frequency Distributions for Water and Environmental Engineering Vijay P
    Cambridge University Press 978-1-108-49464-9 — Systems of Frequency Distributions for Water and Environmental Engineering Vijay P. Singh , Lan Zhang Frontmatter More Information SYSTEMS OF FREQUENCY DISTRIBUTIONS FOR WATER AND ENVIRONMENTAL ENGINEERING A multitude of processes in hydrology and environmental engineering are either random or entail random components that are characterized by random variables. These variables are described by frequency distributions. This book provides an overview of different systems of frequency distributions, their properties, and their applications to the fields of water resources and environmental engineering. A variety of systems are covered, including the Pearson system, the Burr system, and systems commonly applied in economics, such as the D’Addario, Dagum, Stoppa, and Esteban systems. The latter chapters focus on the Singh system and the frequency distributions deduced from Bessel functions, maximum entropy theory, and the transformations of random variables. The final chapter introduces the genetic theory of frequency distributions. Using real-world data, this book provides a valuable reference for researchers, graduate students, and professionals interested in frequency analysis. vijay p. singh is a University Distinguished Professor, a Regents Professor, and Caroline and William N. Lehrer Distinguished Chair in Water Engineering at Texas A&M Univer- sity. He has published more than 1,220 journal articles, 30 books, 70 edited reference books, 113 book chapters, and 314 conference papers in the areas of hydrology, groundwater, hydraulics, irrigation, pollutant transport, copulas, entropy, and water resources. He has received 95 national and international awards, including the Arid Lands Hydraulic Engin- eering Award; the Richard R. Torrens Award; the Norman Medal; the EWRI Lifetime Achievement Award given by the American Society of Civil Engineers (ASCE); the Ray K.
    [Show full text]
  • Package 'Hmisc'
    Package ‘Hmisc’ February 28, 2021 Version 4.5-0 Date 2021-02-27 Title Harrell Miscellaneous Author Frank E Harrell Jr <[email protected]>, with contributions from Charles Dupont and many others. Maintainer Frank E Harrell Jr <[email protected]> Depends lattice, survival (>= 3.1-6), Formula, ggplot2 (>= 2.2) Imports methods, latticeExtra, cluster, rpart, nnet, foreign, gtable, grid, gridExtra, data.table, htmlTable (>= 1.11.0), viridis, htmltools, base64enc Suggests acepack, chron, rms, mice, tables, knitr, plotly (>= 4.5.6), rlang, plyr, VGAM Description Contains many functions useful for data analysis, high-level graphics, utility operations, functions for computing sample size and power, simulation, importing and annotating datasets, imputing missing values, advanced table making, variable clustering, character string manipulation, conversion of R objects to LaTeX and html code, and recoding variables. License GPL (>= 2) LazyLoad Yes URL https://hbiostat.org/R/Hmisc/, https://github.com/harrelfe/Hmisc/ Encoding UTF-8 RoxygenNote 7.1.1 NeedsCompilation yes Repository CRAN Date/Publication 2021-02-28 06:00:07 UTC 1 2 R topics documented: R topics documented: abs.error.pred . .5 addMarginal . .7 all.is.numeric . .8 approxExtrap . .9 areg ............................................. 10 aregImpute . 14 binconf . 23 biVar............................................. 25 bootkm . 28 bpower . 29 bpplot . 32 bystats . 33 capitalize . 35 ciapower . 36 cnvrt.coords . 37 colorFacet . 40 combplotp . 41 consolidate . 43 contents . 44 cpower . 46 Cs.............................................. 49 csv.get . 50 curveRep . 52 cut2 ............................................. 57 data.frame.create.modify.check . 58 dataRep . 68 deff ............................................. 70 describe . 71 discrete . 77 dotchart2 . 79 dotchart3 . 81 dotchartpl . 86 Ecdf............................................. 89 equalBins . 93 errbar . 95 escapeRegex . 96 estSeqMarkovOrd . 97 estSeqSim .
    [Show full text]
  • 991022289504303411.Pdf
    Copyright Undertaking This thesis is protected by copyright, with all rights reserved. By reading and using the thesis, the reader understands and agrees to the following terms: 1. The reader will abide by the rules and legal ordinances governing copyright regarding the use of the thesis. 2. The reader will use the thesis for the purpose of research or private study only and not for distribution or further reproduction or any other purpose. 3. The reader agrees to indemnify and hold the University harmless from and against any loss, damage, cost, liability or expenses arising from copyright infringement or unauthorized usage. IMPORTANT If you have reasons to believe that any materials in this thesis are deemed not suitable to be distributed in this form, or a copyright owner having difficulty with the material being included in our database, please contact [email protected] providing details. The Library will look into your claim and consider taking remedial action upon receipt of the written requests. Pao Yue-kong Library, The Hong Kong Polytechnic University, Hung Hom, Kowloon, Hong Kong http://www.lib.polyu.edu.hk STATISTICAL SIGNAL PROCESSING FOR ACOUSTIC DIRECTION FINDING AND FOR ROADWAY SOUND-LEVEL DISTRIBUTION MODELING MUHAMMAD MUAZ Ph.D The Hong Kong Polytechnic University 2018 The Hong Kong Polytechnic University Department of Electronic and Information Engineering Statistical Signal Processing for Acoustic Direction Finding and for Roadway Sound-Level Distribution Modeling Muhammad MUAZ A thesis submitted in partial fulfilment of the requirements for the degree of Doctor of Philosophy April 2018 CERTIFICATE OF ORIGINALITY I hereby declare that this thesis is my own work and that, to the best of my knowledge and belief, it reproduces no material previously published or written, nor material that has been accepted for the award of any other degree or diploma, except where due acknowledgment has been made in the text.
    [Show full text]
  • Thesis Reference
    Thesis Robust methods for personal income distribution models VICTORIA-FESER, Maria-Pia Abstract In the present thesis, robust statistical techniques are applied and developed for the economic problem of the analysis of personal income distributions and inequality measures. We follow the approach based on influence functions in order to develop robust estimators for the parametric models describing personal income distributions when the data are censored and when they are grouped. We also build a robust procedure for a test of choice between two models and analyse the robustness properties of goodness-of-fit tests. The link between economic and robustness properties is studied through the analysis of inequality measures. We begin our discussion by presenting the economic framework from which the statistical developments are made, namely the study of the personal income distribution and inequality measures. We then discuss the robust concepts that serve as basis for the following steps and compute optimal bounded-influence estimators for different personal income distribution models when the data are continuous and complete. In a third step, we study the case of censored data and propose a generalization of the EM [...] Reference VICTORIA-FESER, Maria-Pia. Robust methods for personal income distribution models. Thèse de doctorat : Univ. Genève, 1993, no. SES 384 URN : urn:nbn:ch:unige-64509 DOI : 10.13097/archive-ouverte/unige:6450 Available at: http://archive-ouverte.unige.ch/unige:6450 Disclaimer: layout of this document may differ from the published version. 1 / 1 2 Robust Methods for Personal Income Distribution Models Maria-Pia Victoria Feser Submitted for the degree of Ph.D in Econometrics and Statistics Faculty of Economic and Social Sciences University of Geneva, Switzerland Accepted on the recommendation of Dr.
    [Show full text]
  • Communications in Statistics: Theory and Methods: 1980–1989
    A Complete Bibliography of Publications in Communications in Statistics: Theory and Methods: 1980{1989 Nelson H. F. Beebe University of Utah Department of Mathematics, 110 LCB 155 S 1400 E RM 233 Salt Lake City, UT 84112-0090 USA Tel: +1 801 581 5254 FAX: +1 801 581 4148 E-mail: [email protected], [email protected], [email protected] (Internet) WWW URL: http://www.math.utah.edu/~beebe/ 13 October 2017 Version 1.02 Title word cross-reference (0 ≤ m<k) [PP87]. (l + 1) [Shi82c]. (M;S) [ER80]. (N − 1) [GHO86]. (n − l) [BM81b]. (Σ + Π) [SN89a]. 1 [HY86, SD83, SD84a, Wil88b]. 2 [Kul85, SD83]. 26 [Gup88a]. 2M [Shi82c, GC84, KM84c]. 2n [EHA84, Kuw89]. 2n−p [MCN81]. 2l + 1 [Kuw89, Shi82c]. 2 × 2 [Bur81, Hab89, Mar89a, SG84c, TO85]. 2 × 3 [GR81]. 2 × j [Wal87]. 3 [BV89]. m 2 3:1 [Gup88a]. 3 [Kuw83]. 3 × 3[BV89]. [ER83]. 1 [RMW86]. K [Gup82]. p [Nyq83]. r [KK81]. A [SS87b]. α [AR83, Pil85]. AR(1) [And88, And89a, DD85b, Mag89, Rus88]. AR(2) [SM87]. ARMA(P; Q) 2 [Hie85]. C [Gup88d, Arb85, HB86]. Cp [SCT83]. cX¯ + d [Roi87]. χ + −1 [BDF 84]. D [MH85, SS87b, Czi88, PG83]. D [KSR88]. do [RS80]. ∆ [Bof84]. F [BDF+84, Dey89, HF80, Joh86b, Lam86, Lec85, Mos87, MSW89, PL83, SD84b, SB82a, YM85, ZG80, MT85, SFR84]. F fN1g = 1 [McC82]. G [Rao81b, SD83, JB84]. Γ [HT83b]. h [JB84]. i × j [Mic85]. i × j × 2[Chu83]. 1 2 i × j × k [SS86d]. K [PK85a, AR83, AH86a, BCDE85, BG83, CS87a, HK87, KP81, LC85, PP87, PTA89, SJ87a, Shi80, Som85, Som89a, SM82b, Won82].
    [Show full text]