How to run a multiple linear regression of this format?

6 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?

Answers (1)

Divyam Gupta
Divyam Gupta on 9 Jun 2021
Hi,
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.

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!