Methodology
Linear regression in price forecasting: what it can and cannot do
MarketLens Editorial · 12 Oct 2026
Why log prices\nPrices compound, so fitting a straight line to the logarithm of price measures a constant percentage growth rate rather than a constant rupee change.\n\n## How MarketLens uses it\n- A least-squares line is fitted to recent log closes.\n- The slope is extrapolated to the target date.\n- Its historical accuracy is measured with walk-forward testing before it receives any weight.\n\n## Limits\nTrends end abruptly. Linear regression has no notion of reversals, news or volatility clusters, which is why it is only one member of an ensemble and why its weight falls automatically when it underperforms.
Risk notice: Forecasts are uncertain statistical estimates. Scenarios are algorithmic outputs, not investment advice. EatoRush MarketLens is not SEBI-registered. See the Risk Disclaimer.
Related articles
- Gradient-boosted trees for market data, explained simply
What boosted decision trees (the idea behind XGBoost) learn from technical features, and why they are tested before trusted.
- Backtesting without look-ahead bias
Why every MarketLens backtest only uses data that existed at each forecast date.
