simple statistics on sample data