Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Polynomial regression in Maple

In Maple I have two lists

A:=[seq(i, i=1..10)];
B:=[10, 25, 43, 63, 83, 92, 99, 101, 101, 96];

Is it possible to do polynomial or power regression in Maple?

I want to fit a trend line as a 3rd order polynomium where each point is (A[i], B[i]).

like image 709
Jamgreen Avatar asked Dec 18 '25 05:12

Jamgreen


1 Answers

All you need is

Statistics:-LinearFit([1,x,x^2,x^3], A, B, x);
like image 163
Carl Love Avatar answered Dec 21 '25 11:12

Carl Love



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!