How to determine standard error from Multiple Linear Regression
Show older comments
Getting the standard error from regress.
If I have # of equations of the following format
Y = A*Z1 + B*Z2
and I have # of Y, Z1 and Z2 values.
I did a mulitple linear regress to determine the A and B value using the following script.
Y = importdata('C:\Users\Calvin\Desktop\FYP\Regression Script\Y.mat');
Z = importdata('C:\Users\Calvin\Desktop\FYP\Regression Script\Z.mat');
% Multiple Linear Regression to find the coeeficients A, B, C
W = regress(Y,Z);
A = W(1);
B = W(2);
Question: Is there any way I'm able to obtain the error standard error for A and B, ±ΔA & ±ΔB.
Thank you in advance!
Accepted Answer
More Answers (0)
Categories
Find more on Linear Predictive Coding 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!