Probability Expressions

Random

Description:

The Random operation creates a Result by taking a random number between Input 1 (as a lower bound) and Input 2 (as an upper bound).

[Input 1] < Result < [Input 2]

Input 1
Input Types:

  • Data Point
  • Literal
  • Variable
  • Stack

Data Types:

  • Decimal
  • Double
  • Int16
  • Int32
  • Int64

Input 2
Input Types:

  • Data Point
  • Literal
  • Variable
  • Stack

Data Types:

  • Decimal
  • Double
  • Int16
  • Int32
  • Int64

Result
Input Types:

  • Data Point
  • Variable
  • Stack

Data Types:

  • Double

Factorial

Description:

The Factorial operation creates a Result by evaluating the factorial of Input 1.

[Input 1]! = Result

Input 1
Input Types:

  • Data Point
  • Literal
  • Variable
  • Stack

Data Types:

  • Decimal
  • Double
  • Int16
  • Int32
  • Int64

Result
Input Types:

  • Data Point
  • Variable
  • Stack

Data Types:

  • Double

NumberPossibilities

Description:

The NumberPossibilities operation creates a Result by computing the k-permutations of n, where n is indicated by Input 1 and k is indicated by Input 2. The k-permutations of n is all arrangements (or orderings) of length k taken from a set of length n.

P( [Input 1] , [Input 2] ) = Result

Input 1
Input Types:

  • Data Point
  • Literal
  • Variable
  • Stack

Data Types:

  • Decimal
  • Double
  • Int16
  • Int32
  • Int64

Input 2
Input Types:

  • Data Point
  • Literal
  • Variable
  • Stack

Data Types:

  • Decimal
  • Double
  • Int16
  • Int32
  • Int64

Result
Input Types:

  • Data Point
  • Variable
  • Stack

Data Types:

  • Double

NumberCombinations

Description:

The NumberCombinations operation creates a Result by computing the k-combinations of n, where n is indicated by Input 1 and k is indicated by Input 2. The k-combinations of n is the number of ways to select k items from n total items, where the order of selection does not matter. This operation is generally read as "n choose k."

C( [Input 1] , [Input 2] ) = Result

Input 1
Input Types:

  • Data Point
  • Literal
  • Variable
  • Stack

Data Types:

  • Decimal
  • Double
  • Int16
  • Int32
  • Int64

Input 2
Input Types:

  • Data Point
  • Literal
  • Variable
  • Stack

Data Types:

  • Decimal
  • Double
  • Int16
  • Int32
  • Int64

Result
Input Types:

  • Data Point
  • Variable
  • Stack

Data Types:

  • Double