Regression Explorer — OLS Regression Workbench for Business Students

New here? Take the 60-second tour.
A guided walkthrough of one Indian sales dataset — end to end.

Choose your data

Step 1

Choose from 20 ready-made datasets across business and non-business domains. Every sample follows the same regression workflow with pre-filled variables, charts, and steps.

All later steps automatically use the sample you choose here.

Sample library
Sales
40 rows · 5 cols
Marketing
45 rows · 5 cols
HR
50 rows · 5 cols
Operations
42 rows · 5 cols
Finance
40 rows · 5 cols
Real Estate
45 rows · 5 cols
E-commerce
48 rows · 5 cols
Healthcare
44 rows · 5 cols
Education
46 rows · 5 cols
Agriculture
42 rows · 5 cols
Logistics
45 rows · 5 cols
Telecom
44 rows · 5 cols
Hospitality
40 rows · 5 cols
Energy
43 rows · 5 cols
Insurance
41 rows · 5 cols
Aviation
40 rows · 5 cols
Pharma
45 rows · 5 cols
Sports
38 rows · 5 cols
Public Policy
41 rows · 5 cols
SaaS
48 rows · 5 cols
Sales: Drivers of Monthly Store Revenue (India)
Monthly data for a mid-sized retail chain in India: ad spend (₹ Lakh), price index, sales-staff headcount and promo days vs monthly revenue (₹ Lakh).
40 rows · 5 cols
Currently showing the active sample dataset. All steps, plots, summary panels, and exports use this dataset.
AdSpend_Lakh: ₹ Lakh
PriceIndex: index
SalesStaff: count
PromoDays: days
Revenue_Lakh: ₹ Lakh
Re-draws the selected sample with fresh numbers, or saves the current sample as a reusable .xlsx file.
#AdSpend_LakhPriceIndexSalesStaffPromoDaysRevenue_Lakh
12.74110.405.005.00-117.30
22.2999.3811.007.00-94.70
33.23110.7110.002.00-115.02
44.5194.0714.004.00-67.61
55.00109.527.0010.00-108.59
Showing first 5 of 40 rows.

Sample size

Slide between 10 and 100 rows. Every chart, descriptive statistic and regression result updates instantly.

Rows40

Descriptive statistics

5 variables · 40 rows

Centre, spread, position, shape and uncertainty for every variable. Inspect these before fitting — they explain a lot of what regression diagnostics will later flag.

Centre & spread

VariableNMissingSumMeanMedianSDVarSE Mean95% CI (Mean)
Revenue_Lakh
Y
400-1129.340-28.234-24.92549.2092421.5617.781[-43.484, -12.983]
AdSpend_Lakh
X
(₹ Lakh)
400832.26020.80621.01011.406130.1051.804[17.272, 24.341]
PriceIndex
X
(index)
4004103.500102.588102.4255.68132.2710.898[100.827, 104.348]
SalesStaff
X
(count)
400444.00011.10011.5004.21117.7330.666[9.795, 12.405]
PromoDays
X
(days)
400239.0005.9755.5003.67613.5120.581[4.836, 7.114]

Position, dispersion & outliers

VariableMinQ1MedianQ3MaxIQRRangeMADCV %Outliers (1.5·IQR)
Revenue_Lakh
Y
-117.300-70.040-24.92514.59551.03084.635168.33045.175174.30
AdSpend_Lakh
X
(₹ Lakh)
2.29011.04821.01030.65739.29019.61037.0009.96054.80
PriceIndex
X
(index)
92.54098.083102.425107.073111.7508.99019.2104.4655.50
SalesStaff
X
(count)
4.0008.50011.50014.25018.0005.75014.0003.00037.90
PromoDays
X
(days)
0.0003.5005.50010.00012.0006.50012.0003.50061.50

Distribution shape & alternative means

VariableSkewSE SkewEx-KurtSE KurtGeo MeanHarm MeanShape note
Revenue_Lakh-0.070.37-1.170.73——≈ symmetric; light tails
AdSpend_Lakh-0.030.37-1.210.7316.60811.539≈ symmetric; light tails
PriceIndex-0.000.37-1.110.73102.434102.280≈ symmetric; light tails
SalesStaff-0.100.37-1.090.7310.1989.205≈ symmetric; light tails
PromoDays0.020.37-1.260.73——≈ symmetric; light tails
Revenue_Lakh: CV = 174.3% (high variability), ≈ symmetric; light tails.
95% CI for the mean: [-43.484, -12.983] · Tukey fences: [-196.993, 141.548]· no 1.5·IQR outliers
AdSpend_Lakh: CV = 54.8% (high variability), ≈ symmetric; light tails.
95% CI for the mean: [17.272, 24.341] · Tukey fences: [-18.367, 60.072]· no 1.5·IQR outliers
PriceIndex: CV = 5.5% (low variability), ≈ symmetric; light tails.
95% CI for the mean: [100.827, 104.348] · Tukey fences: [84.598, 120.558]· no 1.5·IQR outliers
SalesStaff: CV = 37.9% (high variability), ≈ symmetric; light tails.
95% CI for the mean: [9.795, 12.405] · Tukey fences: [-0.125, 22.875]· no 1.5·IQR outliers
PromoDays: CV = 61.5% (high variability), ≈ symmetric; light tails.
95% CI for the mean: [4.836, 7.114] · Tukey fences: [-6.250, 19.750]· no 1.5·IQR outliers

