Dear Christian,
thanks a lot! I do need b-values and deviance estimates (e.g. root mean square dev) only but probably the implementation will help to modify accordingly!
Thanks a bunch, will have a look!
Best, Andy
> Am 29.03.2018 um 08:45 schrieb Christian Gaser <[log in to unmask]>:
>
> Dear Andreas,
>
> you can try the attached function from my TFCE toolbox that should do the job very fast. It only uses a masked-indexed image area and T- and F-statistics can be estimated. Simply ignore the last two parameters (vFWHM,SmMask) that are used for variance smoothing. You can check how this function is used by taking a look at cg_tfce_estimate.m:
> http://www.neuro.uni-jena.de/tfce/
>
> Best,
>
> Christian
>
>> On Wed, 28 Mar 2018 10:50:01 +0100, Andreas Horn <[log in to unmask]> wrote:
>>
>> Dear SPMers,
>>
>> I'd like to solve a mass-univariate simple GLM (voxel-wise) and looking for the function. Would just need betas and aim is to speed up the process (I'm aware I could just use a for loop and use glmfit or simply calc ordinary least squares estimator myself).
>> Since this is the standard bread and butter for SPM I hope that there's a function that can do this pretty fast?
>>
>> Thank you so much for pointing me in the right direction!
>>
>> Best, Andy
>
> <calc_GLM.m>
|