MinimumTimeIncrement

MinimumTimeIncrement[tseries]

gives the minimum time increment in the time series tseries.

Details

  • MinimumTimeIncrement can be used for regularly spaced data and for irregularly spaced data.
  • For a single path, the minimum time increment Δt=Min[{t2-t1,t3-t2,,tn-tn-1}].
  • The time series tseries can be given as a list of values {x1,x2,}, a list of time-value pairs {{t1,x1},{t2,x2},}, a TimeSeries, an EventSeries, or TemporalData.
  • The minimum time increment may be numeric or calendar time.
  • If an ensemble of p paths is given, then MinimumTimeIncrement returns {Δt1,Δt2,,Δtp}.

Examples

open allclose all

Basic Examples  (3)

Find the minimum time increment for a time series:

The minimum time increments for a collection of paths:

Minimum time increments given in calendar time:

Scope  (6)

The MinimumTimeIncrement for a vector is always 1:

Find the MinimumTimeIncrement for a list of time-value pairs:

Equivalently:

For time-value pairs measured in calendar time:

Find the MinimumTimeIncrement for a TimeSeries:

A mixed radix increment:

A separate increment is given for each path in an ensemble:

Properties & Relations  (2)

The minimum time increment for a regular time series:

An irregular time series:

Use RegularlySampledQ to determine if the time increment is constant:

Introduced in 2014
 (10.0)