ABSTRACT

In this chapter we demonstrate some key programming and statistical techniques that statisticians may encounter in daily practice.

One of the most common needs in analytic practice is to replicate analyses for subgroups within the data. For example, one may need to stratify a linear regression by gender or repeat a modeling exercise multiple times for each replicate in a simulation experiment.