Thank you David. I'll add it to the todo list for the next release.

Best,
Maggie


On Wed, Apr 27, 2011 at 8:35 AM, <dwm042@email.com> wrote:

Thank you Maggie.

What I'd like to be able to do, with things like the logistic function (any curve fitter
in PDL::Stats, actually) is something like this:

my %m = $y->logistic( COV => 1 );
print $m{cov}->corr_table();

I don't think logistic should return the covariance matrix by default, but I would like
to be able to get to it.

A single line patch in GLM.pm, after %ret is declared, around line 2000 or so..

$ret{cov} = $cov if ( $opt{COV} );

would do the trick for logistic, I believe. I don't think $cov is out of scope by that point.

Sincerely,

David Myers.



------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
pdl-stats-help mailing list
pdl-stats-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-stats-help