s-news
[Top] [All Lists]

How to extract x and y from loess?

To: S-News <s-news@wubios.wustl.edu>
Subject: How to extract x and y from loess?
From: "Kim Elmore" <Kim.Elmore@noaa.gov>
Date: Sun, 21 Sep 2003 23:40:12 -0500
I'm trying to extract a 2-D fit from loess(). The formula is simply response ~ input, where input has only one variable. Ideally, I'd like to bootstrap loess(), but I can't even figure out how to explicitly extract a simple 2-D fit. The function lowess() at least returns the x and y values explicitly, but I can't fix the length of the returned vectors. With the original data, I might get a length of n, but a resampled version might return something different.

I'll happily entertain insights and suggestions about how to proceed.

Kim Elmore
                          Kim Elmore, Ph.D.
                       University of Oklahoma
        Cooperative Institute for Mesoscale Meteorological Studies
"All of weather is divided into three parts: Yes, No, and Maybe. The
greatest of these is Maybe" The original Latin appears to be garbled.


<Prev in Thread] Current Thread [Next in Thread>