Displaying 1 result from an estimated 1 matches for "ecdfgrp1".
Did you mean:
ecdfgrp2
2008 Mar 21
4
difference between 2 ecdfs
hi,
a) i have something like:
ecdfgrp1<-ecdf(subset(mydata,TMT_GRP==1)$Y);
ecdfgrp2<-ecdf(subset(mydata,TMT_GRP==2)$Y);
how can i plot the difference between these 2 step functions?
i could begin with ecdfrefl<-function(x){ecdfgrp2(x)-ecdfgrp1(x);} ...
what next?
b) if i have a vector with repeated numeric values how can...