Permutation Test
Description
The function performs a permuatation test with Deviance as test statistic.
Usage
1 2 3  PermTest(xx, formula.full, D.full, D.red, model.dat, glm.family, perm,
test.vars, cf, adjust, snowfall.args, snowfall.seed,
save.stat.data, file.save, use.save.stat.data, file.use)

Arguments
xx 
Dataset (variables x patients). 
formula.full 
Formula from the full model. 
D.full 
Designmatrix of the full model. 
D.red 
Designmatrix of the reduced model. 
model.dat 
Dataset with covariables. 
glm.family 
Family for the regression. 
perm 
Number of permutations. 
test.vars 
Variables or groups of variables to test. 
cf 
Combining function for the partial tests. 
adjust 
Method for pvalue adjustment. 
snowfall.args 
A list with parameters for the initialisation of parallelizing with package 
snowfall.seed 
Start seed. 
save.stat.data 
Logical value, default is 
file.save 
File name for saving. 
use.save.stat.data 
Logical value, default is 
file.use 
File name for data loading. 
Value
A list with

Original test data combined with 

Degree of freedom for each variable or group of 

Permutation pvalue for each variable or group of 

Permutation test data. 

Original test data. 
Author(s)
Frederike Fuhlbrueck f.fuhlbrueck@googlemail.com
See Also
See ResamplelogLik
, varwiselogLik
and expr.dev.test
.