Professional Documents
Culture Documents
1.1
1.2
2
F
3
1 b 1 1
= a + Y = , X =
y x y x
1 COD (y)
(x1)(x2)(x3)(x4) y
(1)
(2)(.mat )
save data x1 x2 x3 x4 y
load data ()
(3)
[bbintrrintstats] = regress(y,x)
b = (-16.528315.72062.0327-0.2106-0.1991)
stats = (0.990880.95300.0022)
R2 R
1
F 80.9530 F0.05 (4,3) = 9.12
2 nlinfit
[beta,r,j] = nlinfit(xy'modelbeta0)
xy nm n
x n model m-beta0
beta r j Jacobian
[y,delta] = nlpredci(modelxbeta,r,j)
a
y=
1 + be - ct
(1) m- mode1.m
function yhat=model(beta,t)
yhat=beta(1)(1+beta(2)*exp(-beta(3)*t))
(2)
t=18
beta0=[50101]
(3)
[beta,r,j]=nlinfit(t,ymodelbeta0)
beta=(56.115710.40060.0445)
56.1157
y =
1 + 10.4006e -0.0445t
(4)
[yydelta] = nlprodei(modeltbeta,rj)
plot(tyk+tyy,r)
3
stepwise
stepwise(xyinmodelalpha)
x y nm nl
inmodel ()alpha,(
0.5)
stepwise plot
0
stepwise Table
(RMSE) (R-square)F P
eig()
[VD] = eig(R)
R X D R V
3 1
(1)
load data
x = [ x1 , x2 , x3 , x4 ]
(2)
R = corrcoef(x)
(3)
[VD] = eig(R)
0.3139 -0.7597 -0.1693 0.5438
-0.8143 0.0930 -0.1588 0.5505
v=
0.4860 0.6418 -0.2484 0.5387
0.0473 0.0485 0.9404 0.3332
0.0231
0 0 0
0 0.0601 0 0
d =
0 0 0.7306 0
0 0 0 3.1863
f1 = 0.5438xl+0.5505x2+0.5387x3+0.3332x4
3.18634 = 79.66
0.76064 = 19.12
0.0601/4=1.5%