An Electronic Statistical Model Generator