What is the weights used in weighted least square regression and Gaussian Weighted least regression ( LOWESS)?
Krish Naidu - Consultant and Trainer SupplyChain Analytics
Supply Chain Analytics Consultant @ Mathnal | Advance Forecasting I Supply Network Optimization I Supply Chain Risk Analytics I Automation & Data Visualization using POWER BI
Weighting in Weighted Least Squares (WLS)
In Weighted Least Squares (WLS), the weights are used to correct for heteroscedasticity (unequal variance in residuals). The goal is to give higher importance to data points with lower variance and lower importance to data points with higher variance.
General Weighting Formula in WLS
wi=1/σi^2
where:
Why Use Weights in WLS?
Common Ways to Assign Weights in WLS
1. Inverse Variance Weighting (Most Common)
wi=1/σi^2
? Used when variance changes across observations. ? Example: Used in econometrics, finance, and experimental physics where measurement errors vary.
2. Inverse Absolute Residual Weighting (Robust WLS)
wi=1/∣ei∣
where IeiI is the residual from an initial OLS fit.
? Used when variance is unknown but residuals are a good proxy.
领英推荐
? Example: Applied in robust regression to reduce the impact of outliers.
3. Weighting Based on a Power Function
wi=1/ ∣Xi∣^α
where α is a chosen exponent.
? Used when variance is proportional to a power of the independent variable.
? Example: In time series models where variance increases with time.
Key Takeaways
Locally Weighted Regression (LOWESS/LOESS), and Gaussian process models
This weight function is used to assign higher weights to nearby points and lower weights to distant points, making it useful for:
IF you are looking for supply chain solutions using machine learning or analytics or statistics modeling, please email us at [email protected] or WhatsApp us @ +91-7993651356
#Supplychain #Supplychainmanagement #Supplychainsolutions #Supplychainanalytics #Inventoryoptimization #Inventorymodeling #Inventory #Logistics #MathnalAnalytics #Inventoryissues #Stockoutissues #Overstockissues #Forecastissues