| To: | <s-news@lists.biostat.wustl.edu> |
|---|---|
| Subject: | Loess span optimization: calculating AIC. |
| From: | "Myers, Brent" <MyersDB@missouri.edu> |
| Date: | Tue, 24 Feb 2004 11:08:26 -0600 |
| Thread-index: | AcP6+M2+BXzh461QQt6jpqI0d3JQxg== |
| Thread-topic: | Loess span optimization: calculating AIC. |
|
Good Day, I am looking for a way to optimize selection of span for a loess model in S-Plus. Any options out there? One option I am having trouble with… The SAS documentation provides a macro that uses the unbiased AIC to optimize residual error and span.
I am having difficulty porting this to S as I cannot identify all of the terms from the loess model. Here is the theoretical model provided in the reference, it is to be calculated for each value of span. AIC <- (n*(sigma.hat^2)) + (n*(((delta.1)/(delta.2*(n + traceL)))/((delta.1^2)/(delta.2 - 2)))) Terms required, the ones I am not sure of have question marks. Advide on identifying these terms would be appreciated.
The macro calculation provided in the reference is not exactly like the one above, it is as follows and includes terms from the ODS output from SAS. sigmaHat = rss/n
Additional terms in the SAS macro by Cohen
What are these extra terms that are not in the theoretical model? D. Brenton Myers
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: convergence in polr, Spencer Graves |
|---|---|
| Next by Date: | Re: plot.survfit, susan |
| Previous by Thread: | convergence in polr, C. Spanou |
| Next by Thread: | map function, Park, Richard |
| Indexes: | [Date] [Thread] [Top] [All Lists] |