Learn R Programming

Accompanies the book Nonparametric Statistical Methods Using R, Second Edition by Kloke and McKean. Includes methods, datasets, and random number generation useful for the study of robust and/or nonparametric statistics.

Installation

  • npsm may be installed from

Note: The github versions may represent developmental versions.

  • If using in conjunction with a read of or course based off of the book mentioned above, then it would be recommended for most to install all dependencies, up to and including, Suggests.

Fine Print

As with R itself, npsm is free software and comes with ABSOLUTELY NO WARRANTY.

Copy Link

Version

Install

install.packages('npsm')

Monthly Downloads

326

Version

2.0.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

John Kloke

Last Published

May 26th, 2024

Functions in npsm (2.0.0)

energy

Energy as a Function of temperature difference.
gehan.test

Gehan generalization the Wilcoxon two-sample test
internal

Internal Functions
fp.test

Placement Test for the Behrens-Fisher problem.
huitema496

Analysis of Covarince Data Set
hodgkins

Relapse-Free Survival Times for Hodgkin's Disease Patients
kancovarown

routine used in the ANCOVA table obtained by kancova
kancova

Robust Analysis of Covariance under Heterogeneous Slopes for a k-way layout
insulation

Insulating Fluid Data
latour

Chateau Latour Wine Data
knn_cv

Train a k nearest neighbors (knn) classifer via cross validation (cv).
place

Placements.
getxact2

Design Function for Robust Analysis of Covariance
getxact

Design Function for Robust Analysis of Covariance
plank

Plank data
jonckheere

Jonckheere's Test for Ordered Alternatives
onecovahomog

Robust Analysis of Covariance under Heterogeneous Slopes
onecovaheter

Robust Analysis of Covariance under Heterogeneous Slopes
onecova

Robust Analysis of Covariance under Heterogeneous Slopes
hemorrhage

Hemorrhage data from Dupont.
poly

A Simulated Polynomial Data Set.
plot.knn_cv

plot function for knn_cv
mood.ci

Mood Median Confidence Interval
firstbase

Rounding First Base.
hogg.test

Hogg's Adaptive Test
hodges_lehmann.ci

Hodges-Lehmann type estimation and confidence intervals.
quail2

Quail from a two-factor experiment.
rlaplace

Random Laplace.
polydeg

Degree of Polynomial Determination
rcn

random contaminated normal deviates
print

Internal print functions
prostate

DES for treatment of prostate cancer.
rcnx

Fat-Finger Error Contaminated Normal Deviates
signtest_pvalue

p-value for a one sample sign test
weather

January Weather Data for Kalamazoo
rs

Simulated Regression Model
vanElteren.test

vanElteren test for stratified analysis
sim_class2

A simulated classification example with two variables and two classes (labels).
seinfeld

Seinfeld --- the sitcom --- viewership counts by episode
sievers

Doksum and Sievers rat data
qhic

qhic
rank.test

General scores rank test for two sample problem
sincos

Sine Cosine Model
simon

Simon (the memory game) dataset
wilson.ci

Wilson (score) confidence interval for a population proportion.
speed

Predict top speed based on miles per gallon
turtle

Turtle Data
cancertrt

Survival time based on two treatments
centerx

Center Matrix
fk.test

Two-sample Fligner-Kileen test for homogeneous scales.
fkk.test

k-Sample version of the Fligner-Kileen test for homogeneous scales.
cor.boot.ci

Confidence interval for a correlation based on a bootstrap.
baseball_players1000

Career Information for a Random Sample of 1000 Baseball Players
acov231

Analysis of Covariance Example for a two by three two-way design
HoggsQs

Hogg's Q1 and Q2.
cloud

Cloud Dewpoint
bb2010

Batting statistics for the 2010 baseball season.
aligned.test

Aligned Rank Test
SCUD

Cyclone Data
blood.plasma

Blood plasma measurements related to total triglyceride level
brewers1982

Basic Summaries of Boxscores for the Milwaukee Brewers 1982 Season