Learn R Programming

mixAR (version 0.22.8)

bx_dx: RJMCMC move for AR order selection of mixture autoregressive models

Description

Computes probabilities for deciding whether the AR order should be increased or decreased by 1 at each iteration in Bayesian analysis of mixture autoregressive models.

Usage

bx_dx(method = c("Ratio", "Poisson", "NULL"), par, pk)

Value

A list of 2 elements:

bx

The probability of increasing the autoregressive order by 1.

dx

The probability of decreasing the autoregressive order by 1, calculated as 1 - bx.

Arguments

method

the method used for updating probabilities. If "Ratio" or "Poisson", probabilities depend on par and decrease as pk increases. If "NULL", probabilities are set to 0.5. See Examples for details.

par

tuning parameter for calculating updating probabilities.

pk

autoregressive order of the selected component.

Author

Davide Ravagli

References

ravagli2020bayesianmixAR