Top "Least-squares" questions

Refers to a general estimation technique that selects the parameter value to minimize the squared difference between two quantities, such as the observed value of a variable, and the expected value of that observation conditioned on the parameter value.

Python: two-curve gaussian fitting with non-linear least-squares

My knowledge of maths is limited which is why I am probably stuck. I have a spectra to which I …

python scipy gaussian least-squares
Weighted trendline

Excel produces scatter diagrams for sets of pair values. It also gives the option of producing a best fit trendline …

excel graph excel-formula curve-fitting least-squares
Fitting an ellipsoid to 3D data points

I have a large set of 3D data points to which I want to fit to an ellipsoid. My maths …

math geometry least-squares
Constrained least-squares estimation in Python

I'm trying to perform a constrained least-squares estimation using Scipy such that all of the coefficients are in the range (0,1) …

python optimization scipy least-squares
Finding translation and scale on two sets of points to get least square error in their distance?

I have two sets of 3D points (original and reconstructed) and correspondence information about pairs - which point from one …

algorithm math point least-squares
Non-linear Least Squares Optimization Library for C

I'm looking for a library in C that will do optimization of an objective function (preferrably Levenberg-Marquardt algorithm) and will …

c optimization least-squares levenberg-marquardt
How can I do a least squares fit in python, using data that is only an upper limit?

I am trying to perform a least squares fit in python to a known function with three variables. I am …

python least-squares model-fitting
Is linear regression the same thing as ordinary least squares in SPSS?

I want to use a linear regression model, but I want to use ordinary least squares, which I think it …

statistics linear-regression spss least-squares
How can I calculate a trend line in PHP?

So I've read the two related questions for calculating a trend line for a graph, but I'm still lost. I …

php math coordinates curve-fitting least-squares
k-means return value in R

I am using the kmeans() function in R and I was curious what is the difference between the totss and …

r k-means least-squares