Kliknite na povezavo Logistic regression (Shalizi, 2012) [mandatory, see below which parts], če želite odpreti vir.