Вы находитесь на странице: 1из 25

c  


   
 
 c 
 

     
 c

  

 c

 c

V

          
 V
? 
   V
         
 V





 









                    

                         
      

     

 

       

  
     
 
   


  
  




      

      
      
   
  

VVVVV
 VVV
 

VV
    V
 VVV
V VVVVV
  
VV
VV
 VVV V V VVV   
VV
VV
 VVV V V VV   
VV
VV
 VVV V V VV   
VV
VV
 VVV V V VV   
VV
VV
 VVV V V VV   
VV
VV
 VVV V V VV   
VV
VV
 VVV V V VV   
VV
VV
 VVV V V VV   
VV
VV
 V V V VV 

V V
VV
 V V V VV 

V V
VV
 V V V VV 

VV VV
 V V V VV 

VV VV
 V V V V VV


VV VV
 V V V VV 

VV VV
 V V V VV 

VV VV
 V V V VV 

VV VV
 V V V VV 

VV VV
> canal<-odbcConnectExcel("pintura.xls")
> fuerza <- sqlFetch(canal,"fuerza")
> odbcCloseAll()
> modelo <- aov(adherencia ~ metodo*pintura, fuerza)
> anova(modelo)
Analysis of Variance Table
Response: adherencia
Df Sum Sq Mean Sq F value
Pr(>F)
metodo
1 4.6006 4.6006
82.81 9.823e-07 ***
pintura
2 5.7811 2.8906
52.03 1.222e-06 ***

metodo:pintura 2 0.5211 0.2606


4.69
0.03126 *
Residuals
12 0.6667 0.0556
--Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1

V
> library(agricolae)
> cv.model(modelo)

V
[1] 5.819039

V
> compara <-LSD.test(modelo, "pintura")
Study:
LSD t Test for adherencia
Mean Square Error:
pintura,
M1
M2
M3

0.08484127

means and individual ( 95 %) CI

adherencia
std.err replication
LCL
UCL
4.700000 0.2875181
6 4.083335 5.316665
5.800000 0.1390444
6 5.501780 6.098220
4.516667 0.3015700
6 3.869863 5.163470

alpha: 0.05 ; Df Error: 14


Critical Value of t: 2.144787
Least Significant Difference 0.3606842
Means with the same letter are not significantly different.
Groups, Treatments and means
a
M2
5.8
b
M1
4.7
b
M3
4.516667

V
   

V
Tw w !"#   
    
$  

Source
pintura
metodo
Interaction
Error
Total

DF
2
1
2
12
17

SS
5,7811
4,6006
0,5211
0,6667
11,5694

S = 0,2357

R-Sq = 94,24%

MS
2,89056
4,60056
0,26056
0,05556

F
52,03
82,81
4,69

P
0,000
0,000
0,031

R-Sq(adj) = 91,84%

        
  

 

 
 


  
 










a

a


        


 
  




  
 












a

a




 

V
       
 
  
a
a
a
















 


V
Tw w !"#   
    
$  

Source
pintura
metodo
Error
Total

DF
2
1
14
17

S = 0,2913

pintura
M1
M2
M3

SS
5,7811
4,6006
1,1878
11,5694

R-Sq = 89,73%

Mean
4,70000
5,80000
4,51667

metodo
Inmercion
Rocio

MS
2,89056
4,60056
0,08484

Mean
4,50000
5,51111

F
34,07
54,23

P
0,000
0,000

R-Sq(adj) = 87,53%

Individual 95% CIs For Mean Based on


Pooled StDev
-----+---------+---------+---------+---(----*----)
(----*----)
(----*----)
-----+---------+---------+---------+---4,50
5,00
5,50
6,00
Individual 95% CIs For Mean Based on
Pooled StDev
---+---------+---------+---------+-----(----*-----)
(----*----)
---+---------+---------+---------+-----4,40
4,80
5,20
5,60

|    


 
|   
   





| 

 

      


 | 







| 







!  
 | 




  



|   


   
 "


