IRIS Toolbox Reference Manual

## trend

Estimate a time trend

#### Syntax

    X = trend(X,range)

#### Input arguments

- `X` [ tseries ] - Input time series.

- `Range` [ tseries ] - Range for which the trend will be computed.

#### Output arguments

- `X` [ tseries ] - Output trend time series.

#### Options

- `'break='` [ numeric | empty ] - Vector of breaking points at which the trend may change its slope.

- `'connect='` [ `true` | `false` ] - Calculate the trend by connecting the first and the last observations.

- `'diff='` [ `true` | `false` ] - Estimate the trend on differenced data.

- `'log='` [ `true` | `false` ] - Logarithmise the input data, de-logarithmise the output data.

- `'season='` [ `true` | `false` | `2` | `4` | `6` | `12` ] - Include deterministic seasonal factors in the trend.

#### Description

#### Example

IRIS Toolbox. Copyright © 2007—2013 Jaromir Benes.