Cool model.
This is correct. Both models need to use same y (ie no transformations) or you need to take into account the Jacobian of the transformation. You can add that (log) Jacobian term to your log_lik computation in the generated quantities.
Cool model.
This is correct. Both models need to use same y (ie no transformations) or you need to take into account the Jacobian of the transformation. You can add that (log) Jacobian term to your log_lik computation in the generated quantities.