Displaying 1 result from an estimated 1 matches for "probmci".
2011 Mar 01
1
Problem on flexmix when trying to apply signature developed in one model to a new sample
...M)
Then I want to test to which group one
subset of patients belongs, so I import a smaller sample of the previous data:
BM2<-data.frame (Data2$var1,Data2$var2)
However when I test the results I get are
from the complete training sample I used in ex2 and not from the new sample
BM2.
ProbMCI<-posterior(ex2, BM2)
And if I do the following I get double the
number of entered cases (I think because I entered 2 variables):
BM2<-cbind (Data2$var1,Data2$var2)
p<-posterior(ex2)[BMMCI,]
max.col(p)
(The same with clusters(ex2)[BM2])
In the future I would like to test the...