Escolar Documentos
Profissional Documentos
Cultura Documentos
16; 10 100]
XA =
7.5000 56.2500
7.6000 57.7600
8.5000 72.2500
8.8000 77.4400
9.2000 84.6400
9.6000 92.1600
10.0000 100.0000
yA=[94;95;94;91;88;84;77]
yA =
94
95
94
91
88
84
77
lmA=LinearModel.fit(XA,yA)
lmA =
y ~ 1 + x1 + x2
Estimated Coefficients:
anova(lmA)
ans =
anova(lmA,'Components', 1)
ans =
anova(lmA,'Components', 2)
ans =
anova(lmA,'Components', 3)
ans =
ans =
anova(lmA1,'Components', 1)
ans =
anova(lmA1,'Components', 2)
ans =
anova(lmA1,'Components', 3)
ans =
lmA1=LinearModel.fit(XA,yA1)
lmA1 =
y ~ 1 + x1 + x2
Estimated Coefficients:
Estimate SE tStat pValue
lmB=LinearModel.fit(XB,yB)
lmB =
y ~ 1 + x1 + x2
Estimated Coefficients:
anova(lmB,'Components', 1)
ans =
anova(lmB,'Components', 2)
ans =
anova(lmB,'Components', 3)
ans =
lmB1=LinearModel.fit(XB,yB1)
lmB1 =
y ~ 1 + x1 + x2
Estimated Coefficients:
anova(lmB1,'Components', 1)
ans =
ans =
anova(lmB1,'Components', 3)
ans =
PARA A)
CON Y
CON Y1
PARA B)
CON Y
CON Y1