Ck function: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Jeremy (Importing text file) |
||
(One intermediate revision by the same user not shown) | |||
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==== | |||
*''''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==== | |||
'cumulative' | 'cumulative' | ||
'density' | 'density' | ||
'quantile' | 'quantile' | ||
'random' | 'random' | ||
===Examples=== | ===Examples=== | ||
===string = ck_function(string);=== | ===string = ck_function(string);=== | ||
===See Also=== | ===See Also=== | ||
[[ensurep]] | [[ensurep]] |
Latest revision as of 17:32, 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'