Tip: if |skew| > 2·SE skew or |excess kurtosis| > 2·SE kurt, the departure from normality is statistically meaningful — consider a log/√ transform before regression. A very high CV on Y means a small R² is normal.

Distribution of each variable

Move the slider to change the class interval width. The overlay curve is chosen automatically (Normal, Uniform or Exponential) by smallest Kolmogorov–Smirnov distance, so you can see which shape really fits — not just whether it's bell-shaped.

Bins (class intervals)10

Revenue_Lakh (Y)

mean -28.23sd 49.21n 40bins 10fit: Uniform

roughly symmetric, flatter tails than normal. Best fit: Uniform (flat) (KS distance 0.104). A flat predictor is great — it covers the X range evenly, which gives stable slope estimates.

KS distance — normal: 0.115 · uniform: 0.104

AdSpend_Lakh (X)

₹ Lakh
mean 20.81sd 11.41n 40bins 10fit: Uniform

roughly symmetric, flatter tails than normal. Best fit: Uniform (flat) (KS distance 0.056). A flat predictor is great — it covers the X range evenly, which gives stable slope estimates.

KS distance — normal: 0.083 · uniform: 0.056 · exponential: 0.196

PriceIndex (X)

index
mean 102.59sd 5.68n 40bins 10fit: Uniform

roughly symmetric, flatter tails than normal. Best fit: Uniform (flat) (KS distance 0.081). A flat predictor is great — it covers the X range evenly, which gives stable slope estimates.

KS distance — normal: 0.095 · uniform: 0.081 · exponential: 0.594

SalesStaff (X)

count
mean 11.10sd 4.21n 40bins 10fit: Normal

roughly symmetric, flatter tails than normal. Best fit: Normal (bell) (KS distance 0.087). A bell-shaped variable behaves well in OLS; no transformation needed.

KS distance — normal: 0.087 · uniform: 0.107 · exponential: 0.313

PromoDays (X)

days
mean 5.97sd 3.68n 40bins 10fit: Uniform

roughly symmetric, flatter tails than normal. Best fit: Uniform (flat) (KS distance 0.108). A flat predictor is great — it covers the X range evenly, which gives stable slope estimates.

KS distance — normal: 0.138 · uniform: 0.108 · exponential: 0.238

How to read the overlay. The KS distance is the largest gap between the data's actual cumulative distribution and the candidate distribution's CDF — smaller is better. A Normal fit suggests classic bell-shaped data (good for parametric inference). A Uniform fit means values are spread evenly across the range — typical for designed sweeps of a predictor and ideal for stable slopes. An Exponential fit signals strong right-skew with many small values and a long tail, where a log transform usually helps. Predictors don't need to be normal for OLS — only the residuals do — but knowing the shape upfront helps interpret why R² behaves the way it does.

Data preview

40 rows
AdSpend_Lakh (X)PriceIndexSalesStaffPromoDaysRevenue_Lakh (Y)
2.74110.455-117.3
2.2999.38117-94.7
3.23110.71102-115.02
4.5194.07144-67.61
5109.52710-108.59
6.28103.0699-79.37
7.0695.48100-59.94
8.56104.621211-70.22
9.58100.9299-71.54
10.5696.2878-81.46
11.21106.331511-30.01
13.31105.95126-39.79
13.2698.1564-66.69
15.0296.331711-11.07
15.7199.82511-61.94
17.23102.75101-45.92
18.2596.29181-0.32
18.84104.21152-19
18.81111.75412-72.44
21.05107.8655-83.03
20.97100.7744-69.98
21.98106.8151-50.6
23.5892.7391-21.84
24.15111.17145-15.88
24.98109.61137-28.01
2692.54160-0.33
26.6497.0818727.36
27.98101.816612.67
28.47108.981354.55
30.5100.17171034.96
31.13105.06141020.37
33.04103.71558.09
33.98102.112424.19
34.6101.04101028.93
34.1898.38101131.75
35.35104.5462-12.18
36.63111.4317651.03
37.7594.6813250.75
38.56109.1512429.92
39.2997.8891040.87