Multivariable time dependent regression
2 次查看(过去 30 天)
显示 更早的评论
I'm trying to solve the following equation using multivariate regression. I have a target in 2 dimensions (gridcell,time) and four predictors in the same dimensions. The equation is below.
A(t,i) = a(i) + b(i)*B(t,i) + c(i)*C(t,i) + d(i)*D(t,i) + e(i)*E(t,i)
Where, A, B, C, D, E are known, t and i are indices and I wish to find the values for a, b, c, d and e which minimise the difference between existing value of A and the predicted value of A.
t = 1:30 and i ~ 1:250000
Using the mvregress tool I'd need to build the inputs X and Y. I think Y in mvregress equals my A matrix but I cannot think how to make X.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!