Learn R Programming

MonotonicityTest

MonotonicityTest is an R package thart implements nonparametric bootstrap tests for detecting monotonicity in regression functions from Hall, P. and Heckman, N. (2000) doi:10.1214/aos/1016120363. The function includes tools for visualizing results using Nadaraya-Watson kernel regression and supports efficient computation with 'C++'. More details on this package will be available in Huynh D and Parast L. "MonotonicityTest: An R Package for Efficient Nonparametric Monotonicity Testing." (Under Review)

View tutorial at this link.

We also have a shiny app implementing these methods here.

Copy Link

Version

Install

install.packages('MonotonicityTest')

Monthly Downloads

229

Version

1.3

License

GPL

Maintainer

Dylan Huynh

Last Published

November 6th, 2025

Functions in MonotonicityTest (1.3)

create_kernel_plot

Generate Kernel Plot
monotonicity_test

Perform Monotonicity Test
diabetes

A Simulated Diabetes Dataset