L0TFinv: A Splicing Approach to the Inverse Problem of L0 Trend Filtering

Trend filtering is a widely used nonparametric method for knot detection. This package provides an efficient solution for L0 trend filtering, avoiding the traditional methods of using Lagrange duality or Alternating Direction Method of Multipliers algorithms. It employ a splicing approach that minimizes L0-regularized sparse approximation by transforming the L0 trend filtering problem. The package excels in both efficiency and accuracy of trend estimation and changepoint detection in segmented functions. References: Wen et al. (2020) <doi:10.18637/jss.v094.i04>; Zhu et al. (2020)<doi:10.1073/pnas.2014241117>; Wen et al. (2023) <doi:10.1287/ijoc.2021.0313>.

Package details

AuthorTianhao Wang [aut, cre], Canhong Wen [aut]
MaintainerTianhao Wang <tianhaowang@mail.ustc.edu.cn>
LicenseGPL (>= 3)
Version0.1.0
URL https://github.com/C2S2-HF/InverseL0TF
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("L0TFinv")

Try the L0TFinv package in your browser

Any scripts or data that you put into this service are public.

L0TFinv documentation built on June 10, 2025, 5:14 p.m.