Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Percentile: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
Cg van (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:Functions_Used_in_where_Expressions]]
{{HelpFiles}}  
{{HelpFiles}}
 
==== percentile ====
 
Calculate the 100-quantiles.


====percentile====
'''Syntax'''


Calculate the 100-quantiles.
percentile(''dcsColumn, pct'')


'''Syntax'''
'''Arguments'''  


percentile(''dcsColumn, pct'')
''dcsColumn'':  is a numeric dcs column (column whose data type is Number)  


'''Arguments'''
''pct'': an integer number. (0 < pct < 100)


''dcsColumn'':  is a numeric dcs column (column whose data type is Number)
'''Example'''  


''pct'': an integer number. (0 < pct < 100)
''number n = percentile(C1, 25) where C2 == 1; ''


'''Example'''
''print(n); //return percentile value''


percentile(C1, 25) where C2 == 1;
'''Availability'''


'''Availability'''
Version 5.2 __NOTOC__ <!-- imported from file: 762.htm-->


Version 5.2
[[Category:Functions_Used_in_where_Expressions]]
__NOTOC__
<!-- imported from file: 762.htm-->

Latest revision as of 10:41, 20 December 2011



percentile

Calculate the 100-quantiles.

Syntax

percentile(dcsColumn, pct)

Arguments

dcsColumn:  is a numeric dcs column (column whose data type is Number)

pct: an integer number. (0 < pct < 100)

Example

number n = percentile(C1, 25) where C2 == 1;

print(n); //return percentile value

Availability

Version 5.2