I need to carry out multivariate linear regression such that the values of dependent variables are different for each of the independent variables. How do I go about doing it
3 views (last 30 days)
Show older comments
Say we have two independent variables : Y(1), Y(2) such that Y(1) = B(1) + w1*V1(1) + w2*V2(1) + ... + w6*V6(1) and Y(2) = B(2) + w1*V1(1) + w2*V2(1) + ... + w6*V6(1) We are trying to find a function that will fit our (Y,V) data using multivariate regression. The goal is to find a vector [B w1 w2 … w6] that satisfies a least-squares fit to Y , now all the solutions online have the dependent variable( v ) having the same values for Y(1) and Y(2) but in my dataset the values for each independent variables are different .How do I solve such a question ?
0 Comments
Answers (0)
See Also
Categories
Find more on Linear Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!