Reading Robustfit Stats Results
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commento
John McDowell
il 3 Dic 2018
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.
Risposte (0)
Vedere anche
Categorie
Scopri di più su Gaussian Process Regression in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!