To perform the whitening transformation of an F-statistic in MATLAB, you can follow these steps:
Compute the F-statistic value using the appropriate formula or statistical test in MATLAB.
Calculate the degrees of freedom for the numerator and denominator of the F-statistic. Let's call them df1
and df2
, respectively.
Use the inverse F-distribution (chi-squared distribution) to find the critical value at a given significance level. This critical value will be used to determine the threshold for whitening the F-statistic.
Compute the whitened F-statistic by dividing the original F-statistic by the square root of the critical value:
main.m314 chars16 lines
Note that this whitening transformation is useful for comparing the original F-statistic value to a threshold determined by the significance level. If the whitened F-statistic is below the threshold, it suggests that the original F-statistic is significant at the chosen significance level.
gistlibby LogSnag