Efficient method to perform a simple linear regression across dimensions
显示 更早的评论
I have a 4D array of neuroimaging data (nSubj*x*y*z), and a 2D array of covariates (nSubj*1).
What is an efficient way to do a separate regression for every voxel (i.e. value of x, y, and z) to the array of covariates, resulting in a 3D array of regression values (size=x*y*z)?
Thanks!
回答(1 个)
Star Strider
2015-11-22
0 个投票
The best I can do is to direct you to the general section in the Statistics Toolbox documentation on Linear Regression and let you explore. I cannot suggest anything specific, because I’m not certain what you’re doing.
类别
在 帮助中心 和 File Exchange 中查找有关 Linear Predictive Coding 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!