Learn R Programming

⚠️There's a newer version (3.6) of this package.Take me there.

lawstat (version 3.4)

Tools for Biostatistics, Public Policy, and Law

Description

Statistical tests widely utilized in biostatistics, public policy, and law. Along with the well-known tests for equality of means and variances, randomness, and measures of relative variability, the package contains new robust tests of symmetry, omnibus and directional tests of normality, and their graphical counterparts such as robust QQ plot, robust trend tests for variances, etc. All implemented tests and methods are illustrated by simulations and real-life examples from legal statistics, economics, and biostatistics.

Copy Link

Version

Install

install.packages('lawstat')

Monthly Downloads

4,985

Version

3.4

License

GPL (>= 2)

Last Published

April 25th, 2020

Functions in lawstat (3.4)

cd

Coefficient of Dispersion -- a Measure of Relative Variability
bias

Prediction Errors ("Biases") of Surface Temperature Forecasts
bartels.test

Ranked Version of von Neumann's Ratio Test for Randomness
data1963

Population Size and Number of Senators and Representatives in 1963
michigan

Dioxin Levels for Counties in the Upper Peninsula of Michigan
runs.test

Runs Test for Randomness
mma.test

Mudholkar--McDermott--Aumont Test for Ordered Variances for Normal Samples
gini.index

Measures of Relative Variability -- Gini Index
levene.test

Levene's Test of Equality of Variances
j.maad

MAAD Robust Standard Deviation
laplace.test

Goodness-of-fit Test Statistics for the Laplace Distribution
popdata

Population Size of 33 Districts of the Tennessee Legislature in 1900, 1960, and 1972
sj.test

Test of Normality -- SJ Test
lnested.test

Test for a Monotonic Trend in Variances
blackhire

Hiring Data for Eight Professions and Two Races
pot

Apertures of Chupa Pots from Three Philippine Communities
zuni

The Zuni Data from the Law Case: Zuni Public School v. United States Department of Education
symmetry.test

Test of Symmetry
nig.parameter

Generate Parameters for the Normal Inverse Gaussian (NIG) Distribution
brunner.munzel.test

Brunner--Munzel Test for Stochastic Equality
neuhauser.hothorn.test

Neuhauser--Hothorn Double Contrast Test for a Monotonic Trend in Variances
robust.mmm.test

Robust Mudholkar--McDermott--Mudholkar Test for Ordered Variances
rqq

Test of Normality Using RQQ Plots
cmh.test

The Cochran--Mantel--Haenszel Chi-square Test
lorenz.curve

Lorenz Curve
rlm.test

Robust L1 Moment-Based (RLM) Goodness-of-Fit Test for the Laplace Distribution
rjb.test

Test of Normailty -- Robust Jarque--Bera Test
ltrend.test

Test for a Linear Trend in Variances