[Top][All Lists]

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

How to get a result like FIT in MatLab? corrcoef?

From: SBoris
Subject: How to get a result like FIT in MatLab? corrcoef?
Date: Tue, 27 Nov 2012 10:49:32 -0800 (PST)

How to get similar in Octave?
 Coefficients (with 95% confidence bounds):
       ka =      0.1381  (0.00714, 0.2691)
       ke =      0.4513  (-0.3369, 1.24)
       tc =      0.5468  (-15.45, 16.54)
I try to use corrcoef but have got
warning: corrcoef is not equivalent to Matlab and will be removed from a
 version of Octave; for similar functionality see corr
error: element number 2 undefined in return list

MatLab allows to do this by (from MatLab help)
[FO, G] = FIT(X, Y, ...) returns appropriate goodness-of-fit measures, for
    the given inputs, in the structure G. G includes the fields:
        -- SSE         sum of squares due to error
        -- R2          coefficient of determination or R^2
        -- adjustedR2  degree of freedom adjusted R^2
        -- stdError    fit standard error or root mean square error


View this message in context:
Sent from the Octave - General mailing list archive at

reply via email to

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