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

confidence

confidence

The confidence analytic returns the confidence interval for a population mean by using a normal distribution.

Syntax

confidence(alpha,standard_dev,size)
The following table describes the required and optional arguments:
Argument
Required
Optional
Description
alpha
Required
The significance level used to compute the confidence level. The confidence level equals 100*(1 - alpha)%. It means an alpha of 0.05 indicates a 95 percent confidence level. The alpha is of real number type with value less than or equal to 1.
standard_dev
Required
The population standard deviation for the data range and is assumed to be known. This is of real number type.
size
Required
The sample size. Integer type.
The following table provides the datatype for the parameters you can pass:
Parameter Input Options
Datatype
Event property
Real number for alpha and standard_dev. Size is of integer type.
Example
when 1 stocktopic s with confidence(s.alpha,s.standard_dev,s.size) as result >10 then response with body=" ${result}”
The following table describes the result for the event property value that you pass:
Event Property Value
Description
Result
s.alpha =0.06
s.standard_dev=45.7
s.size=65
s.alpha and s.standard_dev are decimal numbers. s.size is an integer number.
>10

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!