The standard deviation is calculated for rollups and for event and report generation purposes.
Rollups:
Events:
Reporting:
Example: Calculate the Standard Deviation of Population.
The following example shows how the standard deviation of the population is calculated, given 12 points of data.
The population refers to a set of potential values, including not only cases that are observed but those cases that are potentially observable.
The formula for calculating this standard deviation is:
population deviation = Square root of (Sum ( X - population mean)/number of data points)
Is the data point value in the population.
Follow these steps:
1 2 3 4 5 6 7 8 9 10 11 12
30 10 20 70 60 30 80 10 90 20 70 50
The population mean = sum of data point values in population/number of data points.
The population mean for this example is 45.
The differences for this example are:
-15 -35 -25 25 15 -15 35 -35 45 -25 25 5
The squares for this example are:
225 1225 625 625 225 225 1225 1225 2025 625 625 25
The sum of the squares for this example is 8900.
The sum for this example is 741.6666667.
The square root for this example is 27.23355773.
The standard deviation for this example is 27.23355773.
The counter metric is calculated for rollups and for event and report generation purposes. The counter metric calculates the sum of all samples during a set time period. When you calculate the sum of all items in the Dynamic Trend View with a Composite Trend view type, the sum of values across all of the items that are selected in the view is calculated. On the other hand, the gauge metric type is used to calculate the average of all samples during a set time period.
Example: Calculate the Total
The following example shows how the total is calculated, given one hour of calculation and a 5-minute poll cycle.
Follow these steps:
1 2 3 4 5 6 7 8 9 10 11 12
40 10 30 60 70 20 50 20 80 30 40 60
The total for this example is: 510.
When considering the gauge and counter metric types, aggregation is the act of calculating the sum or average of values across all of the items or groups in a view. When you calculate the gauge across a number of aggregated items, the individual averages from the items are added. The sum of the averages is then divided by the number of items to find the gauge. Similarly, the counter is calculated by taking the individual sum of values from each item that is aggregated, and calculating the sum of all individual sums.
Example: Counter and Gauge Metrics
If you calculate the counter metric for all interfaces under a router, you can view the throughput bits. If you want to view the utilization of all interfaces, you calculate the gauge metric.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|