Is there a variant of lag somewhere that keeps NAs in position? I want to compute returns of price data where data could be missing.
From a book of computer simulation, I got this two equation. The first is to calculate correlogram, the second is how to use correlogram to estimate variance.
I am tracking my body weight in a spread sheet but I want to improve the experience by using R. I was trying to find some information about time series analysis in R but I was not successful.
I am new to time series, sorry if my question is stupid. I have an annual cyclicality (cycle starts from January), monthly frequency time series data. I would like to forecast the next few months on t