R. Searle, S. et A. Firey, P., Computer Generation of Data Sets for Homework Exercises in Simple Regression, American statistician , 34(1), 1980, pp. 51-54
A method is given for generating different data sets for homework exercises in simple regression, such that not only are the estimated slopes, intercepts and correlations the same over all data sets, but so also are the analysis of variance tables, with error mean square that is a perfect square.An example is given.A computer program REGDATA is available for generating data sets of this nature.