1
$\begingroup$

I was trying to test serial correlation for a time series measurements (x1,x2,...xn). The problem is that some of them happens in the same date, the time points are (0,0,0,0...0,1,1,1,1,1,....,2,2,2,....). How do I adjust these ties in R?

$\endgroup$
2
$\begingroup$

You need a technique known as VAR, for Vector Autoregressive. Package is var. Each of your time points becomes a vector.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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