Time Series Data Parameters

Top  Previous  Next


$p=TimeSeries(cyclelen, yint, slope, number)


Generates number random numbers that have a cycle length of cyclelen and are based on a line with y intercept of yint and slope of slope.  You might use a TimeSeries parameter to simulate seasonal sales for example.


For example


$p=TimeSeries(4,25,0.5,12) might generate


21, 20.8, 29, 28.7, 24.8, 23, 28.9, 28.6, 27.2, 24.4, 31.9, 31.3



A TimeSeries parameter is regeneratable. Every time you regenerate, you will be provided with a fresh set of data.