Statistical analysis of anonymous databases