I got this model: "for i in 1:Nseries ... for t in 1:Ntimepoints ...…
- User
I got this model: "for i in 1:Nseries ... for t in 1:Ntimepoints ... g−1(y~i,t)=αi+∑j=1Jsi,j,txj,t+zi,t
With: independent Random Walks Use trend_model = 'RW' or trend_model = RW() to set up a model where each series in data has independent latent temporal dynamics of the form: zi,t∼Normal(zi,t−1,σi) Process error parameters σ are modeled independently for each series. If a moving average process is required, use trend_model = RW(ma = TRUE) to set up the following: zi,terrori,t=zi,t−1+θi∗errori,t−1+errori,t∼Normal(0,σi) Moving average coefficients θ are independently estimated for each series and will be forced to be stationary by default (abs(θ)<1) " I have the brain volume trajectories of s regions with N individuals. How can I use this model, if possible, to estimate the similarity between trajectories using all data?
Assistant
To estimate the similarity between brain volume trajectories of S regions using the provided model, you can follow these steps: