search for: ncalc

Displaying 3 results from an estimated 3 matches for "ncalc".

Did you mean: calc
2016 Apr 06
0
R-dvel [robustness Simulation study of 2 sample test on several combination of factors ]
...4,6,8,10,12,14) # this number is needed below nsds<-length(sds) set.seed(8) #number of simulations nSims<-10000 #set significance level,alpha for the whole simulatio alpha<-0.05 #set empty vector of length no.of _calculations_ to store p-values # Note: you have 54 calculations, not 10000 ncalcs<-dim(sample_sizes)[2]*nsds t_equal <-c(rep(0,length=ncalcs)) t_unequal <-c(rep(0,length=ncalcs)) mann <-c(rep(0,length=ncalcs)) #set up matrix for storing data from the vectors # but you do want 10000 replications of each calculation matrix_Equal<-matrix(rep(NA,ncalcs*nSims),nrow=n...
2016 Apr 06
0
R-dvel [robustness Simulation study of 2 sample test on several combination of factors ]
...ds<-length(sds) > set.seed(8) > > #number of simulations > nSims<-10000 > #set significance level,alpha for the whole simulatio > alpha<-0.05 > > #set empty vector of length no.of _calculations_ to store p-values > # Note: you have 54 calculations, not 10000 > ncalcs<-dim(sample_sizes)[2]*nsds > t_equal <-c(rep(0,length=ncalcs)) > t_unequal <-c(rep(0,length=ncalcs)) > mann <-c(rep(0,length=ncalcs)) > > #set up matrix for storing data from the vectors > # but you do want 10000 replications of each calculation > matrix_Equal<-...
2002 Oct 17
1
underflow handling in besselK (PR#2179)
...*). The answer may be as simple as returning 0 rather than +Inf in this case. If this is appropriate, the following patch should do the job: *** bessel_k.c Thu Oct 17 13:55:55 2002 --- bessel_k.c.dist Thu Oct 17 13:48:53 2002 *************** *** 216,224 **** ML_ERROR(ME_RANGE); *ncalc = *nb; for(i=0; i < *nb; i++) ! if (ex<=0) ! bk[i] = ML_POSINF; ! else bk[i]=0.0; return; } k = 0; --- 216,222 ---- ML_ERROR(ME_RANGE); *ncalc = *nb; for(i=0; i < *nb; i++) ! bk[i] = ML_POSINF; return; } k = 0; (...