bfsl: Best-Fit Straight Line

How to fit a straight line through a set of points with errors in both coordinates? The 'bfsl' package implements the York regression (York, 2004 <doi:10.1119/1.1632486>). It provides unbiased estimates of the intercept, slope and standard errors for the best-fit straight line to independent points with (possibly correlated) normally distributed errors in both x and y. Other commonly used errors-in-variables methods, such as orthogonal distance regression, geometric mean regression or Deming regression are special cases of the 'bfsl' solution.

Version: 0.2.0
Depends: R (≥ 3.5.0)
Imports: generics
Suggests: testthat, tibble, dplyr
Published: 2021-09-23
DOI: 10.32614/CRAN.package.bfsl
Author: Patrick Sturm [aut, cre]
Maintainer: Patrick Sturm <sturm at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README NEWS
CRAN checks: bfsl results


Reference manual: bfsl.pdf


Package source: bfsl_0.2.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): bfsl_0.2.0.tgz, r-oldrel (arm64): bfsl_0.2.0.tgz, r-release (x86_64): bfsl_0.2.0.tgz, r-oldrel (x86_64): bfsl_0.2.0.tgz
Old sources: bfsl archive


Please use the canonical form to link to this page.