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!