BUG: lowess add error margin to integer casting closes #897
DOC add stats.inter_rater closes #733