1. Theory
http://en.wikipedia.org/wiki/Iteratively_reweighted_least_squares (迭代重复加权最小二乘法)
http://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_logistic_sect033.htm (SAS