| 









 

  


| 










 
  

V
V
 %   &
    '   


 
?     !"# $%V
 &  '(#$( 

    ?

)* +


+




'  
$, $,- ,- ',' !','





.

+

/,

' ,' ,0

-!,





+

.

0,- ',0 0, ',

0-,/

'



.

.

'

',- !, -,-


   
% 
  
 (
&
Factors:
Base runs:
Base blocks:

2
4
1

Replicates:
Total runs:
Total blocks:

Number of levels: 2, 2
Design Table
Run
1
2
3
4






 











Blk
1
1
1
1

A
1
1
2
2

B
1
2
1
2

4
16
1

!





5
6
7
8
9
10
11
12
13
14
15
16

1
1
1
1
1
1
1
1
1
1
1
1

1
1
2
2
1
1
2
2
1
1
2
2

1
2
1
2
1
2
1
2
1
2
1
2

V
   )
 % %     * 

Factor
A
B

Type
fixed
fixed

Levels
2
2

Values
1, 2
1, 2

Analysis of Variance for Muescas, using Adjusted SS for Tests


Source
A
B
A*B
Error
Total

DF
1
1
1
12
15

Seq SS
227.26
1107.23
303.63
71.72
1709.83

S = 2.44476

Adj SS
227.26
1107.23
303.63
71.72

R-Sq = 95.81%

Adj MS
227.26
1107.23
303.63
5.98

F
38.02
185.25
50.80

P
0.000
0.000
0.000

R-Sq(adj) = 94.76%

V
Least Squares Means for Muescas
A
1
2
B
1
2
A*B
1 1
1 2
2 1
2 2

Mean
20.06
27.60

SE Mean
0.8644
0.8644

15.51
32.15

0.8644
0.8644

16.10
24.02
14.93
40.27

1.2224
1.2224
1.2224
1.2224
 #   

       

a  

a  
































V
V


0

  

> plan0 <- fac.design(nfactors= 2 ,replications= 4 ,repeat.only= FALSE ,
+
randomize= FALSE ,seed= 16931 ,nlevels=c( 2,2 ), factor.names=list( A=c(1,
+
2),B=c(1,2) ) )
> ## creator element of design.info will be different, when using the command
line command!
> showData(plan0, placement='-20+200', font=getRcmdr('logFont'), maxwidth=80,
+
maxheight=30)
> showData(plan0, placement='-20+200', font=getRcmdr('logFont'), maxwidth=80,
+
maxheight=30)
> fix(plan0)
> respuesta <-c(18.2, 27.2, 15.9, 41, 18.9, 24, 14.5, 43.9, 12.9, 22.4, 15.1,
36.3,14.4, 22.5, 14.2, 39.9)
> plan0 <- add.response(plan0,respuesta, replace=FALSE)
> showData(plan0, placement='-20+200', font=getRcmdr('logFont'), maxwidth=80,
+
maxheight=30)
> LinearModel.1 <- lm(respuesta ~ (A + B)^2, data=plan0)
> summary(LinearModel.1)
Call:
lm.default(formula = respuesta ~ (A + B)^2, data = plan0)
Residuals:
Min
1Q Median
-3.975 -1.550 -0.200

3Q
1.256

Max
3.625

Coefficients:
Estimate Std. Error t value
(Intercept) 23.8312
0.6112 38.991
A1
8.3187
0.6112 13.611
B1
3.7688
0.6112
6.166
A1:B1
4.3562
0.6112
7.127
--Signif. codes: 0 '***' 0.001 '**' 0.01

Pr(>|t|)
5.22e-14
1.17e-08
4.83e-05
1.20e-05

***
***
***
***

'*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 2.445 on 12 degrees of freedom


Multiple R-squared: 0.9581,
Adjusted R-squared: 0.9476
F-statistic: 91.36 on 3 and 12 DF, p-value: 1.569e-08
> IAPlot(plan0, abbrev=4, show.alias=FALSE, select=c())

