Least squares method

Least squares method - Least squares method with option to select the power of the polynomial - Messages

#1 Posted: 2019/4/26 00:06:13
CBG

CBG

78 likes in 312 posts.

Group: User

Another example of curve fitting by the least squares method
with option to select the power of the polynomial, or
select the adjustment of the curve to exponential or potential.

LSM_with_option.png

Ajust_by_Last_Square_Selection_Jean.sm (56.61 KiB) downloaded 1133 time(s).


Best Regards

Carlos
5 users liked this post
frapuano 2019/4/26 04:12:00, sergio 2019/4/26 05:33:00, NDTM Amarasekera 2019/4/26 07:20:00, Arie 2019/4/26 09:38:00, Davide Carpi 2019/4/28 05:56:00
#2 Posted: 2019/4/26 10:40:32
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

Another example of curve fitting by the least squares method
with option to select the power of the polynomial, or
select the adjustment of the curve to exponential or potential.


Hola Carlos !
Couldn't open the attached SS 7030 work sheet.
It happened another time from maybe Alvaro ?
Seemingly caused by 2 of your modules not activated.
My SS 6179 does not closed those two particular modules.

However, I have recognized the flat parabola data set.
I'm sure your proposal will have more applications.
Data sets with flat region best fit by model function,
like this one from al_nleqsolve, always assumed noisy.
Two flat parabolas attached
Thanks... Cheers ... Jean

Genfit [Algo Minimize(Cholesky_3 NonLinear)].sm (37.14 KiB) downloaded 907 time(s).
Genfit al_ nleqsolve [Edu Model FLAT Parabola].sm (30.24 KiB) downloaded 886 time(s).



#3 Posted: 2019/4/26 14:18:39
CBG

CBG

78 likes in 312 posts.

Group: User

Wrote


Hola Carlos !
Couldn't open the attached SS 7030 work sheet.
It happened another time from maybe Alvaro ?
Seemingly caused by 2 of your modules not activated.
My SS 6179 does not closed those two particular modules.



Hola Jean

Here you have a version in 6179 of the work sheet
of the method of adjustment of curves by least squares


Ajust_by_Last_Square_Selection_Jean_V6179.sm (52.77 KiB) downloaded 1167 time(s).

Cheers


Carlos
#4 Posted: 2019/4/29 11:02:17
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

Another example of curve fitting by the least squares method
with option to select the power of the polynomial, or
select the adjustment of the curve to exponential or potential.


Hola Carlos.
Thanks for your contribution, most appreciated. More bed time reading.
VISITORS: download all, as they are minimalist Fit Classroom.
One more method is not listed wrt Polynomial fit: the Robert lsq.
Problem is that I can't make it work Mathcad ORIGIN (1)
Next Classroom is large as applied to a large collection of applied projects.
This next Classroom is mostly based on fitting parametric model function(s)

Cheers ... Jean

Genfit 0 Ge SubCryogenic.sm (38.93 KiB) downloaded 971 time(s).
Genfit 00 Carlos-Cholesky.sm (37.2 KiB) downloaded 1025 time(s).
Genfit 0000 Adjust Linear.sm (49.98 KiB) downloaded 1023 time(s).
Genfit 000000 LinfitCheby.sm (77.69 KiB) downloaded 1023 time(s).
Genfit 00000 Linfit Linear.sm (32.52 KiB) downloaded 1032 time(s).
Genfit 000Carlos.sm (45.19 KiB) downloaded 1016 time(s).
Genfit 00000000 PolyOrder.sm (25.86 KiB) downloaded 1036 time(s).
Genfit 000000000 Thiele Corn Thermies.sm (44.32 KiB) downloaded 1047 time(s).
Genfit 0000000 Rational Auto-init ITER.sm (84.24 KiB) downloaded 1018 time(s).
Genfit 0000000000 Rational Num_Denom Order.sm (77.11 KiB) downloaded 1025 time(s).
#5 Posted: 2019/4/30 11:32:23
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

... a must visit suite.
Three examples most useful for Engineering/Scientific
1. DE sol is intuitive of attempting a fit to your DE
2. Corn Thermies is more local agriculture
3. HadCRUt4 is most advanced Scientific.
So much BS & BK on that blabla parrot
BS & BK => from my old friend Ken [Bull Shit & Book Keeping].
Former Collab Theodore tried all possible orthogonal polynomials,
not to avail vs ChebyShev [I guess Russian does not lie]

Jean

Genfit 00000000000 LinfitCheby Order [DE sol].sm (30.19 KiB) downloaded 860 time(s).
Genfit 00000000000 LinfitCheby Order [Corn Thermies].sm (30.82 KiB) downloaded 869 time(s).
Genfit 00000000000 LinfitCheby Order [HadCRU].sm (193.77 KiB) downloaded 876 time(s).
  • New Posts
  • No New Posts