Hi. I am running a multiple regression analysis with [b,bint,r,rint,stats] = regress(y,X). Regarding 'stats' I have the following questions: 1) What is the critical value (alpha) for the F statistic? I mean which value does Matlab 'assume' (e.g. alpha=0.01, alpha=0.05…)? 2) How does Matlab compute the p-value? The p-value(which should be smaller than the critical value of the F statistic in order to have a significant test) is normally the area beneath the right tail of the f distribution at the F-value, if I understood the concept correctly. With respect to the regress command – does Matlab simply calculate this area or does it calculate the p-value differently?
Thank you!
Best Answer