Description Usage Arguments Value Author(s) References Examples
This tests each eigenanatomy region in order invisibly to the user and stops when testing stops conserving power. The algorithm returns NA if there is no good testing procedure, given the statistical target. The basic idea is to test the variables that explain the most variance first and continue testing as long as (a) there is no significant relationship yet found or (b) the existing significant relationship remains significant, given the correction for multiple comparisons.
1 | testEanat(mymdl, myvar, sigthresh = 0.05, method = "BH")
|
mymdl |
input model from |
myvar |
name of variable in model to test |
sigthresh |
significance threshold, for example 0.05 |
method |
a method for |
nvecs is output, analogous to nvecs
in
svd(mat,nu=0,nv=nvecs)
Avants BB, Tustison NJ
Avants BB, Hackman D, LM Betancourt, GM Lawson, H Hurt, MJ Farah #' Relation of Childhood Home Environment to Cortical Thickness in Late Adolescence: Specificity of Experience and Timing, PloS one, 2015
1 2 3 4 5 6 7 8 9 | mat <- matrix(rnorm(300),ncol=3)
n = nrow(mat)
g = factor( c(rep(1,n/2),rep(0,n/2)) )
mydf = data.frame( gen=g, a=rnorm(n))
mymdl<-lm( mat ~ a + g , data=mydf )
nv = testEanat( mymdl, myvar="g1" )
mat[1:(n/2),3] = mat[1:(n/2),3] + 2
mymdl<-lm( mat ~ a + g , data=mydf )
nv = testEanat( mymdl, myvar="g1" )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.