Fundamentals of behavioral statistics