Hi everyone,
The parameter block of my STAN code looks like:
real<lower=0> mu;
real<lower=0,upper=1> k;
real<lower=1> p;
real<lower=0> c;
real<lower=0> alpha;
real<lower= max(0.00,-alpha/ (k-1)) > beta;
But this shows me the error as:
SYNTAX ERROR, MESSAGE(S) FROM PARSER:
No matches for:
max(real, real)
Available argument signatures for max:
max(int[])
max(real[])
max(vector)
max(row vector)
max(matrix)
max(int, int)
ERROR at line 54
52: real<lower=0> c;
53: real<lower=0> alpha;
54: real<lower=max(0.00,alpha/(1-k))> beta;
^
55: }
Now I want to create a 2 element row vector whose first element will be "0.00" and second one will be "alpha/(1-k)". Then I will take the maximum of these two elements as the lower bound for "beta". How can I do this?
Tas