Hello! This question relates to section 24.7 in the manual on reparameterising the student-t distribution based on the product of a normal and gamma distribution to avoid fat tails (24.7 Reparameterization | Stan User’s Guide).
Instead of a single beta
, as in the manual, suppose instead I have a vector beta
.
parameters {
real<lower=0> nu;
real<lower=0> tau;
vector[n] alpha;
// ...
}
transformed parameters {
vector[n] beta;
beta = alpha / sqrt(tau);
// ...
}
Do I use a single, common tau
for all calculations. Or do I also need a vector[n] tau
?
Thanks!