Possible Error in the 8schools example on the wiki pages?


#1

In the 8schools.stan file, eta is defined as

vector[J] eta[J];

but I was getting errors for ill formed expressions. Should that second index be dropped, leaving it as

vector[J] eta;

I didn’t want to edit the wiki directly in case I was missing something.


#2

You are correct. It is fixed now, but feel free to edit the wiki yourself.