Hello,
I tried to performe a n-way anova with the dataset in attachement. Also in attachement you can find Data_Read_2003_2010.m to import the dataset into matlab.
If I use only two terms and one factor I can get p-values for each of the terms tested.
Once I try to use three or more terms, I get the values from the print screen bellow.
The command I am executing is the following: [p,tbl2,stats]=anovan(BPI_r,{GerBill' Yield_Spread_DE' PT_DE_Spread'})
Anyone know why I am getting Inf and NaN for F and p-values when I am using three or more terms in n-way anova? I also trying with different terms in the dataset and the entire dataset.
Best regards,
Bruno
Best Answer