Learn R Programming

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

lawstat (version 3.3)

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,641

Version

3.3

License

GPL (>= 2)

Last Published

April 1st, 2019

Functions in lawstat (3.3)

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
laplace.test

Goodness-of-fit Test Statistics for the Laplace Distribution
neuhauser.hothorn.test

Neuhauser-Hothorn Double Contrast Test for a Monotonic Trend in Variances
nig.parameter

Generate Parameters for the Normal Inverse Gaussian (NIG) Distribution
michigan

Dioxin Levels for Counties in the Upper Peninsula of Michigan
cd

Coefficient of Dispersion -- a Measure of Relative Variability
cmh.test

The Cochran-Mantel-Haenszel Chi-square Test
mma.test

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

Measures of Relative Variability -- Gini Index
popdata

Population Size of 33 Districts of the Tennessee Legislature in 1900, 1960, and 1972
pot

Apertures of Chupa Pots from Three Philippine Communities
symmetry.test

Test of Symmetry
zuni

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

Levene's Test of Equality of Variances
lnested.test

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
data1963

Population Size and Number of Senators and Representatives in 1963
j.maad

MAAD Robust Standard Deviation
bartels.test

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

Prediction Errors ("Biases") of Surface Temperature Forecasts
blackhire

Hiring Data for Eight Professions and Two Races
brunner.munzel.test

Brunner--Munzel Test for Stochastic Equality
runs.test

Runs Test for Randomness
lorenz.curve

Lorenz Curve
sj.test

Test of Normality -- SJ Test