AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
February 26, 2004 03:04PM
Dear Gang

thank you very much for the quick answer. Upon further thought, however, I am pretty convinced that the two operations are not commutable. Try the following simulation:

Assume we have 3 timecourses:

aa = [80 166 16 29 78 104 126 17 7 39]
bb = [174 1 191 155 18 79 67 80 124 33]
cc = [96 17 89 27 69 194 24 96 233 43]

A percent normalization would yield:

aa.n = 100*aa/mean(aa)
bb.n = 100*bb/mean(bb)
cc.n = 100*cc/mean(cc)

The smoothing can be simplistically construed as the average of the 3 timecourses:

mm = (aa + bb + cc)/3

Now the two cases are:

a) percent normalization FOLLOWED by smoothing:

n.sm = (aa.n + bb.n + cc.n)/3

b) smoothing FOLLOWED by normalization:

sm.n = 100*mm/mean(mm)

The difference between n.sm and sm.n is not a null vector:

(n.sm - sm.n) =
[-2.4 15.9 -9.2 -4.6 4.9 1.2 8.9 -4.6 -11.4 1.2]


...but maybe these difference are negligible with real data values.

giuseppe

Subject Author Posted

percent normalization and smoothing

giuseppe pagnoni February 26, 2004 01:50PM

Re: percent normalization and smoothing

Gang Chen February 26, 2004 02:15PM

Re: percent normalization and smoothing

giuseppe pagnoni February 26, 2004 03:04PM

Re: percent normalization and smoothing

Gang Chen February 26, 2004 04:10PM

Re: percent normalization and smoothing

rick reynolds February 26, 2004 05:03PM