weighting function

  1. H

    Weighted Least Squares (WLS) using initial OLS and basis functions.

    Hi All, I have a question about WLS using basis functions. I am tasked with writing some code to automate a WLS procedure. Initially I am taking Ordinary Least Squares on some data (X & Y). I achieve this by using a polynomial basis function, resulting in a matrix [X] corresponding to...