Cited by 585Data Analysis with RStatistical Methods and ApplicationsAdvanced Statistical Methods and Models

A review of spline function procedures in R

Open access
Perperoglou, Aris, Sauerbrei, Willi, Abrahamowicz, Michal, Schmid, Matthias·2019·BMC Medical Research Methodology

Abstract

BACKGROUND: With progress on both the theoretical and the computational fronts the use of spline modelling has become an established tool in statistical regression analysis. An important issue in spline modelling is the availability of user friendly, well documented software packages. Following the idea of the STRengthening Analytical Thinking for Observational Studies initiative to provide users with guidance documents on the application of statistical methods in observational research, the aim of this article is to provide an overview of the most widely used spline-based techniques and their implementation in R. METHODS: In this work, we focus on the R Language for Statistical Computing which has become a hugely popular statistics software. We identified a set of packages that include functions for spline modelling within a regression framework. Using simulated and real data we provide an introduction to spline modelling and an overview of the most popular spline functions. RESULTS: We present a series of simple scenarios of univariate data, where different basis functions are used to identify the correct functional form of an independent variable. Even in simple data, using routines from different packages would lead to different results. CONCLUSIONS: This work illustrate challenges that an analyst faces when working with data. Most differences can be attributed to the choice of hyper-parameters rather than the basis used. In fact an experienced user will know how to obtain a reasonable outcome, regardless of the type of spline used. However, many analysts do not have sufficient knowledge to use these powerful tools adequately and will need more guidance.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1186/s12874-019-0666-3

Cites

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

The citation lists haven’t been fetched yet

References 40 · Cited by 585

Authors
Perperoglou, A., Sauerbrei, W., Abrahamowicz, M., & Schmid, M.
Affiliations
  • University of Essex (GB)
  • University of Freiburg (DE)
  • University of Bonn (DE)
Corresponding author
Perperoglou, Aris
Venue
BMC Medical Research Methodology
Published
2019-03-06
Volume
19
Issue
1
Pages
46-46
ISSN
1471-2288 (ISSN-L)
OpenAlex
W2924517740
Cited by
585
References
40
Citations by year
2026: 70 · 2025: 101 · 2024: 100 · 2023: 106 · 2022: 91 · 2021: 77 · 2020: 37 · 2019: 3
FWCI
3.47
Type
journal article
Language
en
Open access
Locations
  • BMC Medical Research Methodology (publishedVersion, cc-by)
  • Europe PMC (PubMed Central) (publishedVersion, other-oa)
  • PubMed Central (publishedVersion, cc-by)
  • PubMed (publishedVersion)
  • Open Access at Essex (University of Essex) (acceptedVersion)
  • DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
  • Figshare (submittedVersion, cc-by)
  • Figshare (cc-by)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Data Analysis with R
  • Physical Sciences › Mathematics › Statistics and Probability › Statistical Methods and Applications
  • Physical Sciences › Mathematics › Statistics and Probability › Advanced Statistical Methods and Models
Keywords
R package, basis functions, nonparametric regression, hyperparameter optimization, observational studies
MeSH terms
Algorithms, Data Interpretation, Statistical, Humans, Mathematical Computing, Models, Theoretical, Programming Languages, Research Design, Biostatistics

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review