# Linear Least Squares Fit

ORTHLLS2D returns the Orthogonal Linear Least Squares estimate for parameters of line a x + b y + c = 0function f = OrthLLS2D(x, y)Inputs x and y must be real vectors of equal size.Output f is the real vector [a b c] where a, b and c are the estimated parameters of the linear equation.Since a...
Platforms: Matlab

License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (18): Analytical solution for Orthogonal Linear Least Squares in two dimensions Download |

Constructs discrete least-squares rational approximations to data using the full-Newton algorithm for solving separable non-linear least-squares problems that was developed in:Carlos F. Borges, A Full-Newton Approach to Separable Nonlinear Least Squares Problems and its Application to Discrete...
Platforms: Matlab

License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (18): Discrete Least-Squares Rational Approximation Download |

For a system having multiple inputs x and outputs y, the partial coherence is the coherence computed between any individual input and the output when the effect of all other inputs is removed from the output by a linear least squares prediction. This coherence obeys the usual inequality, and will...
Platforms: Matlab

License: Freeware | Size: 10 KB | Download (20): Multiple Coherence Function Download |

Functions NELSONFUN and NELSONFIT evaluate and fit (with non-linear least-squares) the Nelson-Siegel function, a popular yield-curve approximation device.
Platforms: Matlab

License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (18): Evaluate Nelson-Siegel function Download |

**Released:**November 26, 2012 | Added: November 26, 2012 | Visits: 312

BestCurFit calculates the parameters of 12 curves using the method of Linear Least Squares, fitting each curve to user data. The nonlinear equations are linearized. The obtained parameters are used for following optimization procedure using Simplex and Gauss-Newton algorithm. If it does not...
Platforms: Windows

License: Freeware | Size: 1.81 MB | Download (34): BestCurFit Download |

variogramfit performs a least squares fit of various theoretical variograms to an experimental, isotropic variogram. The user can choose between various bounded (e.g. spherical) and unbounded (e.g. exponential) models. A nugget variance can be modelled as well, but higher nested models are not...
Platforms: Matlab

License: Freeware | Size: 20.48 KB | Download (21): variogramfit Download |

% Based on - A simple method for fitting of bounding rectangle to closed regions - D. Chaudhuri a , A. Samal b.% fit_rectangle - Function provides a least squares fit to the% given boundary points of an object of unknown shape.%% Inputs - Boundary elements that must be a Nx2 array. (atleast 3...
Platforms: Matlab

License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (18): Least squares fit of a rectangle to a given shape/boundary Download |

Solves the linear least squares problem with nonnegative variables using the newton's algorithm in:Portugal, Judice and Vicente, A comparison of block pivoting and interior point algorithms for linear least squares problems with nonnegative variables, Mathematics of Computation, 63(1994), pp....
Platforms: Matlab

License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (18): newton's algorithm for nnls Download |

Solves the linear least squares problem with nonnegative variables using the predictor-corrector algorithm in:Portugal, Judice and Vicente, A comparison of block pivoting and interior point algorithms for linear least squares problems with nonnegative variables, Mathematics of Computation,...
Platforms: Matlab

License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (18): predictor-corrector algorithm Download |

Among the considerations in the use of analysis of regression, outliers or bad values can seriously disturb the least-squares fit. They falls far from the line implied by the rest of the data. If these points are really outliers, then the estimate of the intercept may be incorrect and the...
Platforms: Matlab

License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (20): regout Download |

Statistics::LineFit module least squares line fit, weighted or unweighted. SYNOPSIS use Statistics::LineFit; $lineFit = Statistics::LineFit->new(); $lineFit->setData (@xValues, @yValues) or die "Invalid data"; ($intercept, $slope) = $lineFit->coefficients(); defined $intercept or die...
Platforms: *nix

License: Freeware | Size: 24.58 KB | Download (100): Statistics::LineFit Download |

Often, measured data is comprised of N sampled values of z, evaluated at N locations (x,y). With this function, you can calculate the coefficients of the best-fit x,y polynomial using a linear least squares approximation.You can use this function if you have a set of N data triplets x,y,z, and...
Platforms: Matlab

License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (20): 3D Least squares polynomial fit in x and y Download |

Statistics::GaussHelmert is a general weighted least squares estimation module. SYNOPSIS use Statistics::GaussHelmert; # create an empty model my $estimation = new Statistics::GaussHelmert; # setup the model given observations $y, covariance matrices # $Sigma_yy, an initial guess $b0...
Platforms: *nix

License: Freeware | Size: 13.31 KB | Download (88): Statistics::GaussHelmert Download |

Statistics::OLS is a Perl module to perform ordinary least squares and associated statistics. SYNOPSIS use Statistics::OLS; my $ls = Statistics::OLS->new(); $ls->setData (@xydataset) or die( $ls->error() ); $ls->setData (@xdataset, @ydataset); $ls->regress(); my ($intercept, $slope)...
Platforms: *nix

License: Freeware | Size: 8.19 KB | Download (79): Statistics::OLS Download |

OLS - Orthogonal Least Squares: Proposed by T. Blumensath, M. E. DaviesStOLS - Stagewise OLS: Combining StOMP ideas with OLSROLS - Regularized OLS: Combining ROMP ideas with OLS
Platforms: Matlab

License: Freeware | Size: 10 KB | Download (21): Orthogonal Least Squares Algorithms for Sparse Signal Reconstruction Download |

The problem of fitting a straight line to data with uncertainties in both coordinates is solved using a weighted total least-squares algorithm. The parameters are transformed from the usual slope/y-axis intersection pair to slope angle and distance to the origin. The advantages of this are that...
Platforms: Matlab

License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (19): weighted total least squares straight line fit Download |

We present a Matlab toolbox which can solve basic problems related to the Total Least Squares (TLS) method in the modeling. By illustrative examples we show how to use the TLS method for solution of:- linear regression model- nonlinear regression model- fitting data in 3D space- identification of...
Platforms: Matlab

License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (18): Total Least Squares Method Download |

Like the finite difference method, the Taylor Series Least Squares method can be used to estimate derivatives. The TLS technique can be used to estimate derivatives from scattered or unstructured data. The Hermite Taylor Series Least Squares technique augments the TLS approach with information...
Platforms: Matlab

License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (18): Constrained Hermite Taylor Series Least Squares Download |

This package contains a set of tools that allows to deform in real-time points and images using the Moving Least Squares algorithms. This is a fast technique to get good image deformations without using the computational expansive techniques provided by the thin-plates splines algorithms. The...
Platforms: Matlab

License: Shareware | Cost: $0.00 USD | Size: 1.13 MB | Download (19): Moving Least Squares Download |

The problem of fitting a straight line to data with uncertainties in both coordinates is solved using a weighted total least-squares algorithm. The parameters are transformed from the usual slope/y-axis intersection pair to slope angle and distance to the origin. The advantages of this are that...
Platforms: Matlab

License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (18): weighted total least squares for mutually correlated coordinates Download |