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
- top200.csv – Top 200 companies dataset
Chapter 4 — Simple Linear Regression
- betas.csv – Stock beta values
Chapter 5 — Multiple Regression
- house_prices.csv – Residential real estate data
- tire_sales.csv – Tire sales data
Chapter 6 — Estimation Intervals and Analysis of Variance
- hr_retention.csv – HR employee retention data
Chapter 7 — Predictor Variable Transformation
- employment.csv – Employment and income data
- marketing_toys.csv – Toy marketing dataset
- youtube.csv – YouTube engagement metrics
- job_changes.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
- sales_ads.csv – Sales with advertising spend
- customers_insurance.csv – Insurance customer data
- price_size.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
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 4 — Simple Linear Regression
- Betas.csv – Stock beta values
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