selectTau {changepointGA} | R Documentation |
Randomly select the chromosome
Description
Randomly select the changepoint configuration for population initialization. The selected changepoint configuration represents a changepoint chromosome. The first element of the chromosome represent the number of changepoints and the last non-zero element always equal to the length of time series + 1.
Usage
selectTau(N, prange, minDist, Pb, mmax, lmax)
Arguments
N |
The length of time series. |
prange |
A list object containing the possible range for other pre-defined model parameters, i.e. AR/MA order of ARMA models. |
minDist |
The minimum length between two adjacent changepoints. |
Pb |
Same as |
mmax |
The maximum possible number of changepoints in the data set. |
lmax |
The maximum possible length of the chromosome representation. |
Value
A single changepoint configuration format as above.
[Package changepointGA version 0.1.1 Index]