comparison scripts/statistics/base/__quantile__.m @ 8664:e07e93c04080

style fixes
author John W. Eaton <jwe@octave.org>
date Wed, 04 Feb 2009 10:56:23 -0500
parents cf59d542f33e
children 7d48766c21a5
comparison
equal deleted inserted replaced
8663:4238f2600a17 8664:e07e93c04080
115 case 9 115 case 9
116 ## Approximately unbiased respecting order statistics. 116 ## Approximately unbiased respecting order statistics.
117 p = kron (p, m+0.25) + 0.375; 117 p = kron (p, m+0.25) + 0.375;
118 118
119 otherwise 119 otherwise
120 error ("quantile: Unknown method, '%d'",method) 120 error ("quantile: Unknown method, '%d'", method);
121 endswitch 121 endswitch
122 122
123 ## Duplicate single values. 123 ## Duplicate single values.
124 imm1 = mm == 1; 124 imm1 = mm == 1;
125 x(2,imm1) = x(1,imm1); 125 x(2,imm1) = x(1,imm1);