Sorry, here are the two txt files.
On Wednesday, December 26, 2012 12:28:30 PM UTC-5, Lucas Leemann wrote:
Hi all,I had some code which I used two months ago and it ran without any problems. Now, after downloading rstan 1.1.0 I get error messages and they are not clear (e.g. no matches for function name="inv_logit").
INVALID COMMAND-LINE ARGUMENT
EXPECTATION FAILURE LOCATION: file=/tmp/SU/LL/code.stan; line=69, column=135
(1- inv_logit(alpha34 + beta34i1*x34i1[n] + beta34i2*x34i2[n])*(alpha24 + beta24*x24[n]) + alpha22 + beta22*x22[n])
^-- here
DIAGNOSTIC(S) FROM PARSER:
no matches for function name="inv_logit"
arg 0 type=row vector
no matches for function name="multiply"
arg 0 type=ill formed
arg 1 type=real
no matches for function name="subtract"
arg 0 type=int
arg 1 type=ill formed
no matches for function name="add"
arg 0 type=ill formed
arg 1 type=real
no matches for function name="add"
arg 0 type=ill formed
arg 1 type=real
expression is ill formed
Parser expecting: <eps>
Execute "stanc --help" for more information
row_vector[N] x34i1[N];
row_vector[N] x34i2[N];
There isn't a vectorized inv_logit, but we're working
on vectorizing all of the univariate scalar functions
to give them signatures:
(real):real
(real[]):real[]
(vector):vector
(row_vector):row_vector
(matrix):matrix
Then we might also want to have all the vectors of these
things, such as for an array of vectors:
(vector[]):vector[]
Right now, our priorities are speeding up all the probability function and
matrix op gradient calculations (the main speed bottleneck), vectorizing the
multivariate probability functions, and adding cumulative distribution functions
(which require a bunch of new special functions for gradients).
So vectorizing the basic functions is probably still a few months out.
Thank you very much for your help and clarifying why it is not running anymore. Is there a vectorized version for inv_logit or is that planned to be in a future release?