Maple 中的多项式回归
Polynomial regression in Maple
在 Maple 中我有两个列表
A:=[seq(i, i=1..10)];
B:=[10, 25, 43, 63, 83, 92, 99, 101, 101, 96];
是否可以在 Maple 中进行多项式或幂回归?
我想将趋势线拟合为三阶多项式,其中每个点都是 (A[i], B[i])。
你只需要
Statistics:-LinearFit([1,x,x^2,x^3], A, B, x);
在 Maple 中我有两个列表
A:=[seq(i, i=1..10)];
B:=[10, 25, 43, 63, 83, 92, 99, 101, 101, 96];
是否可以在 Maple 中进行多项式或幂回归?
我想将趋势线拟合为三阶多项式,其中每个点都是 (A[i], B[i])。
你只需要
Statistics:-LinearFit([1,x,x^2,x^3], A, B, x);