1 Introduction 1
2 Regression using MATLAB 5
2.1 Design of the regression library ................. 6
2.2 The ols function ......................... 8
2.3 Selecting a least-squares algorithm ............... 12
2.4 Using the results structure .................... 17
2.5 Performance profiling the regression toolbox .......... 28
2.6 Using the regression library ................... 30
2.6.1 A Monte Carlo experiment ............... 31
2.6.2 Dealing with serial correlation ............. 32
2.6.3 Implementing statistical tests .............. 38
2.7 Chapter summary ........................ 41