Application of linear regression