Weighted Logistic Regression Likelihood Function. Weighted Logistic Regression In R Stack Overflow from stackoverflow.com