Calculating standard deviation of multivarible regression analysis
2 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Regression 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!