Programming the statistical procedures from SAS