s-news
[Top] [All Lists]

[S] summary: Smoothing

To: s-news@wubios.wustl.edu
Subject: [S] summary: Smoothing
From: "Theo Brandsma" <brandsma@knmi.nl>
Date: Mon, 18 Jan 1999 08:52:04 +0000
Comments: Authenticated sender is <brandsma@bdnfs2.knmi.nl>
Sender: owner-s-news@wubios.wustl.edu
Thanks to  Lutz Prechelt <prechelt@ira.uka.de>  and  Rainer
Kegel <rkl@sma.ch> who responded to my question:

#Does someone know of an S+ function (WIN95) that can do the 
#following:

#I have a time series of monthly data of a climate variable (say 
#temperature). I want to interpolate the monthly data, using a
#smoother, to  obtain daily data. The mean of the interpolated daily
#data in each month should be the same as the original monthly data.

Lutz suggested to use a piecewise linear function using month-long
linear pieces from one mid-month to the next.

Rainer has actually written a function "f.spline.day" that interpolates 366 
daily
values from 12 monthly values.  The mean of the interpolated daily
values in each month is the same as the original monthly value. The 
function is written in S-Plus 3.3 for Unix.

Theo Brandsma

___________________________________________
Dr T. Brandsma (Theo)
Royal Netherlands Meteorological Institute (KNMI)
PO Box 201
3730 AE De Bilt
The Netherlands 
Tel.: +31.30.2206693
Fax: +31.30.2210407 
E-mail: brandsma@knmi.nl
____________________________________________

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>
  • [S] summary: Smoothing, Theo Brandsma <=