Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Community » Message Board

History of AFNI updates   Suggested reading for beginners   Add yourself to the AFNI map!

 New Topic  |  Go to Top  |  Go to Topic  |  Search   Previous Message  |  Next Message 
 1dSEM -computing residual variance
Author: Pradeep Kurup (165.112.78.---)
Date:   01-30-09 14:04

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

 Reply To This Message  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 1dSEM -computing residual variance  
Pradeep Kurup 01-30-09 14:04 


 New Topic  |  Go to Top  |  Go to Topic  |  Search 
 Reply To This Message
 Your Name:
 Your E-mail:
 Subject:
 Attachment:
 Attachment:
   

Powered by Plone

phorum.org

This site conforms to the following standards: