From: Matthew on
Hello,

I would like to find more details on the different members of the stats structure from robustfit within the Statistics Toolbox. For example what is the algorithm for stats.robust_s, stats.s, etc? How can I review the code used for these functions?

Thank you,
Matt
From: Tom Lane on
> I would like to find more details on the different members of the stats
> structure from robustfit within the Statistics Toolbox. For example what
> is the algorithm for stats.robust_s, stats.s, etc? How can I review the
> code used for these functions?

Matt, "edit robustfit" will show you the code. Below the comments that
provide the help text, you'll find references for the algorithm used.

-- Tom


From: Greg Heath on
On Dec 10, 10:36 am, "Tom Lane" <tl...(a)mathworks.com> wrote:
> > I would like to find more details on the different members of the stats
> > structure from robustfit within the Statistics Toolbox.  For example what
> > is the algorithm for stats.robust_s, stats.s, etc?  How can I review the
> > code used for these functions?
>
> Matt, "edit robustfit" will show you the code. Below the comments that
> provide the help text, you'll find references for the algorithm used.

It is good practice to immediately change the filename to
myrobustfit so that the original is not accidently modified.

painfully experienced,

Greg
From: dpb on
Greg Heath wrote:
....

> It is good practice to immediately change the filename to
> myrobustfit so that the original is not accidently modified.
>
> painfully experienced,
....

Even safer would be 'type' instead of 'edit'...

--