help-octave
[Top][All Lists]
Advanced

[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
future
 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

Thanks.
 



--
View this message in context: 
http://octave.1599824.n4.nabble.com/How-to-get-a-result-like-FIT-in-MatLab-corrcoef-tp4647272.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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