fix basic statistics script
add option to use unnormalized responses