TimeSeriesThread
TimeSeriesThread[f,{tseries1,tseries2,…}]
combines the tseriesi using the function f.
Details and Options
- TimeSeriesThread is used to combine the values of multiple time series.
- TimeSeriesThread can be used for regularly and irregularly spaced time series.
- The input for each of the tseriesi can be a list of time-value pairs {{t1,x1},{t2,x2},…}, a TimeSeries, EventSeries, or TemporalData.
- All of the tseriesi must contain the same number of paths.
- TimeSeriesThread threads pathwise for tseriesi with multiple paths.
- The collection of paths {tseries1,tseries2,…} can equivalently be given as TemporalData[{tseries1,tseries2,…}].
- If the times for the tseriesi are not equivalent, they are each resampled using the union of their times.
- TimeSeriesThread takes the following option:
-
ResamplingMethod Automatic the method to use for resampling paths
Examples
open allclose allBasic Examples (4)
Scope (7)
Basic Uses (3)
Total 10 simulated BernoulliProcess paths:
Compute a min-max envelope for some process paths:
Create a 95% confidence envelope for some process paths:
Data Types (4)
Obtain the sum of two time series given by time-value pairs:
Obtain the difference between two TimeSeries:
Find the standard deviation of various paths in TemporalData:
Find the maximum values between two EventSeries:
Options (1)
Applications (4)
Simulate a jump-diffusion process:
Generate a time series of the Sun's position and the Moon's position over a period of two months:
Define a function to compute the angular distance between two objects on a sphere:
Find the time series for the angular distance between the Sun and the Moon:
Visualize the angular distance:
Study male unemployment in France:
Male unemployment is the corresponding fraction of the male labor force:
Replace Missing[] differently for each component when combining multiple paths into a single-path vector-valued TimeSeries using TimeSeriesThread:
Properties & Relations (1)
Compare TimeSeriesThread with TimeSeriesMap operating on a single time series:
Text
Wolfram Research (2014), TimeSeriesThread, Wolfram Language function, https://reference.wolfram.com/language/ref/TimeSeriesThread.html.
CMS
Wolfram Language. 2014. "TimeSeriesThread." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TimeSeriesThread.html.
APA
Wolfram Language. (2014). TimeSeriesThread. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TimeSeriesThread.html