IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v028i03.html
   My bibliography  Save this article

lawstat: An R Package for Law, Public Policy and Biostatistics

Author

Listed:
  • Hui, Wallace
  • Gel, Yulia R.
  • Gastwirth, Joseph L.

Abstract

We present a new R software package lawstat that contains statistical tests and procedures that are utilized in various litigations on securities law, antitrust law, equal employment and discrimination as well as in public policy and biostatistics. Along with the well known tests such as the Bartels test, runs test, tests of homogeneity of several sample proportions, the Brunner-Munzel tests, the Lorenz curve, the Cochran-Mantel-Haenszel test and others, the package contains new distribution-free robust tests for symmetry, robust tests for normality that are more sensitive to heavy-tailed departures, measures of relative variability, Levene-type tests against trends in variances etc. All implemented tests and methods are illustrated by simulations and real-life examples from legal cases, economics and biostatistics. Although the package is called lawstat, it presents implementation and discussion of statistical procedures and tests that are also employed in a variety of other applications, e.g., biostatistics, environmental studies, social sciences and others, in other words, all applications utilizing statistical data analysis. Hence, name of the package should not be considered as a restriction to legal statistics. The package will be useful to applied statisticians and "quantitatively alert practitioners" of other subjects as well as an asset in teaching statistical courses.

