Creating Realistic Data Sets with Specified Properties via Simulation

Summary We explain how to simulate both univariate and bivariate raw data sets having specified values for common summary statistics. The first example illustrates how to ‘construct’ a data set having prescribed values for the mean and the standard deviation – for a one-sample t test with a specified outcome. The second shows how to create a bivariate data set with a specified correlation coefficient.