I am looking to get started using time series (ARIMA, regression, etc.) evaluating logarithmic stock returns in WinBUGs.

Does anyone have a simple code to get me jump started?

**Contents**hide

#### Best Answer

Congdon covers time series models (and WinBUGS code) in a chapter in his Applied Bayesian Modelling book.

Alternatively, BUGS code for some time series models can be produced in my tsbugs package for R (and then run in BUGS via R2WinBUGS or similar such packages). Some of these are applied to the log of stock returns in the example code.

### Similar Posts:

- Solved – Learning WinBUGS programming for network meta-analysis
- Solved – white noise problem of ARIMA model
- Solved – Why prices are usually not stationary, but returns are more likely to be stationary
- Solved – Why prices are usually not stationary, but returns are more likely to be stationary
- Solved – Forecasting stock prices time series based on independent factors using ARIMA model