How to create multiple linear regression ? NEED HELP
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
Hi,
I would like to regress Q with 3 response functions X,Y and Z (like this Q=a+bX+cY+dZ) (Where Q, X, Y and Z are matrice [129x1])
Does anyone know what is the function that can I use for that?
0 个评论
回答(1 个)
the cyclist
2015-2-8
0 个投票
If you have the Statistics Toolbox, you can do this with the mvregress function.
2 个评论
Mr LE
2015-2-8
编辑:the cyclist
2015-2-8
the cyclist
2015-2-8
I believe you need to add a constant vectors of ones to your predictor matrix, to estimate the constant term:
X = [ones(129,1) g(1).b g(1).c g(1).d g(1).e]
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!