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  

|
Pradeep Kurup
January 30, 2009 02:04PM
Hi Gang,
The SEMscript.csh script has the first few lines extracting the eigen values, commented out in the section of the code that computes residual variance. Instead the calculation seems to be done using the first eigen vector. wonder whys that so?

# compute residual variance
# grep -A 1 -m 1 "++ Left Vectors" SEM_svd_roi${roi}.txt | \
# tail -1 > SEM_temp.1D
# 1dtranspose SEM_temp.1D > SEM_sv_roi${roi}.1D
# 1deval -a SEM_sv_roi${roi}.1D -expr 'a*a' > SEM_sv2_roi${roi}.1D
1dcat SEM_temp.1D'[1]' > SEM_sv_roi${roi}.1D
1deval -a SEM_sv_roi${roi}.1D -expr 'a*a' > SEM_sv2_roi${roi}.1D


Thanks,
Pradeep
Subject Author Posted

1dSEM -computing residual variance

Pradeep Kurup January 30, 2009 02:04PM

Re: 1dSEM -computing residual variance

Gang Chen February 02, 2009 02:59PM