By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
Time Series, Regression, Learning Curves, and Qualitative Methods
Forecasting techniques predict future values based on historical data or expert judgment. Businesses, engineers, and analysts use them to anticipate demand, optimize resources, reduce waste, and make data-driven decisions.
Why use it today?- Supply chain: Predict inventory needs to avoid stockouts or overstocking.- Finance: Estimate revenue, expenses, or market trends.- Manufacturing: Optimize production schedules and maintenance cycles.- AI/ML: Improve model accuracy by incorporating temporal patterns.
Forecasting turns uncertainty into actionable insights. Poor forecasts lead to lost revenue, wasted resources, or missed opportunities. Accurate forecasts enable: - Cost savings (e.g., reducing excess inventory).- Risk mitigation (e.g., predicting equipment failures).- Competitive advantage (e.g., anticipating market shifts before competitors).
Definition: Predict future values based on past observations ordered by time (e.g., daily sales, hourly temperature).Key components:- Trend: Long-term increase or decrease (e.g., rising sales over years).- Seasonality: Repeating patterns at fixed intervals (e.g., holiday spikes).- Noise: Random fluctuations (e.g., unpredictable weather variations).
Definition: Model the relationship between a dependent variable (target) and one or more independent variables (predictors).Types:- Linear regression: Straight-line relationship (e.g., sales = 2 * ad_spend + 100).- Multiple regression: Multiple predictors (e.g., sales = 0.5 * ad_spend + 0.3 * price + 200).- Non-linear regression: Curved relationships (e.g., exponential growth).
sales = 2 * ad_spend + 100
sales = 0.5 * ad_spend + 0.3 * price + 200
Definition: Model how performance improves with experience (e.g., manufacturing efficiency over time).Key idea: Costs or time per unit decrease as cumulative output increases (e.g., "The 100th unit takes 20% less time than the 10th").
Definition: Forecast using expert judgment, surveys, or market research when data is scarce or unreliable.Common techniques:- Delphi method: Anonymous expert feedback iterated until consensus.- Market research: Surveys, focus groups, or competitor analysis.- Scenario analysis: "What-if" projections for best/worst-case outcomes.
Example (ARIMA in Python):
from statsmodels.tsa.arima.model import ARIMA import pandas as pd # Load data (e.g., monthly sales) data = pd.Series([100, 120, 130, 150, 160, 180, 200, 210, 220, 240]) # Fit ARIMA(1,1,1) model model = ARIMA(data, order=(1, 1, 1)) model_fit = model.fit() # Forecast next 3 periods forecast = model_fit.forecast(steps=3) print(forecast)
sales
ad_spend
price
Example (Linear Regression in Python):
from sklearn.linear_model import LinearRegression import numpy as np # Data: ad_spend (X) vs. sales (y) X = np.array([[100], [200], [300], [400], [500]]) y = np.array([150, 250, 300, 400, 500]) # Fit model model = LinearRegression() model.fit(X, y) # Predict sales for $600 ad spend prediction = model.predict([[600]]) print(prediction) # Output: [550.]
y = a * x^b
b
-0.1
-0.5
Example (Learning Curve Calculation):- If the 10th unit takes 100 hours and the learning rate is 80% (b = -0.322), the 20th unit will take: 100 * (20/10)^(-0.322) ≈ 80 hours.
100 * (20/10)^(-0.322) ≈ 80 hours
Goal: Predict next month’s sales using ARIMA.
sales.csv
date
order=(1,1,1)
Expected outcome: A forecast with confidence intervals (e.g., "Next month’s sales: 250 ± 20 units").
statsmodels.tsa.seasonal_decompose
is_holiday = 1/0
StandardScaler
Problem: A clothing retailer needs to stock the right inventory for summer.Solution:- Use ARIMA for baseline forecasts.- Add regression for promotions (e.g., sales = 0.8 * price + 0.5 * discount).- Apply qualitative adjustments for fashion trends (e.g., "Pastel colors will be popular").
sales = 0.8 * price + 0.5 * discount
Problem: A car manufacturer wants to estimate production costs for a new model.Solution:- Plot learning curves for similar past models.- Forecast cost per unit at 10,000 units: y = 5000 * x^(-0.322).- Adjust for inflation and material cost changes.
y = 5000 * x^(-0.322)
Problem: A utility company must predict electricity demand to avoid blackouts.Solution:- Use multiple regression with weather data (temperature, humidity).- Add seasonality (e.g., higher demand in summer).- Validate with walk-forward testing (e.g., predict next hour, update model hourly).
temperature
humidity
A retail chain wants to forecast next quarter’s sales. Historical data shows a steady upward trend and a spike every December. Which technique is most appropriate?
A) Linear regression with only time as a predictor.B) ARIMA with seasonal differencing.C) Naive forecast (next value = last value).D) Learning curve analysis.
Correct Answer: B Explanation: ARIMA with seasonal differencing (order=(p,d,q)(P,D,Q,s)) captures both trend and seasonality.Why the Distractors Are Tempting:- A: Linear regression ignores seasonality.- C: Naive forecasts fail for trends/seasonality.- D: Learning curves model cost improvement, not sales.
order=(p,d,q)(P,D,Q,s)
A factory observes that the 10th unit takes 100 hours to produce, and the 20th unit takes 80 hours. What is the learning rate?
A) 20% B) 80% C) 90% D) 100%
Correct Answer: B Explanation: Learning rate = 80 / 100 = 80%. The time per unit decreases by 20% for each doubling of output.Why the Distractors Are Tempting:- A: Confuses learning rate with time reduction (20%).- C: Incorrect calculation (90% would imply 10% reduction).- D: No learning effect (100% means no improvement).
80 / 100 = 80%
A startup with no historical data wants to forecast next year’s revenue. Which method should they use?
A) ARIMA B) Delphi method C) Multiple regression D) Moving average
Correct Answer: B Explanation: Qualitative methods like the Delphi method are ideal when data is scarce.Why the Distractors Are Tempting:- A/C/D: All require historical data.
Practice simple moving averages and linear regression in Excel/Python.
Intermediate:
Combine qualitative and quantitative methods (e.g., expert-adjusted forecasts).
Advanced:
statsmodels
prophet
sklearn
pmdarima
forecast
tseries
fable
y = a * x + b
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.