( 0 ( 0 ( 0 '( '0

  
  
+    

( 0 ( 0 ( 0 '( '0

 ,
   
    


?V VVV V
  V
  V
V VVV VVV V

V VV  V VVVV


  



?



1





 





.

+

+

(,0

0,'

0,-





+

.

+

,0

',!

/,





+

+

.

(,$

!,0

'/,

'



.

.

.

,'

',!

'/

V
   

 
   
 (
&

Factors:
Runs:
Blocks:

3
8
1

Base Design:
Replicates:
Center pts (total):

3, 4
2
0

Resolution:
Fraction:

III
1/2

* NOTE * Some main effects are confounded with two-way interactions.


Design Generators: C = AB
Defining Relation:

I = ABC

Alias Structure
I
A
B
C

+
+
+
+

ABC
BC
AC
AB

Design Table
Run
1
2
3
4
5
6
7
8

A
+
+
+
+

B
+
+
+
+

C
+
+
+
+

V
 
 
 
    * * ,

Estimated Effects and Coefficients for Pulido (coded units)
Term
Constant
A
B

Effect
-0.3750
0.2250

Coef
18.4125
-0.1875
0.1125

SE Coef
1.014
1.014
1.014

T
18.17
-0.18
0.11

P
0.000
0.862
0.917

10.3250

S = 2.86684
R-Sq = 86.66%

5.1625

1.014

PRESS = 131.5
R-Sq(pred) = 46.65%

5.09

0.007

R-Sq(adj) = 76.66%

Analysis of Variance for Pulido (coded units)


Source
Main Effects
A
B
C
Residual Error
Pure Error
Total

DF
3
1
1
1
4
4
7

Seq SS
213.594
0.281
0.101
213.211
32.875
32.875
246.469

Adj SS
213.594
0.281
0.101
213.211
32.875
32.875

Adj MS
71.198
0.281
0.101
213.211
8.219
8.219

F
8.66
0.03
0.01
25.94

P
0.032
0.862
0.917
0.007

Least Squares Means for Pulido

A
-1
1
B
-1
1
C
-1
1

Mean

SE Mean

18.60
18.23

1.433
1.433

18.30
18.53

1.433
1.433

13.25
23.58

1.433
1.433

Alias Structure
I + A*B*C
A + B*C
B + A*C
C + A*B

V
       
a  























 #   


a  













?









0


V
V
    
 $ %  
'   ())*+,
$## %&
!" #  
!" #  





 















? $ %  

V
            
 

 


 











V
V

 %   











?








0














         & 0 ?


-)    .


 
 
  
 

 




?



        & 0 ?











( )
1 
0 
0 
0 
0 
0 
/ 















-)    .












?





  
> plan1 <- FrF2(nruns= 4 ,nfactors= 3 , blocks= 1 , alias.block.2fis = FALSE ,
+
ncenter= 0 , MaxC2 = FALSE , resolution = NULL ,replications= 2 ,
+
repeat.only= FALSE ,randomize= FALSE ,seed= 26394 , factor.names=list(
+
A=c(-1,1),B=c(-1,1),C=c(-1,1) ) )
> ## creator element of design.info will be different, when using the command
line command!

> showData(plan1, placement='-20+200', font=getRcmdr('logFont'), maxwidth=80,


+
maxheight=30)
> pulido<-c(20.8,10.5,12.5,22.4,26.5,15.4,14.6,24.6)
> showData(plan1, placement='-20+200', font=getRcmdr('logFont'),
+
maxwidth=80, maxheight=30)
> plan1 <- add.response(plan1,pulido, replace=FALSE)
> showData(plan1, placement='-20+200', font=getRcmdr('logFont'),
+
maxwidth=80, maxheight=30)
> fix(plan1)
> modelo <- lm(pulido ~ (A + B + C), data=plan1)
> summary(modelo)
Call:
lm.default(formula = pulido ~ (A + B + C), data = plan1)
Residuals:
1
2
3
4
-2.85 -2.45 -1.05 -1.10

5
2.85

6
2.45

7
1.05

8
1.10

Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 18.4125
1.0136 18.166 5.4e-05 ***
A1
-0.1875
1.0136 -0.185 0.86224
B1
0.1125
1.0136
0.111 0.91697
C1
5.1625
1.0136
5.093 0.00702 **
--Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 2.867 on 4 degrees of freedom
Multiple R-squared: 0.8666,
Adjusted R-squared: 0.7666
F-statistic: 8.663 on 3 and 4 DF, p-value: 0.03184
DanielPlot(plan1, code=TRUE, autolab=TRUE, alpha=0.1, half=TRUE,
response="pulido")

,'

$ !     
* - 

(,$
(,!

(,

(,'

 +   

,(

,

1

'

!

 

(



?2?3 2 3121

> model<-lm(pulido ~ (A+B+C), data=plan1)


> DanielPlot(plan1, code=FALSE, autolab=TRUE, alpha=0.05,
half=FALSE, response="pulido")
> qqline(model$effect)
> grid(col="brown")
!

  

 
* - 

(
,(

+(
,0










(
,0

'

MEPlot(model, abbrev=4, select=c())

!
 

(



% 
     




$




'


!




(





'

+

+

+

IAPlot(plan1, abbrev=4, show.alias=FALSE, select=c())

 ' ! $ (  '

  
  
+   


+

 ' ! $ (  '

+

 ' ! $ (  '

+

+

+

  .

  
V

? VVV ! V " V" "V


 V   V#$%
V&$%
V

V
 ' V VV(VVV( V
) V  V  V#$%
V*$%
V
+ VVV  V"$V! V#$V! V
,+- V
VV VVVV! V! VV!( V
V

+

> Plan3<-fac.design(nfactors=5,replications=1,repeat.only= FALSE,

randomize=FALSE,seed=20339,nlevels=c(2,2,2,2,2),factor.names=list(
A=c(1,2),B=c(1,2),C=c(1,2),D=c(1,2),E=c(1,2)))
> RESP <- c(13.1,9.9,8.1,7.5,9,9.2,-1,1,10.6,8.2,11,11.2,5.1,9.7,4.1,2.9,6.4,9.8,9,6.6,4.9,5.3,-5.1,3.7,17.3,12.7,12.9,13.7,12.4,12.4,3.8,4)
> Plan3 <- add.response(Plan3,RESP, replace=FALSE)
> Plan3
A B C D E RESP
1 1 1 1 1 1 13.1
2 2 1 1 1 1 9.9
3 1 2 1 1 1 8.1
4 2 2 1 1 1 7.5
5 1 1 2 1 1 9.0
6 2 1 2 1 1 9.2
7 1 2 2 1 1 -1.0
8 2 2 2 1 1 -1.0
9 1 1 1 2 1 10.6
10 2 1 1 2 1 8.2
11 1 2 1 2 1 11.0
12 2 2 1 2 1 11.2
13 1 1 2 2 1 5.1
14 2 1 2 2 1 9.7
15 1 2 2 2 1 4.1
16 2 2 2 2 1 2.9
17 1 1 1 1 2 6.4
18 2 1 1 1 2 9.8
19 1 2 1 1 2 9.0
20 2 2 1 1 2 6.6
21 1 1 2 1 2 4.9
22 2 1 2 1 2 5.3
23 1 2 2 1 2 -5.1
24 2 2 2 1 2 -3.7
25 1 1 1 2 2 17.3
26 2 1 1 2 2 12.7
27 1 2 1 2 2 12.9
28 2 2 1 2 2 13.7
29 1 1 2 2 2 12.4
30 2 1 2 2 2 12.4
31 1 2 2 2 2 3.8
32 2 2 2 2 2 4.0
class=design, type= full factorial
>
>
>
>

mod3<-lm(RESP~(A+B+C+D+E)^2,Plan3)
DanielPlot(mod3,code=FALSE,autolab=TRUE,alpha=0.05,half=FALSE)
grid(col="darkgreen")
MEPlot(mod3,abbrev=4,select=c())

> summary(mod3)

Call:
lm.default(formula = RESP ~ (A + B + C + D + E)^2, data = Plan3)
Residuals:
Min
1Q
-3.350e+00 -7.750e-01

Median
8.604e-16

3Q
8.750e-01

Max
2.450e+00

Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 7.500e+00 3.281e-01
22.858 1.21e-13 ***
A1
-1.000e-01 3.281e-01
-0.305 0.764466
B1
-2.250e+00 3.281e-01
-6.857 3.85e-06 ***
C1
-3.000e+00 3.281e-01
-9.143 9.41e-08 ***
D1
2.000e+00 3.281e-01
6.096 1.55e-05 ***
E1
1.500e-01 3.281e-01
0.457 0.653699
A1:B1
-2.002e-16 3.281e-01 -6.1e-16 1.000000
A1:C1
4.500e-01 3.281e-01
1.371 0.189151
A1:D1
-5.000e-02 3.281e-01
-0.152 0.880786
A1:E1
5.000e-02 3.281e-01
0.152 0.880786
B1:C1
-1.750e+00 3.281e-01
-5.334 6.72e-05 ***
B1:D1
7.000e-01 3.281e-01
2.133 0.048720 *
B1:E1
-2.500e-01 3.281e-01
-0.762 0.457182
C1:D1
3.000e-01 3.281e-01
0.914 0.374119
C1:E1
-4.000e-01 3.281e-01
-1.219 0.240474
D1:E1
1.500e+00 3.281e-01
4.572 0.000314 ***
--Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 1.856 on 16 degrees of freedom
Multiple R-squared: 0.9341,
Adjusted R-squared: 0.8723
F-statistic: 15.12 on 15 and 16 DF, p-value: 1.067e-06

   

   
 (
&

Factors:
Runs:
Blocks:

5
32
1

Base Design:
Replicates:
Center pts (total):

All terms are free from aliasing.

Design Table
Run
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

A
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

B
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

C
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

D
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

E
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

5, 32
1
0

    


  
'   $!()*+,
$## %&
!" #  
!" #  






 

2   













$

$

$





$










?  
3 *4(!$+

V
      |$
a  























V
     |$
a  

















0














"





V
V
 
   
 (
&

Factors:
Runs:
Blocks:

5
16
1

Base Design:
Replicates:
Center pts (total):

Design Generators: E = ABCD

5, 16
1
0

Resolution:
Fraction:

V
1/2

Defining Relation:

I = ABCDE

Alias Structure
I + ABCDE
A + BCDE
B + ACDE
C + ABDE
D + ABCE
E + ABCD
AB + CDE
AC + BDE
AD + BCE
AE + BCD
BC + ADE
BD + ACE
BE + ACD
CD + ABE
CE + ABD
DE + ABC

Design Table
Run
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

A
+
+
+
+
+
+
+
+

B
+
+
+
+
+
+
+
+

C
+
+
+
+
+
+
+
+

D
+
+
+
+
+
+
+
+

E
+
+
+
+
+
+
+
+

 
 
 /.0    * * ,* (* .

Estimated Effects and Coefficients for RESP+ (coded units)
Term
Constant
A
B
C
D
E

Effect
0.000
-4.400
-5.000
4.800
-0.800

Coef
7.300
0.000
-2.200
-2.500
2.400
-0.400

A*B
A*C
A*D
A*E
B*C
B*D
B*E
C*D
C*E
D*E

0.200
-0.600
-0.600
0.500
-4.200
1.100
-0.200
0.700
-0.500
2.400

S = *

0.100
-0.300
-0.300
0.250
-2.100
0.550
-0.100
0.350
-0.250
1.200

PRESS = *

Analysis of Variance for RESP+ (coded units)


Source
Main Effects
A
B
C
D
E
2-Way Interactions
A*B
A*C
A*D
A*E
B*C
B*D
B*E
C*D
C*E
D*E
Residual Error
Total

Obs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

StdOrder
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

DF
5
1
1
1
1
1
10
1
1
1
1
1
1
1
1
1
1
0
15

Seq SS
272.160
0.000
77.440
100.000
92.160
2.560
105.600
0.160
1.440
1.440
1.000
70.560
4.840
0.160
1.960
1.000
23.040
*
377.760

RESP+
6.4000
9.9000
8.1000
6.6000
9.0000
5.3000
-5.1000
-1.0000
10.6000
12.7000
12.9000
11.2000
12.4000
9.7000
4.1000
4.0000

Fit
6.4000
9.9000
8.1000
6.6000
9.0000
5.3000
-5.1000
-1.0000
10.6000
12.7000
12.9000
11.2000
12.4000
9.7000
4.1000
4.0000

Adj SS
272.160
0.000
77.440
100.000
92.160
2.560
105.600
0.160
1.440
1.440
1.000
70.560
4.840
0.160
1.960
1.000
23.040
*

SE
Fit
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*

Adj MS
54.432
0.000
77.440
100.000
92.160
2.560
10.560
0.160
1.440
1.440
1.000
70.560
4.840
0.160
1.960
1.000
23.040
*

Residual
0.0000
-0.0000
-0.0000
0.0000
-0.0000
-0.0000
-0.0000
-0.0000
0.0000
-0.0000
0.0000
0.0000
0.0000
0.0000
0.0000
0.0000

F
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*

St
Resid
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*

P
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*

Least Squares Means for RESP+


Mean
A
-1
1
B
-1
1
C
-1
1
D
-1
1
E
-1
1
A*C
-1
1
-1
1
A*D
-1
1
-1
1
A*E
-1
1
-1
1
B*C
-1
1
-1
1
B*D
-1
1
-1
1
B*E
-1
1
-1
1
C*D
-1
1
-1
1
C*E
-1
1
-1
1
D*E

7.3000
7.3000
9.5000
5.1000
9.8000
4.8000
4.9000
9.7000
7.7000
6.9000
-1
-1
1
1

9.5000
10.1000
5.1000
4.5000

-1
-1
1
1

4.6000
5.2000
10.0000
9.4000

-1
-1
1
1

7.9500
7.4500
6.6500
7.1500

-1
-1
1
1

9.9000
9.7000
9.1000
0.5000

-1
-1
1
1

7.6500
2.1500
11.3500
8.0500

-1
-1
1
1

9.8000
5.6000
9.2000
4.6000

-1
-1
1
1

7.7500
2.0500
11.8500
7.5500

-1
-1
1
1

9.9500
5.4500
9.6500
4.1500

-1 -1
1 -1
-1 1
1 1

6.5000
8.9000
3.3000
10.5000

$ !  .    /.0



Alias Structure
I + A*B*C*D*E
A + B*C*D*E
B + A*C*D*E
C + A*B*D*E
D + A*B*C*E
E + A*B*C*D
A*B + C*D*E
A*C + B*D*E
A*D + B*C*E
A*E + B*C*D
B*C + A*D*E
B*D + A*C*E
B*E + A*C*D
C*D + A*B*E
C*E + A*B*D
D*E + A*B*C

    


  
'   $!(5)*+,
$## %& 
!" #  
!" #  





 



2  









$


$







$










?  

3 *4(! $+

V
      |$'
a  
























     |$'


a  














0

















"





           |$




 
















 












 























 















      |$ & 0 ?




$!(
1 
0

0 
0 
0 
0 
/ 









-)    .

 
$












?





      |$ & "




$!(
1

0

0

0 
0 
/ 






"



-)    .
 
 
$ 
















       |$ & 0 ?


-)    .

 
$




| $







?



       |$ & "


-)    .
 
 
$ 



|$







"






  p4 5   6  #


  
5  7
  

  
> plan4<-ccd(1,n0=2,alpha=4^(1/4),randomize=FALSE,blocks=1)
> plan4

Block
C1.1
C1.2
C1.3
C1.4
C1.5
S2.1
S2.2
S2.3
S2.4

1
1
1
1
1
2
2
2
2

x1
x2
-1.000000 -1.000000
1.000000 -1.000000
-1.000000 1.000000
1.000000 1.000000
0.000000 0.000000
-1.414214 0.000000
1.414214 0.000000
0.000000 -1.414214
0.000000 1.414214

attach(plan4)
hierro<-c(1,1.4,1,1.4,0.917,1.483,1.2,1.2,1.2,1.2,1.2,1.2)
potencia<-c(350,350,400,400,375,375,339.6,410.4,375,375,375,375)
velocidad<c(1054,936,1179,1417,1049,1287,927,1345,1151,1150,1177,1196)
>
>
>
>

> uniformidad<-

c(79.6,81.3,78.5,97.7,76.4,88.1,78.5,92.3,90.1,88.3,88.6,90.1)
> plan4<-cbind(hierro,potencia,x1,x2,velocidad,uniformidad)
> plan4

hierro
[1,]
[2,]
[3,]
[4,]
[5,]
[6,]
[7,]
[8,]
[9,]
[10,]
[11,]
[12,]

potencia
1.000
1.400
1.000
1.400
0.917
1.483
1.200
1.200
1.200
1.200
1.200
1.200

350.0
350.0
400.0
400.0
375.0
375.0
339.6
410.4
375.0
375.0
375.0
375.0

x1
-1.000000
1.000000
-1.000000
1.000000
0.000000
-1.414214
1.414214
0.000000
0.000000
0.000000
-1.000000
1.000000

x2 velocidad uniformidad
-1.000000
1054
-1.000000
936
1.000000
1179
1.000000
1417
0.000000
1049
0.000000
1287
0.000000
927
-1.414214
1345
1.414214
1151
0.000000
1150
-1.000000
1177
-1.000000
1196

79.6
81.3
78.5
97.7
76.4
88.1
78.5
92.3
90.1
88.3
88.6
90.1

> mod4<-rsm(velocidad~FO(hierro,potencia))
> summary(mod4)

Call:
rsm(formula = velocidad ~ FO(hierro, potencia))
Residuals:
Min
1Q
-127.184 -23.299

Median
-5.167

3Q
42.897

Max
104.945

Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -1429.9250
386.3547 -3.701 0.004912 **
hierro
285.3225
119.4576
2.388 0.040658 *
potencia
5.9819
0.9553
6.262 0.000148 ***
--Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 67.59 on 9 degrees of freedom
Multiple R-squared: 0.8331,
Adjusted R-squared: 0.796
F-statistic: 22.46 on 2 and 9 DF, p-value: 0.0003173
Analysis of Variance Table
Response: velocidad
FO(hierro, potencia)
Residuals
Lack of fit
Pure error

Df Sum Sq Mean Sq F value


Pr(>F)
2 205206 102603 22.456 0.0003173
9 41121
4569
6 39644
6607 13.420 0.0285150
3
1477
492

Direction of steepest ascent (at radius 1):


hierro
potencia
0.99978030 0.02096072

Corresponding increment in original units:


hierro
potencia
0.99978030 0.02096072

steepest(mod4,descent =
Linear path of steepest
dist hierro potencia
1
0.0 0.000
0.000
2
0.5 -0.500
-0.010
3
1.0 -1.000
-0.021
4
1.5 -1.500
-0.031
5
2.0 -2.000
-0.042
6
2.5 -2.499
-0.052
7
3.0 -2.999
-0.063
8
3.5 -3.499
-0.073
9
4.0 -3.999
-0.084
10 4.5 -4.499
-0.094
11 5.0 -4.999
-0.105

TRUE)
descent
|
yhat
| -1429.925
| -1572.646
| -1715.373
| -1858.094
| -2000.821
| -2143.257
| -2285.984
| -2428.705
| -2571.432
| -2714.153
| -2856.880

Вам также может понравиться