Package: npsm 2.0.0

John Kloke

npsm: Nonparametric Statistical Methods

Accompanies the book "Nonparametric Statistical Methods Using R, 2nd Edition" by Kloke and McKean (2024, ISBN:9780367651350). Includes methods, datasets, and random number generation useful for the study of robust and/or nonparametric statistics. Emphasizes classical nonparametric methods for a variety of designs --- especially one-sample and two-sample problems. Includes methods for general scores, including estimation and testing for the two-sample location problem as well as Hogg's adaptive method.

Authors:John Kloke [aut, cre], Joseph McKean [aut]

npsm_2.0.0.tar.gz
npsm_2.0.0.zip(r-4.5)npsm_2.0.0.zip(r-4.4)npsm_2.0.0.zip(r-4.3)
npsm_2.0.0.tgz(r-4.4-any)npsm_2.0.0.tgz(r-4.3-any)
npsm_2.0.0.tar.gz(r-4.5-noble)npsm_2.0.0.tar.gz(r-4.4-noble)
npsm_2.0.0.tgz(r-4.4-emscripten)npsm_2.0.0.tgz(r-4.3-emscripten)
npsm.pdf |npsm.html
npsm/json (API)

# Install 'npsm' in R:
install.packages('npsm', repos = c('https://kloke.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/kloke/npsm/issues

Datasets:
  • SCUD - Cyclone Data
  • acov231 - Analysis of Covariance Example for a two by three two-way design
  • baseball_players1000 - Career Information for a Random Sample of 1000 Baseball Players
  • bb2010 - Batting statistics for the 2010 baseball season.
  • blood.plasma - Blood plasma measurements related to total triglyceride level
  • brewers1982 - Basic Summaries of Boxscores for the Milwaukee Brewers 1982 Season
  • cancertrt - Survival time based on two treatments
  • cloud - Cloud Dewpoint
  • energy - Energy as a Function of temperature difference.
  • firstbase - Rounding First Base.
  • hemorrhage - Hemorrhage data from Dupont.
  • hodgkins - Relapse-Free Survival Times for Hodgkin's Disease Patients
  • huitema496 - Analysis of Covarince Data Set
  • insulation - Insulating Fluid Data
  • latour - Chateau Latour Wine Data
  • plank - Plank data
  • poly - A Simulated Polynomial Data Set.
  • prostate - DES for treatment of prostate cancer.
  • qhic - Qhic
  • quail2 - Quail from a two-factor experiment.
  • rs - Simulated Regression Model
  • seinfeld - Seinfeld - the sitcom - viewership counts by episode
  • sievers - Doksum and Sievers rat data
  • sim_class2 - A simulated classification example with two variables and two classes (labels).
  • simon - Simon (the memory game) dataset
  • sincos - Sine Cosine Model
  • speed - Predict top speed based on miles per gallon
  • turtle - Turtle Data
  • weather - January Weather Data for Kalamazoo

On CRAN:

42 exports 0.84 score 5 dependencies 59 scripts 286 downloads

Last updated 3 months agofrom:f1dd5bacc0. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 11 2024
R-4.5-winNOTESep 11 2024
R-4.5-linuxNOTESep 11 2024
R-4.4-winOKSep 11 2024
R-4.4-macOKSep 11 2024
R-4.3-winOKSep 11 2024
R-4.3-macOKSep 11 2024

Exports:aligned.testcenterxcor.boot.cifk.testfkk.testfp.testgehan.testgetxactgetxact2hl.cihodges_lehmann.cihogg.testjonckheerekancovakancovarownknn_cvlmeanmood.cionecovaonecovaheteronecovahomogplaceplot.knn_cvpolydegprint.fkk.testprint.hogg.testprint.knn_cvprint.npsm.ciprint.rank.testQ1Q2rank.testrcnrcn_5_5rcnxrcnx_01_100rcnx100rlaplacesigntest_pvalueumeanvanElteren.testwilson.ci

Dependencies:classMASSplyrRcppRfit

Readme and manuals

Help Manual

Help pageTopics
Analysis of Covariance Example for a two by three two-way designacov231
Aligned Rank Testaligned.test
Career Information for a Random Sample of 1000 Baseball Playersbaseball_players1000
Batting statistics for the 2010 baseball season.bb2010
Blood plasma measurements related to total triglyceride levelblood.plasma
Basic Summaries of Boxscores for the Milwaukee Brewers 1982 Seasonbrewers1982
Survival time based on two treatmentscancertrt
Center Matrixcenterx
Cloud Dewpointcloud
Confidence interval for a correlation based on a bootstrap.cor.boot.ci
Energy as a Function of temperature difference.energy
Rounding First Base.firstbase
Two-sample Fligner-Kileen test for homogeneous scales.fk.test
k-Sample version of the Fligner-Kileen test for homogeneous scales.fkk.test
Placement Test for the Behrens-Fisher problem.fp.test
Gehan generalization the Wilcoxon two-sample testgehan.test
Design Function for Robust Analysis of Covariancegetxact
Design Function for Robust Analysis of Covariancegetxact2
Hemorrhage data from Dupont.hemorrhage
Hodges-Lehmann type estimation and confidence intervals.hl.ci hodges_lehmann.ci
Relapse-Free Survival Times for Hodgkin's Disease Patientshodgkins
Hogg's Adaptive Testhogg.test
Hogg's Q1 and Q2.HoggsQs Q1 Q2
Analysis of Covarince Data Sethuitema496
Insulating Fluid Datainsulation
Internal Functionslmean umean
Jonckheere's Test for Ordered Alternativesjonckheere
Robust Analysis of Covariance under Heterogeneous Slopes for a k-way layoutkancova
routine used in the ANCOVA table obtained by kancovakancovarown
Train a k nearest neighbors (knn) classifer via cross validation (cv).knn_cv
Chateau Latour Wine Datalatour
Mood Median Confidence Intervalmood.ci
Robust Analysis of Covariance under Heterogeneous Slopesonecova
Robust Analysis of Covariance under Heterogeneous Slopesonecovaheter
Robust Analysis of Covariance under Heterogeneous Slopesonecovahomog
Placements.place
Plank dataplank
plot function for knn_cvplot.knn_cv
A Simulated Polynomial Data Set.poly
Degree of Polynomial Determinationpolydeg
Internal print functionsprint.fkk.test print.hogg.test print.knn_cv print.npsm.ci print.rank.test
DES for treatment of prostate cancer.prostate
qhicqhic
Quail from a two-factor experiment.quail2
General scores rank test for two sample problemrank.test
random contaminated normal deviatesrcn rcn_5_5
Fat-Finger Error Contaminated Normal Deviatesrcnx rcnx100 rcnx_01_100
Random Laplace.rlaplace
Simulated Regression Modelrs
Cyclone DataSCUD
Seinfeld - the sitcom - viewership counts by episodeseinfeld
Doksum and Sievers rat datasievers
p-value for a one sample sign testsigntest_pvalue
A simulated classification example with two variables and two classes (labels).sim_class2
Simon (the memory game) datasetsimon
Sine Cosine Modelsincos
Predict top speed based on miles per gallonspeed
Turtle Dataturtle
vanElteren test for stratified analysisvanElteren.test
January Weather Data for Kalamazooweather
Wilson (score) confidence interval for a population proportion.wilson.ci