Please enable JavaScript to view this site.

Vensim Help

Navigation: Reference Guide > Functions > Data Functions

GET DATA STDV(datavar,s,e) GET the STandard DeViation of DATA over a time range

Scroll Prev Top Next More

Returns the standard deviation of a Data variable over a time range.  If there are less than 2 data points in the time range, or the variable is not a Data variable then :NA: is returned.

NOTE  The GET DATA … functions are relatively slow and best used inside of INITIAL equations.

Units: GET DATA STDV(units,time,time) --> units

Example

Standard Deviation of Sales Data = INITIAL(
GET DATA STDV(sales data,Initial Time, Final Time))

Availability: Not PLE or PLE Plus.

See also: Data Equations, :NA:

Sample model: GET DATA stats.mdl in FunctionExamples