Re: How to extract statistics after using
- From: Ed <d86031@xxxxxxxxxxx>
- Date: Tue, 28 Feb 2006 10:41:15 -0500
Ed wrote:
data
Peter Perkins wrote:
could
Ed wrote:
Hi:
As following function:
[cf_,GOODNESS,OUTPUT] = fit(x,y,ft_ ,'Startpoint',st_)
(1). How to extract statistics after using "fit" function?
I mean "GOODNESS" (SSE,Rsquare....)?
(2). If I saved M-file after CFTOOL had done, the M-file
be
applied other "similiar" (x,y) dataset without "huge"interference?
Ed, I can't tell exactly what problems you are having. As
described in the help,
[FITTEDMODEL,GOODNESS] = FIT(XDATA,YDATA,...) returns
appropriate
goodness-of-fit measures, for the given inputs, in the
structure GOODNESS.
GOODNESS includes the fields: SSE (sum of squares due to
error), R2
(coefficient of determination or R^2), adjustedR2 (degree of
freedom
adjusted R^2, and stdError (fit standard error or root mean
square error).
so the g.o.f. measures are just the fields of the structure.
And yes, the generated M code should be able to fit similar
without anySorry, I described ambiguously! Let me put my problem in the
modifications to the code.
Hope this helps.
- Peter Perkins
The MathWorks, Inc.
following way:
1. How to extract coefficients (such as Fourier series in a0, a1,
b1,
b2...) from structure variables of statistics which had solved by
using "fit" function.
2. As for Fourier series fitting, one applied CFTOOL M-file to
another "not similar" dataset, which one will received warnings in
Matlab environment. I mean...how to revise the code with adaptive
adjustable coefficients, and there were no huge error or warnings
for
those datasets with correlation coefficient above 50%?
By the way, how to extract a "GOODNESS(SSE,Rsquare....)" structure
variable and split it into different variables?
.
- References:
- How to extract statistics after using "fit" function
- From: Ed
- Re: How to extract statistics after using "fit" function
- From: Peter Perkins
- Re: How to extract statistics after using
- From: Ed
- How to extract statistics after using "fit" function
- Prev by Date: non-overalpping random lines
- Next by Date: Re: Long delay when calling Matlab from Python
- Previous by thread: Re: How to extract statistics after using
- Next by thread: ??? Undefined function or variable 'ss'.
- Index(es):
Relevant Pages
|