Take the 2-minute tour ×
Quantitative Finance Stack Exchange is a question and answer site for finance professionals and academics. It's 100% free, no registration required.

I've plotted 30-year moving averages across time for a couple of portfolios, and I was wondering how to calculate a 95% CI for the these moving average data (i.e., across all moving average data points, what is the CI?).

Given the points are clearly not independent of one another, I would think just using ±1.96 SD would be incorrect (as this nonindependence would be a violation of the central limit theorem), but I could be wrong and am not sure how this is done. Any links, book references, and recommended R packages/functions are also appreciated. Thank you!

share|improve this question

1 Answer 1

If you calculated MA by hand without actually fitting a MA(q) time series model, then you are out of luck. I suggest you use R, like in this example that shows how to construct a prediction interval, among other things.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.