필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

how to get detail information from a regression model results in a separate array?

조회 수: 1 (최근 30일)
Very Determined
Very Determined 2015년 6월 18일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello,
I am asking this question as I haven't find an answer yet. Could anybody help me please to learn how to to extract the coefficients values (or other relevant data) from the model results such as: mdl.Coefficients. I am trying to record such values for number of regression models to work on them in another code. An example of what I am lloking for is here:
Estimate SE tStat pValue
_________ _________ _______ __________
b1 -0.17489 0.025051 -6.9813 2.0592e-07
b2 -0.47334 0.024024 -19.702 3.7536e-17
b3 -0.028464 0.0058363 -4.877 4.6488e-05
b4 -0.023999 0.0072508 -3.3099 0.0027401
If I use mdl.Coefficients (1,2) for instance, this gives me a table like below instead of just the number (0.025051 in this case).
SE
________
b1 0.025051
I tried "get" command as well but it didn't work. Also I am wondering how I can clear a part of the regression results. I have a lot of observations that take the whole memory and I need to clear them from the mdl results. (like mdl.VariableInfo, mdl.ObservationInfo, etc.)
Thanks

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by