Mercurial > repos > vipints > rdiff
view rDiff/src/locfit/m/aic.m @ 3:29a698dc5c7e default tip
Merge multiple heads.
author | Dave Bouvier <dave@bx.psu.edu> |
---|---|
date | Mon, 27 Jan 2014 14:15:36 -0500 (2014-01-27) |
parents | 0f80a5141704 |
children |
line wrap: on
line source
function g=aic(varargin) pen = 2.0; fit = locfit(varargin{:}); rs = rsum(fit); df0 = rs(1); df1 = rs(2); llk = rs(3); ai = -2*llk + pen * df0; g = [llk df0 df1 ai]; return;