model.comp: Model comparison for Echidna.

View source: R/AF.Echidna.R

model.compR Documentation

Model comparison for Echidna.

Description

model.comp This function would compare models with different random structure under the same fixed factors.

Usage

model.comp(...,LRT=FALSE,boundary = TRUE)

Arguments

...

A list with more than two Echidna-R results, such as "m1,m2,m3,m4".

LRT

Value TRUE for Likelihood ratio test (LRT), default (FALSE) for no LRT.

boundary

boundary If TRUE (the default) hypothesized parameter values being tested lie on the boundary of the parameter space.

Author(s)

Yuanzhen Lin <yzhlinscau@163.com>

References

Yuanzhen Lin. R & ASReml-R Statistics. China Forestry Publishing House. 2016

Examples


## Not run: 
library(AFEchidna)



              
#####   model comparison    #####
model.comp(m1,m2)
model.comp(m1,m2,LRT=TRUE)

## End(Not run)


yzhlinscau/AAfun0s documentation built on April 18, 2023, 4:11 p.m.