### Categories

### RSS Feed

### Search NewtonExcelBach

### Archives

### Top Posts

- Time in hours and minutes between two dates
- Commenting a block of code in VBA
- Using Goal Seek on Multiple Cells
- Weighted Least Squares Regression, using Excel, VBA, Alglib and Python
- Using LINEST for non-linear curve fitting
- Fitting high order polynomials
- Solving Quadratic, Cubic, Quartic and higher order equations; examples
- Passing variable argument lists from Excel to Python via xlwings
- Cubic Splines
- Deflections and Moments in Rectangular Plates

### Recent Comments

debamita on Deflections and Moments in Rec… A Numpy trap –… on Using Numba with Excel and pyx… dougaj4 on ULS Design Functions upda… dougaj4 on ULS Design Functions upda… Benata on ULS Design Functions upda… Benata on ULS Design Functions upda… Benata on ULS Design Functions upda… dougaj4 on ULS Design Functions upda… Ata on ULS Design Functions upda… dougaj4 on ULS Design Functions upda… SHAMIL NURI on ULS Design Functions upda… dougaj4 on ULS Design Functions upda… SHAMIL NURI on ULS Design Functions upda… dougaj4 on ULS Design Functions upda… SHAMIL NURI on ULS Design Functions upda…

# Tag Archives: least squares

## More circle fitting options with Scipy

A comment on the first post on this topic found that the method used did not work well for short arcs of large radius circles. An example of the problem can be seen in the screen shots below: The function … Continue reading

Posted in Coordinate Geometry, Curve fitting, Excel, Link to Python, Maths, Newton, NumPy and SciPy, UDFs, VBA, xlwings
Tagged curve fitting, Excel, least squares, Numpy, ODR, Python, SciPy, VBA
Leave a comment

## ALGLIB linear and polynomial fitting functions

As promised here: Fitting high order polynomials this post presents details of four Excel User Defined Functions (UDFs) linking with ALGLIB functions for least squares fitting of linear and polynomial functions. The new functions are: AL_Linest: AL_LinestCW: AL_PolyFit: and AL_PolyFitCW: These functions have been added … Continue reading

## Fitting high order polynomials

This post is a follow up to Using LINEST for non-linear curve fitting and the following comments from Scott Rogers and Lori Miller. Scott found that he was getting different results from Linest and the xy chart trend line for polynomials of … Continue reading

## Using LINEST for non-linear curve fitting

Update 14 March 2020: See LinEstGap with non-linear functions for the latest version of Linest-Poly with new functions for non-linear curves allowing more convenient input and work with data with gaps errors, and/or hidden lines. Update 28 June 2015: Also see … Continue reading

Posted in Charts, Excel, Maths, Newton
Tagged curve fitting, Excel, least squares, Linest, LOGEST, XY chart
91 Comments