フィルターのクリア

Reading Robustfit Stats Results

8 ビュー (過去 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 Center および File ExchangeDescriptive Statistics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by