(This article was first published on David Chudzicki's Blog, and kindly contributed to R-bloggers) This post will describe a way I came up with of fitting a function that's constrained to be increasing, using Stan. If you want practical help, standard statistical approaches, or expert research, this isn't the place for you (look up “isotonic regression” or “Bayesian isotonic...