필터 지우기
필터 지우기

Reading Robustfit Stats Results

조회 수: 4 (최근 30일)
balsip
balsip 2017년 5월 13일
댓글: John McDowell 2018년 12월 3일
Using robustfit, I'm looking to find the R^2 and p-value for the resulting linear regression. I'm using two vectors, and returning stats. The code takes the form:
[X,STATS] = robustfit(A,B)
Is anything in the resulting STATS structure the R^2 or the p-value?
Clearly, the p listed within STATS is a tantalizing possibility, but why is it a 2x1 matrix? I would expect it to be a single value; one R^2 value for the linear regression.
The Matlab documentation for robustfit ( https://www.mathworks.com/help/stats/robustfit.html ) tells me that p is the "p-values for t", and t is the "Ratio of b to se", and you can see how a newbie to stats might be perplexed at this point.
I do not have any additional toolboxes, FYI.
Full disclosure: I am slowly getting familiar with statistics in general, so please excuse the shortcomings and oversights.
Thanks, everyone.
  댓글 수: 1
John McDowell
John McDowell 2018년 12월 3일
Did you ever work out the answer to this question? I am trying to work out the similarity between two curves, and had been recommended robusfit(). However, the 2x1 matrix of pvalues confuses me also, and I can find no plainly worded explanation of the STAT outputs.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Gaussian Process Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by