Constrained Optimization in Rstan

Hi,

could you perhaps use posterior_linpred() to see at which predictor values y has its maximum value? If you want to propagate the uncertainty perhaps posterior_predict() could be used instead?

1 Like