help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] linear regression, f-statistic and vectors


From: Benjamin Otto
Subject: Re: [Help-gsl] linear regression, f-statistic and vectors
Date: Wed, 01 Aug 2007 13:19:45 +0200

Yeah solved that problem now. Thanks Brian. :)

regards,

Benjamin

Am Samstag, den 28.07.2007, 20:16 +0100 schrieb Brian Gough:
> At Thu, 26 Jul 2007 12:53:36 +0200,
> Benjamin Otto wrote:
> > gsl_fit_linear expects two array of type double so for my previous tests
> > I just created some matching arrays. For future calculations I would
> > like to use vectors. Now can I transform a gsl_vector into such a
> > "normal" double array so it is accepted by the linear regression
> > function? I don't find any matching vector view in the manual. Or do I
> > have to loop over each single element, get the value and copy it into a
> > new double array?
> 
> The gsl vector types are mainly intended for linear algebra.  If you
> just have "data" it's simpler to use an ordinary array for it -- this
> is why the statistics functions only take arrays.
>  
> We don't have a routine for the f-test, but you can obtain the
> F-distribution parameters from the cdf functions.
> 



-- 
Pflichtangaben gemäß Gesetz über elektronische Handelsregister und 
Genossenschaftsregister sowie das Unternehmensregister (EHUG):

Universitätsklinikum Hamburg-Eppendorf
Körperschaft des öffentlichen Rechts
Gerichtsstand: Hamburg

Vorstandsmitglieder:
Prof. Dr. Jörg F. Debatin (Vorsitzender)
Dr. Alexander Kirstein
Ricarda Klein
Prof. Dr. Dr. Uwe Koch-Gromus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]