This lessons introduces basic concepts in statistical and probabilistic programming. It covers the basics of Bayesian statistics and MCMC from an application-oriented perspective. The lesson is based in R but also makes extensive use of Stan.