aic.html 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  2. "http://www.w3.org/TR/REC-html40/loose.dtd">
  3. <html>
  4. <head>
  5. <title>Description of aic</title>
  6. <meta name="keywords" content="aic">
  7. <meta name="description" content="">
  8. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  9. <meta name="generator" content="m2html &copy; 2005 Guillaume Flandin">
  10. <meta name="robots" content="index, follow">
  11. <link type="text/css" rel="stylesheet" href="../../../m2html.css">
  12. <script type="text/javascript">
  13. if (top.frames.length == 0) { top.location = "../../../index.html"; };
  14. </script>
  15. </head>
  16. <body>
  17. <a name="_top"></a>
  18. <!-- ../../menu.html chronux_2_10 --><!-- # locfit --><!-- menu.html m -->
  19. <h1>aic
  20. </h1>
  21. <h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
  22. <div class="box"><strong></strong></div>
  23. <h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
  24. <div class="box"><strong>function g=aic(varargin) </strong></div>
  25. <h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
  26. <div class="fragment"><pre class="comment"></pre></div>
  27. <!-- crossreference -->
  28. <h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
  29. This function calls:
  30. <ul style="list-style-image:url(../../../matlabicon.gif)">
  31. <li><a href="locfit.html" class="code" title="function fit=locfit(varargin)">locfit</a> Smoothing noisy data using Local Regression and Likelihood.</li><li><a href="rsum.html" class="code" title="function z = rsum(fit)">rsum</a> </li></ul>
  32. This function is called by:
  33. <ul style="list-style-image:url(../../../matlabicon.gif)">
  34. <li><a href="aicplot.html" class="code" title="function g=aicplot(alpha,varargin)">aicplot</a> </li></ul>
  35. <!-- crossreference -->
  36. <h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2>
  37. <div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function g=aic(varargin)</a>
  38. 0002
  39. 0003 pen = 2.0;
  40. 0004
  41. 0005 fit = <a href="locfit.html" class="code" title="function fit=locfit(varargin)">locfit</a>(varargin{:});
  42. 0006 rs = <a href="rsum.html" class="code" title="function z = rsum(fit)">rsum</a>(fit);
  43. 0007
  44. 0008 df0 = rs(1);
  45. 0009 df1 = rs(2);
  46. 0010 llk = rs(3);
  47. 0011 ai = -2*llk + pen * df0;
  48. 0012 g = [llk df0 df1 ai];
  49. 0013
  50. 0014 <span class="keyword">return</span>;</pre></div>
  51. <hr><address>Generated on Fri 12-Aug-2011 11:36:15 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> &copy; 2005</address>
  52. </body>
  53. </html>