How to determine standard error from Multiple Linear Regression
Afficher commentaires plus anciens
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!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Linear and Nonlinear Regression dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!