Hey, /wsr/. Unfortunately, I'm retarded and can't understand what's wrong in my script.
I want to do a time series analysis. And I face several problems.
First of all, I want to have one plot with x- date, y-variable. But I always have the top plot of time ~ time.
Also as seen from the pic, both decompose and SMA don't function. I've set 12 period (that would be 12 months a year) and in the data used for SMA I only have 2 columns, that are time and variable and it still doesn't work.
Any help is greatly appreciated.
pls help /wsr/
Oh well, nevermind I found the solution.
>needed to ruduce the data to one column for the graph
>That solved the issue with SMA as well
>Because I have annual and not mounthly data decompose doesn't make sence, so I just used AR/ADL instead.