t**k 发帖数: 10 | | s***e 发帖数: 911 | 2
ft...
你用mathematica吧,也直接有.如果用fortran编也不复杂.何况recipe上就有
源程序... | s********k 发帖数: 212 | 3
netlib bah :-)
www.netlib.org
plenty of deposit of codes for scientific computing in fortran, c/c++
or pascal :-)
Good luck :-) | J**Y 发帖数: 34 | 4 You just need know in this case the estimated parameters B=Inv(X'X)*X'Y. You
can do this in any software. For example,in Matlab, suppose the first column
in your data is dependent one and other ones are independent variables, the
code can then be written as:
load data;
y=data(:,1);
x=data(:,2:k);
B=......
yf=BX
where yf is the fitted one. |
|