<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:8px"><div id="yiv0208163990"><div id="yui_3_16_0_1_1416872403022_9928"><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:8px;" id="yui_3_16_0_1_1416872403022_9927"><div dir="ltr" id="yiv0208163990yui_3_16_0_1_1416848194117_25298"><span id="yui_3_16_0_1_1416872403022_9959">Boa noite, alguém poderia me ajudar o porque da diferença?</span></div><div dir="ltr" id="yiv0208163990yui_3_16_0_1_1416848194117_25298"><span><br></span></div><div dir="ltr" id="yiv0208163990yui_3_16_0_1_1416848194117_25298"><span>Att,</span></div><div></div><div id="yiv0208163990yui_3_16_0_1_1416848194117_25320"> </div><div class="yiv0208163990signature" id="yiv0208163990yui_3_16_0_1_1416848194117_25299"><span style="font-weight:bold;font-style:italic;" id="yui_3_16_0_1_1416872403022_9956">Ari Clecius Alves de Lima</span><br clear="none" style="font-weight:bold;font-style:italic;"><span style="font-weight:bold;font-style:italic;">Engenheiro Químico</span><br clear="none" style="font-weight:bold;font-style:italic;"><span style="font-weight:bold;font-style:italic;">Me. Engenharia Civil</span><br clear="none" style="font-weight:bold;font-style:italic;"><span style="font-weight:bold;font-style:italic;">(085)88412345</span><br clear="none" style="font-weight:bold;font-style:italic;"><span style="font-weight:bold;font-style:italic;">(085)33669042</span></div> <div class="yiv0208163990qtdSeparateBR" id="yui_3_16_0_1_1416872403022_9926"><br clear="none"><br clear="none"></div><div class="yiv0208163990yqt7757566074" id="yiv0208163990yqt88404"><div class="yiv0208163990yahoo_quoted" id="yiv0208163990yui_3_16_0_1_1416848194117_25319" style="display: block;"> <div id="yiv0208163990yui_3_16_0_1_1416848194117_25318" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:8px;"> <div id="yiv0208163990yui_3_16_0_1_1416848194117_25317" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr" id="yui_3_16_0_1_1416872403022_9961"> <font size="2" face="Arial" id="yui_3_16_0_1_1416872403022_9960"> Em Sábado, 22 de Novembro de 2014 10:06, Ari Clecius <ari072000@yahoo.com.br> escreveu:<br clear="none"> </font> </div>  <br clear="none"><br clear="none"> <div class="yiv0208163990y_msg_container" id="yiv0208163990yui_3_16_0_1_1416848194117_25316"><div id="yiv0208163990"><div id="yiv0208163990yui_3_16_0_1_1416848194117_25315"><div id="yiv0208163990yui_3_16_0_1_1416848194117_25314" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:8px;"><div id="yiv0208163990"><div id="yiv0208163990yui_3_16_0_1_1416654216114_7711"><div id="yiv0208163990yui_3_16_0_1_1416654216114_7710" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:8px;"><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2539" style="">Bom dia, estou rodando um experimento do tipo Box Behnken e usei a função reg e comparei com o obtido pela função rsm, o problema é que o que os dois consideram significativo difere, aonde posso estar errando? Testei também a função AIC para o modelo que ele fornece e dá diferente pela função AIC().</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2562" style=""><i class="yiv0208163990" style=""><br clear="none" class="yiv0208163990" style=""></i></div><div></div><div id="yiv0208163990yui_3_16_0_1_1416654216114_2538"> </div><div class="yiv0208163990signature" id="yiv0208163990yui_3_16_0_1_1416654216114_2341"><span id="yiv0208163990yui_3_16_0_1_1416654216114_2340" style="font-weight:bold;font-style:italic;">Ari Clecius Alves de Lima</span><br clear="none" style="font-weight:bold;font-style:italic;"><span id="yiv0208163990yui_3_16_0_1_1416654216114_2563" style="font-weight:bold;font-style:italic;">Engenheiro Químico</span><br clear="none" style="font-weight:bold;font-style:italic;"><span id="yiv0208163990yui_3_16_0_1_1416654216114_2543" style="font-weight:bold;font-style:italic;">Me. Engenharia Civil</span><br clear="none" style="font-weight:bold;font-style:italic;"><span id="yiv0208163990yui_3_16_0_1_1416654216114_2342" style="font-weight:bold;font-style:italic;">(085)88412345</span><br clear="none" style="font-weight:bold;font-style:italic;"><span id="yiv0208163990yui_3_16_0_1_1416654216114_2542" style="font-weight:bold;font-style:italic;">(085)33669042</span></div><div class="yiv0208163990signature" id="yiv0208163990yui_3_16_0_1_1416654216114_2341"><span style="font-weight:bold;font-style:italic;"><br clear="none"></span></div><div class="yiv0208163990signature" dir="ltr" id="yiv0208163990yui_3_16_0_1_1416654216114_2341"><span id="yiv0208163990yui_3_16_0_1_1416654216114_2565" style="font-weight:bold;font-style:italic;">#CMR</span></div><div class="yiv0208163990signature" id="yiv0208163990yui_3_16_0_1_1416654216114_2341"><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><br clear="none"></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="" id="yui_3_16_0_1_1416872403022_9962">library(DoE.wrapper)</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="" id="yui_3_16_0_1_1416872403022_9963">Design.1_2<- bbd.design(nfactors= 3 , ncenter= 4 ,randomize= FALSE,seed=7480, </i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="" id="yui_3_16_0_1_1416872403022_9964">                      factor.names=list( A=c(0,400),B=c(600,2200),C=c(1,10) ) )</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style=""><br clear="none" class="yiv0208163990" style=""></i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="" id="yui_3_16_0_1_1416872403022_9965">res=c(73.450,75.725,63.980,67.670,76.070,77.345,66.005,67.335,84.740,81.595,74.830,70.325,72.460,73.170,73.925,73.800)</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="" id="yui_3_16_0_1_1416872403022_9966">length(res)</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="" id="yui_3_16_0_1_1416872403022_9967">#Medidas resumo</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="" id="yui_3_16_0_1_1416872403022_9948">Design.1_2<- add.response(Design.1_2,res, replace=FALSE)</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">plancoded<- code.design(Design.1_2)</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">plancoded</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style=""><br clear="none" class="yiv0208163990" style=""></i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_7714" style="">LinearModel.1 <- aov(res ~(x1+x2+x3)^2+ I(x1^2) + I(x2^2) + I(x3^2), </i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">                     data=plancoded)</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">sreg = step(LinearModel.1,direction="both")</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style=""><br clear="none" class="yiv0208163990" style=""></i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#Melhor modelo</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#Step:  AIC=14.07</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#res ~ x1 + x2 + x3 + I(x1^2) + I(x2^2) + I(x3^2)</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style=""><br clear="none" class="yiv0208163990" style=""></i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_7715" style="">#          Df Sum of Sq     RSS    AIC</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#<none>                  16.074 14.074</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#+ x1:x2    1     0.501  15.574 15.568</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#+ x2:x3    1     0.462  15.612 15.607</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#+ x1:x3    1     0.001  16.073 16.073</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#- x1       1     9.181  25.255 19.303</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#- I(x2^2)  1     9.310  25.384 19.385</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_7716" style="">#- I(x3^2)  1    36.195  52.269 30.941</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#- x2       1    79.223  95.297 40.551</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#- I(x1^2)  1    86.793 102.867 41.774</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#- x3       1   212.747 228.821 54.566</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style=""><br clear="none" class="yiv0208163990" style=""></i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">summary(sreg)</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style=""><br clear="none" class="yiv0208163990" style=""></i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#       Df Sum Sq Mean Sq F value   Pr(>F)    </i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#x1           1   9.18    9.18   5.140  0.04959 *  </i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#x2           1  79.22   79.22  44.357 9.27e-05 ***</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#x3           1 212.75  212.75 119.118 1.72e-06 ***</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#I(x1^2)      1  86.79   86.79  48.596 6.53e-05 ***</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#I(x2^2)      1   9.31    9.31   5.213  0.04831 *  </i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2527" style="">#I(x3^2)      1  36.20   36.20  20.266  0.00149 ** </i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#Residuals    9  16.07    1.79                     </i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#---</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2528" style="">#Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style=""><br clear="none" class="yiv0208163990" style=""></i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">Design.1_2.coded<-plancoded</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">rsmModel.2 <- rsm(res ~ FO(x1, x2, x3) + TWI(x1, x2, x3) + PQ(x1, x2, x3), </i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">                  data=Design.1_2.coded)</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">summary(rsmModel.2)</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style=""><br clear="none" class="yiv0208163990" style=""></i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#            Estimate Std. Error t value  Pr(>|t|)    </i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#(Intercept) 73.33875    0.79347 92.4275 1.081e-10 ***</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#x1           1.07125    0.56107  1.9093  0.104810    </i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#x2          -3.14688    0.56107 -5.6087  0.001370 ** </i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#x3          -5.15688    0.56107 -9.1911 9.350e-05 ***</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#x1:x2        0.35375    0.79347  0.4458  0.671360    </i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#x1:x3        0.01375    0.79347  0.0173  0.986736    </i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#x2:x3       -0.34000    0.79347 -0.4285  0.683246    </i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#x1^2        -4.65813    0.79347 -5.8705  0.001081 ** </i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#x2^2         1.52563    0.79347  1.9227  0.102878    </i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#x3^2         3.00813    0.79347  3.7911  0.009062 ** </i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#---</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style=""><br clear="none" class="yiv0208163990" style=""></i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#Multiple R-squared:  0.9664,    Adjusted R-squared:  0.916 </i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#F-statistic: 19.17 on 9 and 6 DF,  p-value: 0.0009315</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style=""><br clear="none" class="yiv0208163990" style=""></i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style=""><br clear="none" class="yiv0208163990" style=""></i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style=""><br clear="none" class="yiv0208163990" style=""></i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">LinearModel.2 <- aov(res ~ x1 + x2 + x3 + I(x1^2) + I(x2^2) + I(x3^2), </i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">                     data=plancoded)</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">summary(LinearModel.2 )</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">AIC(LinearModel.2)</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#[1] 61.47997</i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style=""><br clear="none" class="yiv0208163990" style=""></i></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><i class="yiv0208163990" style="">#valor obtido anteriormente Step:  AIC=14.07</i></div></div><div class="yiv0208163990" id="yiv0208163990yui_3_16_0_1_1416654216114_2341" style=""><span class="yiv0208163990" style="font-weight:bold;font-style:italic;"><br clear="none" class="yiv0208163990" style=""></span></div></div></div></div></div></div></div><br clear="none"><br clear="none"></div>  </div> </div>  </div></div> </div></div></div></div></body></html>