I have a fitting program where I am fitting gaussian curves...
After fitting these I want to access the sse, rquare, dfe, adjrsquare and rmse values. I'm unsure of how to do this.
I have the values displayed in terminal, but they are all incorporated into a goodness of fit value, gof, and include text...
This is a small part of the code...
[cf_,gof2] = fit(x(ok_),y(ok_),ft_,fo_);
when I display gof2, it outputs:
sse: 2.3172
rsquare: 0.9989
dfe: 53
adjrsquare: 0.9989
rmse: 0.2091
I want to know if there is a way to access just the value of say, sse?
Thanks,
|
|
0
|
|
|
|
Reply
|
Mike
|
6/28/2010 8:23:19 PM |
|
On 6/28/2010 4:23 PM, Mike wrote:
> [cf_,gof2] = fit(x(ok_),y(ok_),ft_,fo_);
>
> when I display gof2, it outputs:
>
> sse: 2.3172
> rsquare: 0.9989
> dfe: 53
> adjrsquare: 0.9989
> rmse: 0.2091
>
> I want to know if there is a way to access just the value of say, sse?
Mike, I think you want, for example, gof.sse. gof is a scalar
structure. Hope this helps.
|
|
0
|
|
|
|
Reply
|
Peter
|
6/28/2010 8:42:14 PM
|
|
thanks. That's exactly what I wanting.
|
|
0
|
|
|
|
Reply
|
Mike
|
6/28/2010 9:00:22 PM
|
|
|
2 Replies
671 Views
(page loaded in 0.058 seconds)
Similiar Articles: Fitting data and then accessing sse, rsquare, dfe, adjrsquare and ...Fitting data and then accessing sse, rsquare, dfe, adjrsquare and rmse values Follow Goodness of fit - comp.soft-sys.matlabFitting data and then accessing sse, rsquare, dfe, adjrsquare and ... I have the values displayed in terminal, but they are all incorporated into a goodness of fit value ... Fitting data and then accessing sse, rsquare, dfe, adjrsquare and ...Fitting data and then accessing sse, rsquare, dfe, adjrsquare and rmse values Follow Fit curve or surface to data - MATLAB - MathWorks - MATLAB and ...... fitting, if your data is in separate vectors, then ... values ... sse: 246.1543 rsquare: 0.9980 dfe: 19 adjrsquare: 0.9979 rmse: 3.5994; Fit the data ... 7/21/2012 6:15:55 PM
|