lscov regstats and weighted least squares (WLS)

I would suggest combining the functionality of lscov and regstats regarding weighted least squares estimation. lscov allows for WLS with a vector argument or full GLS with a matrix argument.
regstats has a much richer set of output and residual analysis but requres the user to transform the input data manually.
Please consider adding a vector/matrix argument as in lscov to regstats for WLS/GLS estimation.

Asked:

on 26 Jul 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!