Related Experiment Video
Updated: May 12, 2026

Constructing and Visualizing Models using Mime-based Machine-learning Framework
Published on: July 22, 2025
MonotonicityTest: An R Package for Efficient Nonparametric Monotonicity Testing
1Statistics and Data Science University of Texas at Austin.
Abstract:
Monotonicity testing is a classic and longstanding problem in statistics, with particular importance in econometrics when analyzing data measured over time. More generally, monotonicity often underlies many statistical methods as a common condition, typically related to a true underlying function estimated from observed data. In this work, we introduce and describe the R package MontonicityTest which implements a nonparametric test of the null hypothesis that the conditional mean function is monotone increasing (non-decreasing) in x given observed data on ( ). The test itself was introduced in Hall and Heckman (2000) but has thus far not been readily available. Our package leverages recursive least squares and is implemented in C++ using the Rcpp package, which significantly reduces computational time relative to a naive approach. We describe the package details and features, as well as illustrate the main functions with an application to simulated diabetes clinical trial data.
Related Concept Videos
Statistical Methods to Analyze Parametric Data: Student t-Test and Goodness-of-Fit Test
The Student's t-test is a statistical test that examines if there is a statistically significant difference between the means of two groups. This test is instrumental when dealing with data...
Test for Homogeneity
Introduction to Nonparametric Statistics
One of...
Statistical Inference Techniques in Hypothesis Testing: Parametric Versus Nonparametric Data
Parametric statistics, as the name suggests, assumes that data follow a specific distribution, often a normal distribution. This assumption enables robust hypothesis testing and estimation. Parametric methods, like the Student's t-test or Goodness-of-fit test, are frequently employed in biostatistics due to their robustness. For instance, comparing...
Dose Response Curve: Conventional Versus Nonmonotonic
Multiple Comparison Tests
It would be easy to compare two samples using a significance alpha level of 0.05. In other words, there is only one sample pair to be compared. However, it would be difficult to identify a significantly different sample if the number...
