On Fri, Jul 06, 2012 at 10:45:40PM +0000, Italo Maia wrote:
>
> Had this to calculate the rsquared:
>
> OLSMultipleLinearRegression regression = new OLSMultipleLinearRegression();
> regression.newSampleData(curve_totals, data);
> System.out.println("rsquared:" + regression.calculateRSquared());
>
> Where curve_totals is the value calculated with Fnc.fnc and the calculated a,
> b and c.
>
> Used this as reference: http://commons.apache.org/math/userguide/stat.html
>
> Is that right?
The method computes what it says. Whether it is right for your purpose is
for you to decide...
>
> By the way, there is a typo in the link: double rSquared =
> regression.caclulateRSquared();
> Where could I report it?
For those little things, here is fine, thanks. [Fixed in revision 1358535.]
Regards,
Gilles
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]