Ck function: Difference between revisions

From Eigenvector Research Documentation Wiki
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====
 
====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]]

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'

Examples

string = ck_function(string);

See Also

ensurep