Describe the concept of linear regression as a forecasting technique in relation to market analysis

Describe the concept of linear regression as a forecasting technique in relation to market analysis.