Structural Bayesian Techniques for Experimental and Behavioral Economics, With applications in R and Stan