3

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]).

Jamgreen
  • 10,329
  • 29
  • 113
  • 224

1 Answers1

2

All you need is

Statistics:-LinearFit([1,x,x^2,x^3], A, B, x);
Carl Love
  • 1,461
  • 8
  • 7