View source: R/NNCTFunctions.r
EV.tctI | R Documentation |
Returns a matrix
of same dimension as, ct
, whose entries are the expected values
of the Type I cell-specific test statistics, T^I_{ij}.
The row and column names are inherited from ct
.
These expected values are valid under RL or CSR.
See also (\insertCiteceyhan:jkss-posthoc-2017;textualnnspat) and the references therein.
EV.tctI(ct)
ct |
A nearest neighbor contingency table |
A matrix
of the expected values of Type I cell-specific tests.
Elvan Ceyhan
EV.tct
, tct
and EV.nnct
n<-20 #or try sample(1:20,1) Y<-matrix(runif(3*n),ncol=3) ipd<-ipd.mat(Y) cls<-sample(1:2,n,replace = TRUE) #or try cls<-rep(1:2,c(10,10)) ct<-nnct(ipd,cls) EV.tctI(ct)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.