Linear Least Squares Regression
Gaussian kernel regression and local linear Gaussian kernel regression with variable window widthThis is the same as ksr and ksrlin (file File ID: #19195 and #19564), but instead of using the same bandwidth for each point, it uses a variable bandwidth given by the distance of each point to its...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Kernel Regression with Variable Window Width Download |
DataFitting is a powerful statistical analysis program that performs linear and nonlinear regression analysis (i.e. curve fitting). DataFitting determines the values of parameters for an equation, whose form you specify, that cause the equation to best fit a set of data values. DataFitting can...
Platforms: Windows
License: Shareware | Cost: $15.00 USD | Size: 1.2 MB | Download (487): DataFitting 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 (51): variogramfit Download |
This is a wrapper function to solve optimization problems (using FMINCON) of the form:min w.r.t. X of CostFunc(X) = beta*(W_ls*F(X)) + (1 - beta)*(max(W_mm*F(X)))subject to: A*X
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): weighted least-squares + weighted min-max optimization Download |
4 files are included in the package:(1) fs01.m - the 1st-order local linear approximation (LLA) very similar to algorithm by Farmer and Sidorowich (1987). Uses constrained linear least squares (lsqlin) and(2) ts1.m - to reconstruct the vectors of the state space.(3) Example.m - runs fs01 and ts1...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): Constrained LLA to predict a chaotic time series 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 |
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 |
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 (63): Cosinor Analysis Download |
The zip includes:(1) lsqAffineSpace: a 'low level' routine that takes a set of m-dimensional real sample data and returns the optimal-fit k-dimensional affine subspace, with some options for discarding outliers.(2) lsqPlane and lsqLine: lsqAffineSpace wrappers, that compute optimal line and...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (48): Least-Squares optimal affine subspace Download |
The code implements the algorithm as given in Chen et. al 1991.It takes max tolerance from the user.It selects Ms significant regressors from the total M regressors.Unfortunately, the error obtained after training the RBF network isn't as expected. Is there a mistake in my code???Please feel free...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Orthogonal Least Squares Algorithm for RBF Networks Download |
The code implemented a special case of the ellipsoid fitting technique proposed in the paper Least Squares Ellipsoid Specific Fitting, corresponding to case k= 4. Just put the two files in the same directory and run "testFit4". You can change the noise level to observe the fitting accuracy and...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Ellipsoid Fitting Download |
Demonstrates a way to implement the LSM algorithm.This is done on a example from the book of Astrom and Wittenmark, Adaptive Control, 2nd ed
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (38): Least Squares Method for a Static System Download |
This library implements a randomized algorithm for solving the least-squares equation x = arg min norm(A * x - b, 2) or the underdetermined system min(norm(x, 2)) s.t. Ax=b. With high probability the running this o(mn^2) for an m-by-n matrix.For details of the solver see the paper at:Blendenpik:...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 30.72 KB | Download (46): Blendenpik Download |
This example solves a complex curve fitting problem that involves parameter pooling and stratification using a nonlinear least-squares approach. This example also takes advantage of some new language features with MATLAB 7. * Anonymous functions * Nested functions
Platforms: Matlab
License: Freeware | Size: 51.2 KB | Download (42): AdvCurveFit Download |
POLYFIT_ROOTS Least-squares polynomial fit to data.[R,K] = POLYFIT_ROOTS(X, Y, N, TOL) finds the roots R and constant K so that the polynomial P(s) = K*(s-R(1))*(s-R(2))* ... *(s-R(N)) is the best least-squares fit to the data Y at points X.Argument TOL bounds the accuracy of the fit, and if...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 81.92 KB | Download (47): polyfit_roots Download |