Dear SPMers,
I tried to extract the "residual variance" for a dipole model of ERP data by using the spm_eeg_dipole_rv.m. However, I found that the result was incompatible with the "Percent variance explained" worked out by the spm_eeg_inv_vbecd_gui.m. For example, the optimal solution after 10 iterations by spm_eeg_inv_vbecd_gui.m gave 94.3886% as the "Percent variance explained". However, the spm_eeg_dipole_rv.m showed 0.3878 as the "residual variance" of the dipole model after inputting the corresponding dipole coordinates and moments. I have tried several times by using different numbers of dipoles on different dataset, and always found that the two results were incompatible. I do not know which one is correct. Would you please give me some advice? Many thanks!
Bests,
Sun Delin
|