AnyLogic 9
Expand
Font size

Histogram data

The Histogram Data object does the following:

  • Performs standard statistical analysis on the data values being added (calculates mean, minimum, maximum, deviation, variance, and mean confidence interval).
  • Builds the PDF (probability distribution, or density function).
  • May calculate (depending on the user choice) CDF (cumulative distribution function) on the fixed set of intervals defined by the user and the lower and higher confidence measures (or values at risk with a given percent) with tolerance equal to the interval width.

The collected statistics can be visualized with the Histogram object.

To add a histogram data element

  1. Drag the  Histogram Data element from the  Analysis palette into the graphical editor.
  2. Go to the Properties view.
  3. Enter the expression you want to collect statistics over in the Value edit box.
  4. If you want CDF to be calculated, select the Calculate CDF check box.
  5. If you want percentiles to be calculated, select the Calculate percentiles check box and specify low and high confidence measures in the Low and High edit boxes correspondingly.
  6. Define histogram intervals. Auto-ranging does not require the user to pre-define the range of data. Instead, the object will automatically adjust the intervals to the actual data being added. You need to specify the Number of intervals and the Initial interval size.
  7. Finally, choose, how you want this data element to be updated.

Properties

General

Name — The name of the histogram data. The name is used to identify and access this analysis data object.

Value — The expression which dynamically evaluates the data object value.

Number of intervals — The number of intervals of the histogram.

Calculate CDF — If selected, CDF (cumulative distribution function) is calculated.

Calculate percentiles — If selected, percentiles are calculated. In this case, specify Low and High confidence measures.

Ignore — If selected, this analysis data object is excluded from the model.

Values range

Initial interval size — Specifies the initial interval size for this data element. It will automatically adjust the intervals to the actual data being added.

Data update

Update data automatically — If selected, new data samples will be added automatically with the specified Recurrence time. You can also specify whether you want to Use model time or Use calendar dates. Depending on this choice, you can specify when to start updating using either the First update time or Update date properties.

Troubleshooting

If you run your model and cannot see the CDF line on your histogram (while the Show CDF checkbox is selected) — please open the properties of the Histogram Data object displayed by your histogram and select the Calculate CDF checkbox there.

How can we improve this article?