function to extract log-likelihood and degrees-of-freedom from locfit fit. order of returned vector: df0 df1 llk.
0001 function z = rsum(fit) 0002 % 0003 % function to extract log-likelihood and degrees-of-freedom 0004 % from locfit fit. 0005 % 0006 % order of returned vector: df0 df1 llk. 0007 % 0008 0009 fp = fit.fit_points; 0010 gf = fp.kappa; 0011 0012 z = gf([2 3 1]); 0013 0014 return;