/dports/math/octave/octave-6.4.0/scripts/statistics/ |
H A D | zscore.m | 27 ## @deftypefn {} {@var{z} =} zscore (@var{x}) 50 function [z, mu, sigma] = zscore (x, opt = 0, dim) function 97 %!assert (zscore ([1,2,3]), [-1,0,1]) 99 %!assert (zscore (int8 ([1,2,3])), [-1,0,1]) 100 %!assert (zscore (ones (3,2,2,2)), zeros (3,2,2,2)) 102 %!assert <*54531> (zscore ([1,2,3], [], 2), [-1,0,1]) 105 %!error zscore () 106 %!error zscore (1, 2, 3) 107 %!error <X must be a numeric> zscore (['A'; 'B']) 109 %!error <OPT must be empty, 0, or 1> zscore (1, 1.5) [all …]
|
/dports/math/octave-forge-statistics/statistics-1.4.3/install-conditionally/base/ |
H A D | zscore.m | 18 ## @deftypefn {} {@var{z} =} zscore (@var{x}) 44 function [z, mu, sigma] = zscore (x, opt, dim) function 93 %!assert (zscore ([1,2,3]), [-1,0,1]) 95 %!assert (zscore (int8 ([1,2,3])), [-1,0,1]) 100 %!error zscore () 101 %!error zscore (1, 2, 3) 102 %!error zscore (['A'; 'B']) 103 %!error zscore (1, ones (2,2)) 104 %!error zscore (1, 1.5) 105 %!error zscore (1, 1, 0) [all …]
|
/dports/science/afni/afni-AFNI_21.3.16/src/ |
H A D | thd_statpval.c | 128 float zscore = thr ; in THD_stat_to_zscore() local 130 if( stataux == NULL && statcode != FUNC_ZT_TYPE ) return zscore ; in THD_stat_to_zscore() 141 zscore = student_t2z( thr , stataux[0] ) ; in THD_stat_to_zscore() 145 zscore = fstat_t2z( thr , stataux[0] , stataux[1] ) ; in THD_stat_to_zscore() 149 zscore = normal_t2z( thr ) ; /* use stataux parameters */ in THD_stat_to_zscore() 153 zscore = chisq_t2z( thr , stataux[0] ) ; in THD_stat_to_zscore() 157 zscore = beta_t2z( thr , stataux[0] , stataux[1] ) ; in THD_stat_to_zscore() 161 zscore = binomial_t2z( thr , stataux[0] , stataux[1] ) ; in THD_stat_to_zscore() 165 zscore = gamma_t2z( thr , stataux[0] , stataux[1] ) ; in THD_stat_to_zscore() 169 zscore = poisson_t2z( thr , stataux[0] ) ; in THD_stat_to_zscore() [all …]
|
H A D | nifti_statlib.c | 41 float zscore = thr ; in NIFTI_stat_to_zscore() local 43 return zscore ; in NIFTI_stat_to_zscore()
|
/dports/biology/py-scikit-bio/scikit-bio-0.5.6/skbio/diversity/alpha/ |
H A D | _chao1.py | 75 def chao1_ci(counts, bias_corrected=True, zscore=1.96): argument 124 return _chao_confidence_with_singletons(chao, o, chaovar, zscore) 127 return _chao_confidence_no_singletons(n, o, zscore) 191 def _chao_confidence_with_singletons(chao, observed, var_chao, zscore=1.96): argument 205 K = np.exp(abs(zscore) * np.sqrt(np.log(1 + (var_chao / T ** 2)))) 209 def _chao_confidence_no_singletons(n, s, zscore=1.96): argument 218 return (max(s, s / (1 - P) - zscore * np.sqrt((s * P / (1 - P)))), 219 s / (1 - P) + zscore * np.sqrt(s * P / (1 - P)))
|
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/mpfr-4.1.0-p13-c/tools/bench/ |
H A D | mpfrbench.c | 148 compute_score (mpz_t zscore, int op, gmp_randstate_t randstate) in compute_score() argument 158 mpz_init_set_si (zscore, 1); in compute_score() 197 mpz_mul_ui (zscore, zscore, ops_per_sec); in compute_score() 211 mpz_root (zscore, zscore, countprec); in compute_score() 216 compute_groupscore (mpz_t groupscore[], int countop, mpz_t zscore[]) in compute_groupscore() argument 229 mpz_mul (groupscore[group], groupscore[group], zscore[op]); in compute_groupscore() 240 compute_globalscore (mpz_t globalscore, int countop, mpz_t zscore[]) in compute_globalscore() argument 247 mpz_mul (globalscore, globalscore, zscore[op]); in compute_globalscore()
|
/dports/biology/fasta/fasta/ |
H A D | zs_exp.c | 14 float zscore, e_val, p_val; in main() local 21 else sscanf(argv[1],"%f",&zscore); in main() 26 e_val = zs_to_E(zscore, db_size); in main() 31 zscore, db_size, e_val); in main()
|
H A D | res_stats.c | 25 float zscore; member 153 bestcut = (int)(bptr[bestfull-1]->zscore+0.5); 161 bestptr->zscore = zscor; 185 bptr[i]->escore = zs_to_E(bptr[i]->zscore,bptr[i]->n1); 374 bbp->score,bbp->zscore, in showbest() 383 bbp->score,bbp->zscore, in showbest() 428 v = bptr[r]->zscore; 430 while (bptr[++i]->zscore > v ) ; 431 while (bptr[--j]->zscore < v ) ; 477 if (ptr1->zscore < ptr2->zscore) return (1); [all …]
|
H A D | ssearch.c | 136 float zscore; /* z-value */ member 821 bestptr->zscore = zscor; 1121 bbp->zscore,bbp->escore); 1279 bbp->score,bbp->zscore, 1286 bbp->score,bbp->zscore, 1297 bbp->score,bbp->zscore, 1355 v = bptr[r]->zscore; 1439 if (ptr1->zscore < ptr2->zscore) return (1); 1440 else if (ptr1->zscore > ptr2->zscore) return (-1); 1448 if (ptr1->zscore < ptr2->zscore) return (1); [all …]
|
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/mpc-1.2.1-c/tools/bench/ |
H A D | mpcbench.c | 183 compute_score (double *zscore, int op, gmp_randstate_t randstate) in compute_score() argument 198 *zscore = 1.0; in compute_score() 238 *zscore *= ops_per_time; in compute_score() 252 *zscore = pow (*zscore, 1.0 / (double) countprec); in compute_score() 257 compute_groupscore (double groupscore[], int countop, double zscore[]) in compute_groupscore() argument 270 groupscore[group] *= zscore[op]; in compute_groupscore() 281 compute_globalscore (double *globalscore, int countop, double zscore[]) in compute_globalscore() argument 287 *globalscore *= zscore[op]; in compute_globalscore()
|
/dports/math/mpc/mpc-1.2.1/tools/bench/ |
H A D | mpcbench.c | 183 compute_score (double *zscore, int op, gmp_randstate_t randstate) in compute_score() argument 198 *zscore = 1.0; in compute_score() 238 *zscore *= ops_per_time; in compute_score() 252 *zscore = pow (*zscore, 1.0 / (double) countprec); in compute_score() 257 compute_groupscore (double groupscore[], int countop, double zscore[]) in compute_groupscore() argument 270 groupscore[group] *= zscore[op]; in compute_groupscore() 281 compute_globalscore (double *globalscore, int countop, double zscore[]) in compute_globalscore() argument 287 *globalscore *= zscore[op]; in compute_globalscore()
|
/dports/science/qmcpack/qmcpack-3.11.0/tests/estimator/latdev/free/ |
H A D | flatdev.py | 52 zscore = abs(ym-expect)/ye 53 fail = np.any(zscore > 3.) 55 return success, zscore 66 success, zscore = check_latdev(w1, w2, ym, ye) variable 68 print(zscore)
|
/dports/biology/fasta3/fasta-36.3.8/src/ |
H A D | res_stats.c | 41 double zscore; member 258 bptr[i]->zscore = 283 bestptr->zscore = zscor; 301 bptr[i]->zscore = 537 bbp->score,bbp->zscore, in showbest() 546 bbp->score,bbp->zscore, in showbest() 591 v = bptr[r]->zscore; 593 while (bptr[++i]->zscore > v ) ; 594 while (bptr[--j]->zscore < v ) ; 640 if (ptr1->zscore < ptr2->zscore) return (1); [all …]
|
H A D | showrss.c | 57 zs_to_bit(bbp->zscore,m_msg->n0,bbp->n1),bbp->score[0],zs_to_p(bbp->zscore)); in showbest() 60 pst.zdb_size,bbp->score[0],zs_to_E(bbp->zscore,bbp->n1,0l,pst.zdb_size,db)); in showbest()
|
/dports/biology/seqan-apps/seqan-seqan-v2.4.0/tests/statistics/ |
H A D | test_statistics_base.h | 176 double x=zscore(W, X, mm, AhoCorasick()); in SEQAN_DEFINE_TEST() 177 double x2=zscore(W, X, mmNew, AhoCorasick()); in SEQAN_DEFINE_TEST() 183 double x3=zscore(W, X, mm, WuManber()); in SEQAN_DEFINE_TEST()
|
/dports/finance/py-backtrader/backtrader-1.9.74.123/contrib/samples/pair-trading/ |
H A D | pair-trading.py | 75 self.zscore = self.transform.zscore 98 print('zscore is', self.zscore[0]) 102 if (self.zscore[0] > self.upper_limit) and (self.status != 1): 125 elif (self.zscore[0] < self.lower_limit) and (self.status != 2):
|
/dports/science/R-cran-DCluster/DCluster/R/ |
H A D | dean_test.R | 6 zscore <- -log(x.nb$theta)*x.nb$theta/x.nb$SE.theta functionVar 7 u <- pnorm(zscore) 14 vec <- c(zscore, pz)
|
/dports/graphics/R-cran-pROC/pROC/R/ |
H A D | delong.R | 25 zscore <- with(calcs, d/sig) functionVar 27 if (is.nan(zscore) && calcs$d == 0 && calcs$sig == 0) 28 zscore <- 0 # special case: no difference between theta's produces a NaN 30 return(zscore)
|
/dports/databases/redis-devel/redis-0e5b813/tests/unit/type/ |
H A D | zset.tcl | 169 assert {[r zscore ztmp x] == 11} 170 assert {[r zscore ztmp y] == 21} 178 assert {[r zscore ztmp x] == 11} 179 assert {[r zscore ztmp y] == 21} 180 assert {[r zscore ztmp z] == 30} 188 assert {[r zscore ztmp x] == 10} 189 assert {[r zscore ztmp y] == 20} 190 assert {[r zscore ztmp z] == 29} 198 assert {[r zscore ztmp x] == 11} 199 assert {[r zscore ztmp y] == 21} [all …]
|
/dports/databases/redis6/redis-6.0.16/tests/unit/type/ |
H A D | zset.tcl | 79 assert {[r zscore ztmp x] == 11} 80 assert {[r zscore ztmp y] == 21} 99 assert {[r zscore ztmp x] == 10} 100 assert {[r zscore ztmp y] == 20} 101 assert {[r zscore ztmp a] == 100} 102 assert {[r zscore ztmp b] == 200} 109 assert {[r zscore ztmp x] == 25} 278 assert_equal 1 [r zscore zset foo] 291 assert_equal -2 [r zscore zset foo] 292 assert_equal 6 [r zscore zset bar] [all …]
|
/dports/databases/redis5/redis-5.0.14/tests/unit/type/ |
H A D | zset.tcl | 77 assert {[r zscore ztmp x] == 11} 78 assert {[r zscore ztmp y] == 21} 97 assert {[r zscore ztmp x] == 10} 98 assert {[r zscore ztmp y] == 20} 99 assert {[r zscore ztmp a] == 100} 100 assert {[r zscore ztmp b] == 200} 107 assert {[r zscore ztmp x] == 25} 276 assert_equal 1 [r zscore zset foo] 289 assert_equal -2 [r zscore zset foo] 290 assert_equal 6 [r zscore zset bar] [all …]
|
/dports/devel/p5-Test-Mock-Redis/Test-Mock-Redis-0.22/lib/Test/Mock/ |
H A D | Redis.pm | 1028 sub zscore { subroutine 1067 return map { $withscores ? ( $_, $self->zscore($key, $_) ) : $_ } 1082 return map { $withscores ? ( $_, $self->zscore($key, $_) ) : $_ } 1098 ? sub { $self->zscore($key, $_[0]) > $min && $self->zscore($key, $_[0]) < $max } 1100 ? sub { $self->zscore($key, $_[0]) > $min && $self->zscore($key, $_[0]) <= $max } 1102 ? sub { $self->zscore($key, $_[0]) >= $min && $self->zscore($key, $_[0]) < $max } 1103 : sub { $self->zscore($key, $_[0]) >= $min && $self->zscore($key, $_[0]) <= $max } 1106 return map { $withscores ? ( $_, $self->zscore($key, $_) ) : $_ } 1116 return map { $withscores ? ( $_, $self->zscore($key, $_) ) : $_ }
|
/dports/biology/p5-BioPerl/BioPerl-1.7.7/t/data/ |
H A D | genewise_output.paracel_btk | 13 WARNING: No calibration or zscore calculation was done. 84 WARNING: No calibration or zscore calculation was done. 153 WARNING: No calibration or zscore calculation was done.
|
/dports/biology/viennarna/ViennaRNA-2.4.18/doc/latex/ |
H A D | zscore_8h_source.tex | 1 \hypertarget{zscore_8h_source}{}\doxysection{zscore.\+h} 2 \label{zscore_8h_source}\index{ViennaRNA/zscore.h@{ViennaRNA/zscore.h}}
|
/dports/audio/festvox-cmu_us_rms_arctic/cmu_us_rms_arctic/festvox/ |
H A D | build_clunits.scm | 492 (zscore)) 494 (set! zscore (/ (- dur (suffstats.mean stats)) 496 (if (< zscore 0) 497 (set! zscore (* -1 zscore))) 499 (> zscore 3))
|