Hello,
I'm working on converting a Stan model to JAGS and need some assistance with translating a specific line of code.
In Stan, I have the following line that computes the the cumulative distribution function for a normal distribution:
target += normal_lcdf(right[i] | mpth, sigma) - normal_lcdf(left[i] | mpth, sigma);
Could someone help me with the equivalent code in JAGS? Specifically, I need to know how to achieve the same calculation using JAGS syntax.
Thank you in advance for your assistance!