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:

Wolfram Research (2014), MinimumTimeIncrement, Wolfram Language function, https://reference.wolfram.com/language/ref/MinimumTimeIncrement.html.

Text

Wolfram Research (2014), MinimumTimeIncrement, Wolfram Language function, https://reference.wolfram.com/language/ref/MinimumTimeIncrement.html.

BibTeX

@misc{reference.wolfram_2021_minimumtimeincrement, author="Wolfram Research", title="{MinimumTimeIncrement}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/MinimumTimeIncrement.html}", note=[Accessed: 31-July-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_minimumtimeincrement, organization={Wolfram Research}, title={MinimumTimeIncrement}, year={2014}, url={https://reference.wolfram.com/language/ref/MinimumTimeIncrement.html}, note=[Accessed: 31-July-2021 ]}

CMS

Wolfram Language. 2014. "MinimumTimeIncrement." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MinimumTimeIncrement.html.

APA

Wolfram Language. (2014). MinimumTimeIncrement. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MinimumTimeIncrement.html