Logo Search packages:      
Sourcecode: octave-econometrics version File versions

kernel_regression_cvscore.m

function cvscore = kernel_regression_cvscore(bandwidth, data, depvar)
      fit = kernel_regression(data, depvar, data, exp(bandwidth), true);
      cvscore = norm(depvar - fit);
endfunction


Generated by  Doxygen 1.6.0   Back to index