Calculating standard deviation of multivarible regression analysis

2 次查看(过去 30 天)
So I have been working on a multivariable regression analysis with 13 observations and 4 variables. I am calculating coefficients for each hour of the day by the way. I calculated the coefficients with b = regress(y,X) function. In addition to the coefficients, I would like to get standard deviations of the residuals for each variable. I could get for example confidence intervals, but the regress() only gives me one value for each loop/hour. There are functions like fitlm which gives me more information, but they are more difficult to use with loops.
So do you have any idea what is the best way to calculate 24 hourly coefficints for 4 variables, as well as the standard deviation of errors/standard deviation of coefficints for each variable?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Regression 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by