nonadditivity {agricolae} | R Documentation |
The resistance for the transformable nonadditivity, due to J. W. Tukey, is based on the detection of a curvilinear relation between y-est(y) and est(y). A freedom degree for the transformable nonadditivity.
nonadditivity(y, factor1, factor2, df, MSerror)
y |
Answer of the experimental unit |
factor1 |
Firts treatment applied to each experimental unit |
factor2 |
Second treatment applied to each experimental unit |
df |
Degrees of freedom of the experimental error |
MSerror |
Means square error of the experimental |
Only two factor: Block and treatment or factor 1 and factor 2.
y |
Numeric |
factor1 |
alfanumeric |
factor2 |
alfanumeric |
df |
Numeric |
MSerror |
Numeric |
Felipe de Mendiburu
1. Steel, R.; Torri,J; Dickey, D.(1997) Principles and Procedures of Statistics A Biometrical Approach
2. George E.P. Box; J. Stuart Hunter and William G. Hunter. Statistics for experimenters. Wile Series in probability and statistics
library(agricolae) data(potato ) potato[,1]<-as.factor(potato[,1]) model<-lm(cutting ~ date + variety,potato) df<-df.residual(model) MSerror<-deviance(model)/df attach(potato) analysis<-nonadditivity(cutting, date, variety, df, MSerror) detach(potato)