Hello,
If you try the matlab example about linear regression by the following code:
load carsmalltbl = table(Weight,Acceleration,MPG,'VariableNames',{'Weight','Acceleration','MPG'});tbl(1:5,:)lm = fitlm(tbl,'MPG~Weight+Acceleration')
It will generate the following answer:
It means that MPG is linearly proportional to weight and acceleration and a constant value. But I don't understand how? I mean I don't understand what these parameters (Estimate, SE, tStat, pValue) tell me? How should I make the function of the out put with the parameters?
Many thanks in advance,
Best Answer