Mercurial > repos > vipints > rdiff
diff rDiff/src/locfit/m/rsum.m @ 0:0f80a5141704
version 0.3 uploaded
author | vipints |
---|---|
date | Thu, 14 Feb 2013 23:38:36 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rDiff/src/locfit/m/rsum.m Thu Feb 14 23:38:36 2013 -0500 @@ -0,0 +1,14 @@ +function z = rsum(fit) +% +% function to extract log-likelihood and degrees-of-freedom +% from locfit fit. +% +% order of returned vector: df0 df1 llk. +% + +fp = fit.fit_points; +gf = fp.kappa; + +z = gf([2 3 1]); + +return;