Maple - . Maple , , .
MAPLE stats( 1).
>with(stats);
1. stats
importdata | |
anova | |
describe | c |
fit | |
random | c |
statevalf | |
statplots | |
transform |
Fit
.
:
fit[leastsquare[[x,y]]]([[dataX], [dataY]]);
.
1. , . (Y) , . (). 1 1 8.
Maple:
x Y statsdata stats Maple:
> restart;
> with(stats);
>X:=[1788,1890,2064,2158,2296,2330,2350,2440,2510,2610,2633,2688,2750,3500,3620,3800];
>Y:=[6000,6000,6600,6600,6800,7500,7420,7580,7550,7785,7855,7700,7963,8500,8560,9100];
X Y spisok=f(x) c à:
> spisok:=(x,y)->[x,y];
, (, ), :
> fit[leastsquare[[x, y]]]([X,Y]);
:
> f:=evalf(%,4);
, leastsquare[[x,y],y=f(x)] . , , , :
> eq:=y=z*x^2+b*x+c;
> evalf(fit[leastsquare[[x, y], eq]]([X,Y]),4);
>evalf(fit[leastsquare[[x,y],y=a*x^3+b*x^2+c*x+d]]([X,Y]),7);
, , describe.
[8, 9].