I am performing weighted least squares regression using "lscov", and want the function to return the diagnostic statistics in the output. These statistics are available in "regstats", but "regstats" does not do weighted regression.
MATLAB: How to obtain the regression statistics for weighted least squares regression in MATLAB
errorsStatistics and Machine Learning Toolboxt-statistic
Best Answer