Skip to content

Commit

Permalink
stan demos
Browse files Browse the repository at this point in the history
  • Loading branch information
Jachym.Barvinek committed Jul 31, 2024
1 parent c071128 commit 3b66e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/stan_demos/seasonality.stan
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ data {
vector<lower=0>[N] y;
}
transformed data {
vector[F] freq = 365 / linspaced_vector(F, 1, F);
vector[F] freq = 2 * pi() * linspaced_vector(F, 1, F) / 365;
}
parameters {
real<lower=0> sigma;
Expand Down

0 comments on commit 3b66e7c

Please sign in to comment.