Skip to content

nsp

1.0.0

Inference for Multiple Change-Points in Linear Models

0packages depend
2.3Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Piotr FryzlewiczFirst published 2021-12-211 releasesCRAN page ↗

Implementation of Narrowest Significance Pursuit, a general and flexible methodology for automatically detecting localised regions in data sequences which each must contain a change-point (understood as an abrupt change in the parameters of an underlying linear model), at a prescribed global significance level. Narrowest Significance Pursuit works with a wide range of distributional assumptions on the errors, and yields exact desired finite-sample coverage probabilities, regardless of the form or number of the covariates. For details, see P. Fryzlewicz (2021) https://stats.lse.ac.uk/fryzlewicz/nsp/nsp.pdf.

Install

Health

CRAN checks
13OK
Slowest check: 3.0 min · r-release-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
1
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
7%

Downloads

2.3K
CRAN downloads in the past year
Rank #22,117 · ~6/day · ~189/mo
Daily download trend is not available in this view yet.
9530 days
48390 days
2.3K1 year
Compare downloads with other packages →
Also on137 r2u1 autocran

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (1)
R >= 3.0.0
Imports (1)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.0Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2021-12-21
Total releases
1 / 5 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.0.0
Download size
2.9 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Start here. This is the citation for the package itself.

citation("nsp")

CRAN DOI

https://doi.org/10.32614/CRAN.package.nsp

BibTeX, derived from DESCRIPTION

@Manual{nsp,
  title  = {nsp: Inference for Multiple Change-Points in Linear Models},
  author = {Fryzlewicz, Piotr},
  year   = {2021},
  note   = {R package version 1.0.0},
  doi    = {10.32614/CRAN.package.nsp},
  url    = {https://CRAN.R-project.org/package=nsp}
}

Derived from the package DESCRIPTION, not from a citation file the authors wrote. If they publish one later, prefer it.

This is the citation for the package. It is not a citation for the R Observatory.

Cite this page

Use this when the claim is about a measurement on this page.

BibTeX

@misc{robservatorynsp,
  author    = {Balamuta, James Joseph},
  title     = {{R} {Observatory}: Metrics for {nsp} version 1.0.0},
  year      = {2026},
  publisher = {HJJB, LLC},
  url       = {https://r-observatory.thecoatlessprofessor.com/packages/nsp},
  note      = {Data set. Data release v2026-08-05}
}

APA

Balamuta, J. J. (2026). R Observatory: Metrics for nsp version 1.0.0 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/nsp

RIS

TY  - DATA
AU  - Balamuta, James Joseph
TI  - R Observatory: Metrics for nsp version 1.0.0
PY  - 2026
PB  - HJJB, LLC
N1  - Data release v2026-08-05
UR  - https://r-observatory.thecoatlessprofessor.com/packages/nsp
ER  - 

In prose

These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/nsp.

Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy