How to run a multiple linear regression of this format?
4 views (last 30 days)
I want to run a multiple linear regression model of this form:
where, is the intercept and all other β terms are the coefficients. ϵ is the error term.
are the different independent variables and y is the dependent variable.
are each 3-D arrays of dimension 60x57x30. I want to run the multiple linear regression model in such a way that the coefficients are all 2-D arrays of dimension 60x57. How to do that?
Divyam Gupta on 9 Jun 2021
As per my understanding, you want to run a multiple regression of a certain form with 3-dimensional data.
Please have a look at the following answer posted on MATLAB Central which discusses a similar issue as yours: https://www.mathworks.com/matlabcentral/answers/213867-how-to-curve-fit-4d-data
Hope this helps.