changes to inference.Rmd