Data Files
All datasets used in both editions are available below in .csv format, ready to load in Python or R.
Python Edition
Applied Linear Regression for Business Analytics with Python
Chapter 2 — Basic Statistics and Functions Using Python
- countries.csv – Country-level economic & demographic data
- top200.csv – Top 200 companies dataset
Chapter 3 — Regression Fundamentals
- sales.csv – Sales and advertising data
- price_size.csv – House price and size
Chapter 4 — Simple Linear Regression
- sales_ads.csv – Sales with advertising spend
- betas.csv – Stock beta values
Chapter 5 — Multiple Regression
- house_prices.csv – Residential real estate data
- marketing_toys.csv – Toy marketing dataset
Chapter 6 — Estimation Intervals and Analysis of Variance
- airbnb.csv – Airbnb listing prices
- facebook.csv – Facebook engagement metrics
Chapter 7 — Predictor Variable Transformation
- employment.csv – Employment and income data
- tire_sales.csv – Tire sales data
- loan_default.csv – Loan default dataset
- video_engagement.csv – Video engagement metrics
- job changes.csv – Job change statistics
Chapter 8 — Model Diagnostics
- charges.csv – Medical charges data
- salary_churn.csv – Employee salary and churn
- tweet_engagement.csv – Twitter/X engagement data
Chapter 9 — Variable Selection
- hr_retention.csv – HR employee retention
- insurance.csv – Insurance customer data
- vacation.csv – Vacation spending data
R Edition
Applied Linear Regression for Business Analytics with R
Chapter 2 — Basic Statistics and Functions Using R
- Top200.csv – Top 200 companies dataset
Chapter 3 — Regression Fundamentals
- PriceSize.csv – House price and size data
- Sales.csv – Sales and revenue data
Chapter 4 — Simple Linear Regression
- Betas.csv – Stock beta values
- SalesAds.csv – Sales with advertising spend
Chapter 5 — Multiple Regression
- HousePrices.csv – Residential real estate data
- TireSales.csv – Tire sales data
Chapter 6 — Estimation Intervals and Analysis of Variance
- HR_retention.csv – HR employee retention data
Chapter 7 — Predictor Variable Transformations
- Employment.csv – Employment and income data
- MarketingToys.csv – Toy marketing dataset
- Youtube.csv – YouTube engagement metrics
- JobChanges.csv – Job change statistics
- Facebook.csv – Facebook engagement metrics
Chapter 8 — Model Diagnostics
- Twitter.csv – Twitter/X engagement data
- Sales.csv – Sales and revenue data
- SalesAds.csv – Sales with advertising spend
- CustomersInsurance.csv – Insurance customer data
- PriceSize.csv – House price and size data
Chapter 9 — Variable Selection
- AirBnb.csv – Airbnb listing prices
- Charges.csv – Medical charges data
- Countries.csv – Country-level economic data