Least Squares Regression
The function LMFsolve.m serves for finding optimal solution of an overdetermined system of nonlinear equations in the least-squares sense. The standard Levenberg- Marquardt algorithm was modified by Fletcher and coded in FORTRAN many years ago. LMFsolve is its essentially shortened version...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): LMFsolve.m: Levenberg-Marquardt-Fletcher algorithm for nonlinear least squares problems 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 (47): Least squares fit of a rectangle to a given shape/boundary Download |
This toolbox contains a set of functions which can be used to compute the Least Median of Squares regression, the Reweighted Least Squares regression, the accociated location and scale estiamtors, and the Minimum Volume Ellipsoid. The concept is the minimization of the median of the squared...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): LMS Toolbox Download |
The function computes parameters a, b, and c of the weighted orthogonal least squares fit of line ax+by+c=0 to a set of 2D points with coordinates given by x and y and weights w.n=100;x=1:n;y=2.5*x + (5+300./x).*randn(1,n);plot(x,y,'.k')hold onw=1:n;[a b c] = wols(x,y,w);plot([0,n],[-c/b,-c/b -...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (43): Weighted Orthogonal Least Squares Download |
Performs linear regression using the Least Squares method. Determines the regression coefficients, the generalized correlation coefficient and the standard error of estimate. Does multivariate regression. Displays 2D and 3D plots.
Platforms: Windows
License: Shareware | Cost: $15.00 USD | Size: 1.71 MB | Download (215): Linear Regression Download |
Sagata Multiple Regression software offers the power of a professional regression package with the ease and comfort of a Microsoft Excel interface.Features include:Qualitative/Categorical Factors - often inputs or factors in model fitting are qualitative or categorical in nature, e.g., the type...
Platforms: Windows
License: Freeware | Size: 8.02 MB | Download (54): Sagata Regression Pro Download |
DMFitter ActiveX control allows you to add sophisticated regression analysis tools to your software in a few lines of code. Features include: both linear and nonlinear (Levenberg-Marquardt) least squares curve fitting algorithms, arbitrary user models (defined analytically or by string...
Platforms: Windows
License: Freeware | Size: 368.64 KB | Download (46): DMFitter ActiveX control Download |
Leave-one-out cross-validation for PLS regression or discriminant analysispls_cv = plscv(x,y,vl,'da')input:x (samples x descriptors) for cross-validationy (samples x variables) for regression or (samples x classes) for discriminant analysis. Classes numbers must be >0.vl (1 x 1) number of latent...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): PLS regression or discriminant analysis, with leave-one-out cross-validation and prediction 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 (46): regout Download |
Leave-one-out cross-validation for PLS regression or discriminant analysispls_cv = plscv(x,y,vl,'da')input:x (samples x descriptors) for cross-validationy (samples x variables) for regression or (samples x classes) for discriminant analysis. Classes numbers must be >0.vl (1 x 1) number of latent...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): PLS regression or discriminant analysis, with leave-one-out cross-validation and prediction. Download |
Functions for fitting least suqares regression problems under nonnegativity constraints. Optimized version of the Lawson & Hanson approach
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): NNLS and constrained regression 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 (46): Multiple Coherence Function 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 (50): dmgps Download |
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 (53): BestCurFit Download |
Motofit co-refines Neutron and X-ray reflectometry data, using the Abeles matrix / Parratt recursion and least squares fitting (Genetic algorithm or Levenberg Marquardt). It works in the IGOR Pro environment (TM Wavemetrics).
Platforms: Windows, Mac, Linux
License: Freeware | Size: 8.84 MB | Download (47): Motofit Download |
Tidal Analysis Program in PYthon (TAPPY) uses the least squares optimization function from scipy to perform a harmonic analysis (calculate amplitude and phases of a set of sine waves) of a hourly time series of water level values.
Platforms: Windows, Mac, Linux
License: Freeware | Size: 1.19 MB | Download (46): Tidal Analysis Program in PYthon Download |
zpkfit uses the nonlinear least-squares fitter (lsqnonlin) to fit an analytic model of any (fixed) number of poles and zeroes to numerical (presumably measured) frequency response data. It takes as arguments a frequency vector, a frequency response vector, and vectors of the initial guesses of...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): zpkfit Download |
Both functions caculate the Lomb normalized periodogram (aka Lomb-Scargle, Gauss-Vanicek or Least-Squares spectrum) of a vector x with coordinates in t, which is essentially a generalization of the DFT for unevenly sampled data.The codes are transcriptions from Fortran of the subroutines found in...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Lomb normalized periodogram Download |
1 Introduction PLS-DA for data analysis in chemistry and OMICS studies. Also included in this package are 3 variable selection methods: 1) target projection (TP) 2) competitive adaptive reweighted sampling (CARS) 3) subwindow permutation analysis (SPA). SPA is based on model pupulation analysis...
Platforms: Matlab
License: Freeware | Size: 768 KB | Download (51): partial least squares-discriminant analysis and variable selection for high dimensional data Download |
1 Introduction This toolbox implements all the routine PLS-related/based algorithms which kind of serves as the basics in chemometrics, including PLS calibration and prediction, leave one out cross validation (LOOCV), K-fold cross validation, Monte Carlo cross validation(MCCV), double cross...
Platforms: Matlab
License: Freeware | Size: 440.32 KB | Download (50): Toolbox: partial least squares and CARS for variable selection Download |