I’m currently using 3dLSS for beta-series estimation and understand that it implements the LS1 approach as described in Mumford et al. (2012), where each GLM includes one regressor for the trial of interest and another for all remaining trials.
I was wondering if AFNI currently supports (or has plans to support) the LS2 variant described in their follow up paper Turner et al. (2012) — where each GLM includes three regressors:
The current trial
All other trials of the same condition/type
All trials of other types
This model helps improve estimation by more precisely modeling nuisance variance from within-condition and between-condition sources.
Does any existing AFNI program implement this LS2 structure? Or is there a recommended workaround (e.g., using 3dLSS) to simulate this trial-wise approach manually?
If I understand the context correctly, it seems you might be able to use 3dLSS directly to implement the LS2 method with minimal additional effort.
For example, suppose you have two task conditions. To obtain the model matrix (used for 3dLSS) for trial-level estimates of task condition 1, you could specify the 3dDeconvolve script as follows:
I should generate a separate model matrix for each condition (e.g., stim1 and stim2), and then run 3dLSS twice—once with each matrix—to obtain trial-level estimates for each condition separately.
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.