Statistical Analysis and Example Code