Showing posts with label F statistic. Show all posts
Showing posts with label F statistic. Show all posts

Monday, 10 January 2011

CFA Level 2, Reading 12.e, F-statistic

CFA Level 2, Reading 12.e, F-statistic

The LOS reads as follows:
e. calculate and interpret the F-statistic, and discuss how it is used in regression analysis

Discuss how it is used in regression analysis
The use of the F statistic has already been discussed in Reading 11, 3.6. The difference between Reading 11 and Reading 12 relates to the number of independent variables.

We use the t-test to determine whether the coefficients are equal to 0. If none of the independent variables in a regression model helps explain the dependent variable, the slope coefficients should all equal 0.

In a multiple regression, however, we cannot test the null hypothesis that all slope coefficients equal 0 based on t-tests that each individual slope coefficient equals 0, because the individual tests do not account for the effects of interactions among the independent variables. We therefore use the F-statistic.

Calculate the F-statistic
For one independent variable the formula for the F statistic is as follows:





But remember, Reading 12 deals with multiple independent variables. The formula is therefore:







where k = number of slope coefficients

In a previous post, we used data from BHP and the excel function to create a ANOVA table. The output was  as follows:
Using the F-statistic, we are able to reconstruct how F (0.881045325) was calculated.
RSS = 101.240
SSE = 114.909
k = 2
n = 5

Therefore;
(101.240/2) / (114.909/(5-(2+1))
50.620 / 57.454
= 0.88104

Interpret the F-statistic
Remember that we are using the F-statistic to determine whether the slope coefficients equal 0. To do that we need a significance level and need to compare the calculated F-statistic to the tables.
Lets assume that the level of significance is 0.05
WE ALWAYS USE A ONE SIDED TEST AS THE MSR NECESSARILY INCREASES RELATIVE TO MSE AS THE EXPLANATORY POWER OF THE REGRESSION INCREASES

So, on the F-statistic table, with 2df in the Numerator & 2df in the Denominator, we note a value of 19.
This indicates that we can accept the null hypothesis and that all the slope coefficients equal 0.
The independent variables therefore DO NOT help explain the dependent variable.


The table also provides a “Significance F,” p-value of 0.53. This p-value means that the smallest level of significance at which the null hypothesis can be rejected is 0.53.
The small value for this F-statistic implies a high probability of incorrectly rejecting the null hypothesis (a mistake known as a Type I error).

Sunday, 26 December 2010

Reading 11, Putting the puzzle of Reading 11 together


Level 2, Volume 1, Quantitative methods, Reading 11, Correlation & Regression
Most questions related to Reading 11 incorporate tables as indicated below.
I struggled initially to understand the relevance and links between the data. After I studied it in some detail I came to the conclusion that if you understand the table, you understand most of Reading 11.
These tables are a bit like a big puzzle, and once you start to piece it together Reading 11 falls into place. This is pretty cool.
Below I use the information from Reading 11, Table 12 and show all the links and relationships using underlying formulas.
Did I say it is pretty cool?

Information from Reading 11, Table 12
Regression Statistics
Multiple R
0.928
R-Squared
0.861
Observations
60
Standard error of estimate
0.0174

ANOVA
Degrees of Freedom
Sum of Squares
Mean Sum of
Squares
F
Regression
1
          0.1093
0.1093
359.64
Residual
58
0.0176
0.0003
Total
59
0.1269

Coefficients
Standard Error
t-Statistic
Alpha
0.0009
0.0023
0.4036
Beta
0.7902
0.0417
18.9655


  
1.Calculate Correlation Coefficient  (“CC”)using Coefficient of Determination (“CD”)
Remember R-Squared = Coefficient of Determination
1.1 Reference
Reading 11, 3.4

1.2.1 Formula: Method 1
CD = Square the CC between the dependent and independent variables.
Thus CC = √CD

1.3.1 Using information from the tables:
CC =  √0.861 = 0.928

We can therefore also conclude that Multiple R = Correlation Coefficient

1.2.2 Formula: Method 2
Sum of Squares are used to calculate variation. Residual variation is the same as unexplained variation.

= 1 - (Unexplained variation/Total Variation)

1.3.2 Using information from the tables:
= 1 – (0.0176/0.1269)
= 0.928


2.1 Reference
Reading 11, 3.3

2.2 Formula






2.3 Using information from the tables:
We know that Residual Sum of Squares is the same as Sum of Error Squares.
Therefore:
√(0.0176/(60-2))
= √0.0003
= 0.0174


3. Calculating Means (Residual)
(0.0176/(60-2))
=0.0003


4. Calculate ANOVA using the F test

4.1 Reference:
Reading 11, 3.6

4.2 The formula:


4.3 Using information from the tables:
(0.1093/1) / (0.0176/(60-2))
= 360.193
(Difference due to rounding. As indicated in text book)

5. Link between F test & t-statistic

5.1 Reference
Reading 11, 3.6

5.2 Formula
For one independent variable the F-statistic is the square of the t-statistic for the slope coefficient.

5.3 Using information from the tables:
t- statistic = √F statistic
                  = √359.64
                   = 18.9655

6. Calculating the t-statistic

6.1 Reference
Reading 11, 2.6

6.2 Formula

6.3 Using information from the tables:
0.928. √(60-2) / √(1-0.928²)
18.9655


7.1 Reference
Reading 11, 3.5

7.2 Formula





This formula equals 0

7.3 Using information from the tables:
0 = 0.7902 +/- (x)(0.0417)
+/- X = 18.94