Suggested Citation

  • Hui, Wallace & Gel, Yulia R. & Gastwirth, Joseph L., 2008. "lawstat: An R Package for Law, Public Policy and Biostatistics," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 28(i03).
  • Handle: RePEc:jss:jstsof:v:028:i03
    DOI: http://hdl.handle.net/10.18637/jss.v028.i03
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v028i03/v28i03.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v028i03/lawstat_2.2.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v028i03/v28i03.R
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v028i03/Merck.dat
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v028.i03?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Einmahl, J.H.J. & McKeague, I.W., 2002. "Empirical Likelihood based on Hypothesis Testing," Other publications TiSEM 402576fa-8c0e-45e2-a394-8, Tilburg University, School of Economics and Management.
    2. Gel, Yulia R. & Miao, Weiwen & Gastwirth, Joseph L., 2007. "Robust directed tests of normality against heavy-tailed alternatives," Computational Statistics & Data Analysis, Elsevier, vol. 51(5), pages 2734-2746, February.
    3. Antonietta Mira, 1999. "Distribution-free test for symmetry based on Bonferroni's measure," Journal of Applied Statistics, Taylor & Francis Journals, vol. 26(8), pages 959-972.
    4. Neuhauser, Markus & Hothorn, Ludwig A., 2000. "Parametric location-scale and scale trend tests based on Levene's transformation," Computational Statistics & Data Analysis, Elsevier, vol. 33(2), pages 189-200, April.
    5. Bonett, Douglas G. & Seier, Edith, 2002. "A test of normality with high uniform power," Computational Statistics & Data Analysis, Elsevier, vol. 40(3), pages 435-445, September.
    6. Gel, Yulia R. & Gastwirth, Joseph L., 2008. "A robust modification of the Jarque-Bera test of normality," Economics Letters, Elsevier, vol. 99(1), pages 30-32, April.
    7. Jarque, Carlos M. & Bera, Anil K., 1980. "Efficient tests for normality, homoscedasticity and serial independence of regression residuals," Economics Letters, Elsevier, vol. 6(3), pages 255-259.
    8. Poitras, Geoffrey, 2006. "More on the correct use of omnibus tests for normality," Economics Letters, Elsevier, vol. 90(3), pages 304-309, March.
    9. Ole E. Barndorff-Nielsen, 1997. "Processes of normal inverse Gaussian type," Finance and Stochastics, Springer, vol. 2(1), pages 41-68.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Aiko Sekita & Hiroshi Kawasaki & Ayano Fukushima-Nomura & Kiyoshi Yashiro & Keiji Tanese & Susumu Toshima & Koichi Ashizaki & Tomohiro Miyai & Junshi Yazaki & Atsuo Kobayashi & Shinichi Namba & Tatsuh, 2023. "Multifaceted analysis of cross-tissue transcriptomes reveals phenotype–endotype associations in atopic dermatitis," Nature Communications, Nature, vol. 14(1), pages 1-16, December.
    2. Guglielmo Lione & Francesca Brescia & Luana Giordano & Paolo Gonthier, 2022. "Effects of Seasonality and Climate on the Propagule Deposition Patterns of the Chestnut Blight Pathogen Cryphonectria parasitica in Orchards of the Alpine District of North Western Italy," Agriculture, MDPI, vol. 12(5), pages 1-24, April.
    3. I. Parra-Frutos, 2013. "Testing homogeneity of variances with unequal sample sizes," Computational Statistics, Springer, vol. 28(3), pages 1269-1297, June.
    4. Lyubchich, Vyacheslav & Wang, Xingyu & Heyes, Andrew & Gel, Yulia R., 2016. "A distribution-free m-out-of-n bootstrap approach to testing symmetry about an unknown median," Computational Statistics & Data Analysis, Elsevier, vol. 104(C), pages 1-9.
    5. Do, Linh Phuong Catherine & Lyócsa, Štefan & Molnár, Peter, 2021. "Residual electricity demand: An empirical investigation," Applied Energy, Elsevier, vol. 283(C).
    6. Punzo, Antonio & Bagnato, Luca, 2022. "Dimension-wise scaled normal mixtures with application to finance and biometry," Journal of Multivariate Analysis, Elsevier, vol. 191(C).
    7. Lai Yinglei & Gastwirth Joseph L., 2015. "Outlier reset CUSUM for the exploration of copy number alteration data," Statistical Applications in Genetics and Molecular Biology, De Gruyter, vol. 14(4), pages 333-345, August.
    8. Víctor Leiva & Jimmy Corzo & Myrian E. Vergara & Raydonal Ospina & Cecilia Castro, 2024. "A Statistical Methodology for Evaluating Asymmetry after Normalization with Application to Genomic Data," Stats, MDPI, vol. 7(3), pages 1-17, September.
    9. Artur Tiago Silva & Maria Manuela Portela, 2018. "Using Climate-Flood Links and CMIP5 Projections to Assess Flood Design Levels Under Climate Change Scenarios: A Case Study in Southern Brazil," Water Resources Management: An International Journal, Published for the European Water Resources Association (EWRA), Springer;European Water Resources Association (EWRA), vol. 32(15), pages 4879-4893, December.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. repec:jss:jstsof:28:i03 is not listed on IDEAS
    2. Charalampos Basdekis & Apostolos Christopoulos & Alexandros Gkolfinopoulos & Ioannis Katsampoxakis, 2022. "VaR as a risk management framework for the spot and futures tanker markets," Operational Research, Springer, vol. 22(4), pages 4287-4352, September.
    3. Shalit, Haim, 2012. "Using OLS to test for normality," Statistics & Probability Letters, Elsevier, vol. 82(11), pages 2050-2058.
    4. Jurgita Arnastauskaitė & Tomas Ruzgas & Mindaugas Bražėnas, 2021. "An Exhaustive Power Comparison of Normality Tests," Mathematics, MDPI, vol. 9(7), pages 1-20, April.
    5. Gel, Yulia R., 2010. "Test of fit for a Laplace distribution against heavier tailed alternatives," Computational Statistics & Data Analysis, Elsevier, vol. 54(4), pages 958-965, April.
    6. Aldo Goia & Ernesto Salinelli & Pascal Sarda, 2015. "A new powerful version of the BUS test of normality," Statistical Methods & Applications, Springer;Società Italiana di Statistica, vol. 24(3), pages 449-474, September.
    7. Coin, Daniele, 2008. "A goodness-of-fit test for normality based on polynomial regression," Computational Statistics & Data Analysis, Elsevier, vol. 52(4), pages 2185-2198, January.
    8. Mohamed Boutahar, 2010. "Behaviour of skewness, kurtosis and normality tests in long memory data," Statistical Methods & Applications, Springer;Società Italiana di Statistica, vol. 19(2), pages 193-215, June.
    9. Tom Broekel & Thomas Brenner, 2011. "Regional factors and innovativeness: an empirical analysis of four German industries," The Annals of Regional Science, Springer;Western Regional Science Association, vol. 47(1), pages 169-194, August.
    10. Gel, Yulia R. & Miao, Weiwen & Gastwirth, Joseph L., 2007. "Robust directed tests of normality against heavy-tailed alternatives," Computational Statistics & Data Analysis, Elsevier, vol. 51(5), pages 2734-2746, February.
    11. Kucherov, Dmitry G. & Tsybova, Victoria S. & Yu. Lisovskaia, Antonina & Alkanova, Olga N., 2022. "Brand orientation, employer branding and internal branding: Do they effect on recruitment during the COVID-19 pandemic?," Journal of Business Research, Elsevier, vol. 151(C), pages 126-137.
    12. King, Maxwell L. & Zhang, Xibin & Akram, Muhammad, 2020. "Hypothesis testing based on a vector of statistics," Journal of Econometrics, Elsevier, vol. 219(2), pages 425-455.
    13. Snezhana Gocheva-Ilieva & Iliycho Iliev, 2016. "Using Generalized PathSeeker Regularized Regression for Modeling and Prediction of Output Power of CuBr Laser," Proceedings of International Academic Conferences 4006523, International Institute of Social and Economic Sciences.
    14. Gel, Yulia R. & Gastwirth, Joseph L., 2008. "A robust modification of the Jarque-Bera test of normality," Economics Letters, Elsevier, vol. 99(1), pages 30-32, April.
    15. Kim, Namhyun, 2016. "A robustified Jarque–Bera test for multivariate normality," Economics Letters, Elsevier, vol. 140(C), pages 48-52.
    16. Timo Kuosmanen & Mogens Fosgerau, 2009. "Neoclassical versus Frontier Production Models? Testing for the Skewness of Regression Residuals," Scandinavian Journal of Economics, Wiley Blackwell, vol. 111(2), pages 351-367, June.
    17. Luboš Střelec, 2008. "Comparison of power of modified Jarque-Bera normality tests and selected tests of normality [Srovnání síly modifikovaných Jarque-Bera testů a vybraných testů normality]," Acta Universitatis Agriculturae et Silviculturae Mendelianae Brunensis, Mendel University Press, vol. 56(6), pages 137-148.
    18. Islam, Tanweer ul, 2008. "Normality Testing- A New Direction," MPRA Paper 16452, University Library of Munich, Germany.
    19. Fageot, Julien & Fallah, Alireza & Unser, Michael, 2017. "Multidimensional Lévy white noise in weighted Besov spaces," Stochastic Processes and their Applications, Elsevier, vol. 127(5), pages 1599-1621.
    20. Bierens, H.J. & Broersma, L., 1991. "The relation between unemployment and interest rate : some international evidence," Serie Research Memoranda 0112, VU University Amsterdam, Faculty of Economics, Business Administration and Econometrics.
    21. Ngene, Geoffrey & Tah, Kenneth A. & Darrat, Ali F., 2017. "Long memory or structural breaks: Some evidence for African stock markets," Review of Financial Economics, Elsevier, vol. 34(C), pages 61-73.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:028:i03. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.