Table of Contents

Search

  1. Preface
  2. RulePoint
  3. RulePoint Concepts
  4. Using RulePoint
  5. RulePoint Objects
  6. Working with Topics
  7. Working with Connections
  8. Working with Sources
  9. Working with Responders
  10. Working with Responses
  11. Working with Watchlists
  12. Working with Analytics
  13. DRQL
  14. Working with Rules
  15. Working with Alerts
  16. Setting Access Controls
  17. Troubleshooting RulePoint Issues
  18. Connecting to an Ultra Messaging Application
  19. Creating an Ultra Messaging JMS Source

User Guide

User Guide

stdev

stdev

The stdev analytic estimates the standard deviation based on a sample. The standard deviation is a measure of how widely values are dispersed from the average value, that is the mean.

Syntax

stdev(number1,[number2],...])
The following table describes the required and optional arguments:
Argument
Required
Optional
Description
number1
Required
The first number argument corresponding to a sample of a population.
number2
Optional
A single array or a reference to an array instead of arguments separated by commas.
The following table provides the datatype for the parameters you can pass:
Parameter Input Options
Datatype
Event property
Text
Watchlist values
Text
Example
when 1 stockdeviation s with stdev(s.p1,s.p2,s.p3,s.p4) as result>2.73 then response with body=”${result}”
The following table describes the result for the event property value that you pass:
Event Property Value
Description
Result
p1 1.98
p2 2.45
p3 -3.56
p4 0
Returns the standard deviation of the set of numbers.
2.7329638978

Error Condition

The analytic does not run when there is a type mismatch, that is, when the values contain nonnumeric data. On type mismatch, the analytic returns an error, stops the rule evaluation, and writes the mismatch error to the log file.

0 COMMENTS

We’d like to hear from you!