For a model of the form , where is an 1 x N matrix, is a N x N matrix, are shocks at time (across all , shocks are temporally-independent), with the shocks at any time step having a multivariate normal distribution with mean 0 and covariance matrix .
Initially I want to hold the off-diagonal elements of B constant at 0, and just fit the diagonals. Same for the covariance matrix for the E. Then I want a fancier model where the off diagonals are parameters to fit, too.
I'm not familiar with the terminology, but as far as I can
tell the definition in that paper matches this one:
Ryan,
ARMA, GARCH can be extended to multidimensional. In case of
GARCH the co-variance defined as a process over time.
Shortcut. If you set B entries off diagonal to 0 and same for the innovations (errors),
then the model could also expressed as independent uni-variate models.
Andre
Thanks --- that paper's a very nice overview. We're trying to write
things like that for Stan. I already did the Dorazio and Royle
occupancy model --- I went through the whole paper and
replicated it with Stan (RStan + knitr, specifically, which works
well for this kind of small-scale coding and presentation):
https://github.com/stan-dev/example-models/tree/master/knitr/dorazio-royle-occupancy
Are you going to try to impose any constraints on B? And what kind
of prior makes sense? I saw that it has a stationary distribution if B's
eigenvalues all "live in the unit circle." We don't usually recommend imposing
such hard constraints (i.e., assuming the process is stationary), but even
if we did, I don't know how we'd code that as a constraint in Stan.
It would be fun to take this paper and do the same thing --- replicate itwith Stan code. We're trying to collect more case studies like the above
from users to distribute as a set of Stan case studies. We're going to
put them up on our web site.
The other threads about AR models being slow point out that the problems are related to parameterization so making the algebra go faster will not improve the speed of the models.
Priors and the right parameterization might.
Also, including colonization and extinction in these models will almost certainly make for poorly identified parameters but I'm add excited as everyone else to see them work.
I'm add excited as everyone else to see them work
Non-centering these time series has the potential to drastically
improve performance, but nonidentifiability is a serious concern,
especially if the model does not have a strong generative
interpretation.
Psi_t = phi * Psi_t-1 + gamma * (-1 * Psi_t-1) + .....
mus[t] <- mus[t] + B[p] * Y[t+p-1]
Would it not make more sense to use t+P-p instead of t+p-1, so that B[1] corresponds to the first lag?
Julian
--
You received this message because you are subscribed to a topic in the Google Groups "Stan users mailing list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/stan-users/PmGMnqXRD28/unsubscribe.
To unsubscribe from this group and all its topics, send an email to stan-users+unsubscribe@googlegroups.com.
To post to this group, send email to stan-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.