Ck function: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Jeremy (Importing text file) |
||
Line 1: | Line 1: | ||
===Purpose=== | ===Purpose=== | ||
Validates distribution function string. | Validates distribution function string. | ||
===Synopsis=== | ===Synopsis=== | ||
:string = ck_function(string) | :string = ck_function(string) | ||
===Description=== | ===Description=== | ||
Translates various function string names into internal keyword. Abbreviations can be used with distribution function. For instance, the following example will produce the density distribution at x: | Translates various function string names into internal keyword. Abbreviations can be used with distribution function. For instance, the following example will produce the density distribution at x: | ||
>> n = normdf('d',x); | >> n = normdf('d',x); | ||
====INPUTS==== | ====INPUTS==== | ||
*''''cumulative'''' 'c' 'cdf' | *''''cumulative'''' 'c' 'cdf' | ||
*''''density'''' 'd' 'pdf' | *''''density'''' 'd' 'pdf' | ||
*''''quantile'''' 'q' 'inv' 'inverse' | *''''quantile'''' 'q' 'inv' 'inverse' | ||
*''''random'''' 'r' | *''''random'''' 'r' | ||
====OUTPUTS==== | ====OUTPUTS==== | ||
'cumulative' | 'cumulative' | ||
'density' | 'density' | ||
'quantile' | 'quantile' | ||
'random' | 'random' | ||
===Examples=== | ===Examples=== | ||
===string = ck_function(string);=== | ===string = ck_function(string);=== | ||
===See Also=== | ===See Also=== | ||
[[ensurep]] | [[ensurep]] |
Revision as of 15:24, 3 September 2008
Purpose
Validates distribution function string.
Synopsis
- string = ck_function(string)
Description
Translates various function string names into internal keyword. Abbreviations can be used with distribution function. For instance, the following example will produce the density distribution at x:
>> n = normdf('d',x);
INPUTS
- 'cumulative' 'c' 'cdf'
- 'density' 'd' 'pdf'
- 'quantile' 'q' 'inv' 'inverse'
- 'random' 'r'
OUTPUTS
'cumulative'
'density'
'quantile'
'random'