[Haskell-cafe] Is there a module for multivariate linear regression?

Lihn, Steve horng_twu_lihn at merck.com
Mon Nov 5 13:19:27 EST 2007


Don,
I checked most of them, but did not find anything close.
Hstats seems to be the right place, but no, it does not contain such
function.
It only contains predictive functions in statistics, but there is no
best-fit type of functions. I can calculate Sharpe ratio from it, but I
can not calculate the alpha and beta between two indexes/funds.

http://haskell.org/haskellwiki/Applications_and_libraries/Mathematics
FYI -- Under 2.8, HaskellMath links to a 404 page.

> this does sound like fairly easy to package up as a new module,
though, if you're keen..

This may be the only alternative if nothing obvious comes up...

Thanks,
Steve

-----Original Message-----
>    I am looking for a Haskell module that will do multivariate linear
>    regression. Does someone know which module will do it? That is, the
>    equivalent of Perl's Statistics::Regression.pm.
> 
>
[1]http://search.cpan.org/~itub/PerlMol-0.35_00.ppm/lib/Statistics/Regre
ssion.pm
> 
>    Thanks,
>    Steve
> 

Always check hackage.haskell.org first, but I'm not sure
we have exactly what you're looking for:

    http://hackage.haskell.org/packages/archive/pkg-list.html#cat:Math

in which case the backup is :

 
http://haskell.org/haskellwiki/Applications_and_libraries/Mathematics

this does sound like fairly easy to package up as a new module, though,
if you're keen..

-- Don




------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
New Jersey, USA 08889), and/or its affiliates (which may be known
outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD
and in Japan, as Banyu - direct contact information for affiliates is 
available at http://www.merck.com/contact/contacts.html) that may be 
confidential, proprietary copyrighted and/or legally privileged. It is 
intended solely for the use of the individual or entity named on this 
message. If you are not the intended recipient, and have received this 
message in error, please notify us immediately by reply e-mail and then 
delete it from your system.

------------------------------------------------------------------------------


More information about the Haskell-Cafe mailing list