# Least Squares Methods

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 |

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 (87): Statistics::GaussHelmert 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 |

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 |

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 |

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 |

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 (19): weighted total least squares straight line fit 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 |

Very limited application of least squares. It gives you the plotted curves of original and plotted data with the equation in polynomial form. you can also evaluate that polynomial at different points for prediction.note:1.it would be best viewed on 1024x768.2. if you copy and paste data in data...
Platforms: Matlab

License: Shareware | Cost: $0.00 USD | Size: 163.84 KB | Download (19): Least Squares Curve Fitting 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 |

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 |

This function calculates the minimum-norm solution of the least squares problem A*X = B. Where A is low-rank matrix. The function LSMIN is faster then the matlab alternative X = pinv(A)*B. Uses the LAPACK functions (S,C,D,Z)EGLSS or (S,C,D,Z)EGLSD.
Platforms: Matlab

License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (18): Least squares with minimum-norm solution Download |

Demonstration of least squares data fitting using both inverse and backslash operators.This example was developed for use in teaching modeling, simulation, and optimization in graduate engineering courses. A corresponding video is available at:
Platforms: Matlab

License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (18): Least Squares Data Fitting in MATLAB Download |

**Released:**May 12, 2006 | Added: November 29, 2006 | Visits: 5.162

The UnscramblerÂ® is the complete multivariate analysis and experimental design software, equipped with powerful methods including Principal Component Analysis (PCA), Multivariate Curve Resolution (MCR), Partial Least Squares Regression (PLS-R), 3-Way PLS Regression, K-Means Clustering and SIMCA...
Platforms: Windows

License: Shareware | Cost: $0.00 USD | Size: 29.31 MB | Download (626): The Unscrambler 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 |

Cosinor analysis uses the least squares method to fit a sine wave to a time series. Cosinor analysis is often used in the analysis of biologic time series that demonstrate predictible rhythms. This method can be used with an unequally spaced time series. Follows cosinor analysis of a time series...
Platforms: Matlab

License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (23): Cosinor Analysis 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 |

M-files for unimodality (or monotonically) constrained least squares regression.
Platforms: Matlab

License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (18): Unimodal regression Download |

The design matrix of a GPS network is established for any kind of least squares adjustment, namely;-free (trace minimum),-minimum constrained,-over-determined.The user can adapt easily dmgps to the adjustment problem of a GPS network whose baselines are taken as observations. Moreover, it can be...
Platforms: Matlab

License: Freeware | Size: 10 KB | Download (26): dmgps Download |