weighted linear regression equations