EUVIMEDEUVIMED entdecken
Open Access

Monotonicity Test: An R Package for Efficient Nonparametric Monotonicity Testing

Dylan Huynh, Layla Parast

Observational Studies · 2026 · 12 (1) · 123-141

DOI: 10.1353/obs.2026.a985147 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Observational Studies, 2026. Verfasst von Dylan Huynh und 1 weiteren Autor:innen. Beteiligte Einrichtung: Statistics and Data Science University of Texas at Austin. Der Volltext ist frei in PubMed Central verfügbar.

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

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 assumption, 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 E ( Y |X = x ) is monotone increasing (non-decreasing) in x given observed data on ( X, Y ). 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.

Schlagwörter

Stichwörter der Autor:innen

C++RRcppbootstrapkernel estimationmonotonicitynonparametricresidualtest

Autor:innen und Institutionen

  • Statistics and Data Science University of Texas at Austin.

Zitieren

APA

Huynh, D., & Parast, L. (2026). Monotonicity Test: An R Package for Efficient Nonparametric Monotonicity Testing. Observational Studies, 12(1), 123-141. https://doi.org/10.1353/obs.2026.a985147

Vancouver

Huynh D, Parast L. Monotonicity Test: An R Package for Efficient Nonparametric Monotonicity Testing. Observational Studies. 2026;12(1):123-141. doi:10.1353/obs.2026.a985147

BibTeX
@article{Huynh2026,
  author = {Huynh, Dylan and Parast, Layla},
  title = {Monotonicity Test: An R Package for Efficient Nonparametric Monotonicity Testing},
  journal = {Observational Studies},
  year = {2026},
  volume = {12},
  number = {1},
  pages = {123--141},
  doi = {10.1353/obs.2026.a985147}
}
Kostenlos starten →