Mercurial > repos > vipints > rdiff
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:0f80a5141704 |
---|---|
1 function z = rsum(fit) | |
2 % | |
3 % function to extract log-likelihood and degrees-of-freedom | |
4 % from locfit fit. | |
5 % | |
6 % order of returned vector: df0 df1 llk. | |
7 % | |
8 | |
9 fp = fit.fit_points; | |
10 gf = fp.kappa; | |
11 | |
12 z = gf([2 3 1]); | |
13 | |
14 return; |