We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I only looked at one of these models:
data { int<lower=1> n; vector[n] y; } parameters { # 確率的レベル vector[n] mu; # レベル撹乱項 real<lower=0> sigma_level; # 観測撹乱項 real<lower=0> sigma_irreg; } transformed parameters { vector[n] yhat; yhat = mu; } model { for(t in 2:n) mu[t] ~ normal(mu[t-1], sigma_level); y ~ normal(yhat, sigma_irreg); }
and would like to make a few suggestions.
vector[n] yhat = mu;
I'm not sure why you want to give this parameter vector two names. I'd suggest just removing the variable yhat altogether and sticking to mu.
yhat
mu
mu[2:T] ~ normal(mu[1:T - 1], sigma_level);
mu[1]
mu[1] ~ normal(?, ??);
where the location and scale should be chosen based on problem knowledge.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I only looked at one of these models:
and would like to make a few suggestions.
I'm not sure why you want to give this parameter vector two names. I'd suggest just removing the variable
yhat
altogether and sticking tomu
.mu[1]
,where the location and scale should be chosen based on problem knowledge.
The text was updated successfully, but these errors were encountered: