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.

Getting started

Package details

AuthorPatrick Sturm [aut, cre]
MaintainerPatrick Sturm <sturm@tofwerk.com>
LicenseMIT + file LICENSE
Version0.2.0
URL https://github.com/pasturm/bfsl
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("bfsl")

Try the bfsl package in your browser

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

bfsl documentation built on Sept. 23, 2021, 5:11 p.m.