nonadditivity {agricolae} | R Documentation

## Nonadditivity model test

### Description

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.

### Usage

    nonadditivity(y, factor1, factor2, df, MSerror)

### Arguments

`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

### Details

Only two factor: Block and treatment or factor 1 and factor 2.

### Value

P, Q and non-additivity analysis of variance

### Author(s)

Felipe de Mendiburu

### References

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

### Examples

    library(agricolae)
    data(potato )
    potato[,1]<-as.factor(potato[,1])
    model<-lm(cutting ~ date + variety,potato)
    df<-df.residual(model)
    MSerror<-deviance(model)/df
    analysis<-with(potato,nonadditivity(cutting, date, variety, df, MSerror))

[Package agricolae version 1.2-9 Index]