Lecture 3
Lecture 3
3
Goodness of fit
4
Goodness of fit
5
Goodness of fit: Calculation of R squared
This is illustrated in
Figure 3.1, which
demonstrates the principle
behind the calculation of
the coefficient of
determination, denoted by
𝑅2 and usually more
simply referred to as ‘R
squared’.
6
Goodness of fit: Calculation of R squared
𝑌𝑖 −𝑌
𝑌𝑖 −𝑌
8
Goodness of fit: Calculation of R squared
10
Goodness of fit: Calculation of R squared
14
Goodness of fit: Calculation of R squared
17
Testing the significance of R2 : the F test
18
Testing the significance of R2 : the F test
𝑅2 1
𝐹=
1 − 𝑅2 𝑛 − 2
Or equivalently
𝑅𝑆𝑆 1
𝐹=
𝐸𝑆𝑆 𝑛 − 2
19
Testing the significance of R2 : the F test
20
Testing the significance of R2 : the F test
21
@@@@@@@@@@@@@@@@@@@@@ end of lecture 3 @@@@@@@@@@@@@@@@@@@@
22