Article View: aus.stats.s
Article #266[S] interpolation with 5th order spline
From: "Stefan Jonson"
Date: Mon, 06 Aug 2001 00:06
Date: Mon, 06 Aug 2001 00:06
39 lines
2332 bytes
2332 bytes
Hello good Splus users
I am using the spline() function to interpolates through data points. The
result so far is pretty good. However, to be consistent with the demographic
literature, I must find a way to do a 5th order spline interpolation.
Any help or suggestion to do a 5th order spline is welcomed.
This cumulative distribution needs to be interpolated for every integer,
starting out and ending with a the first derivative = 0, no value should be
negative and none should be higher than the max. Some values can be assumed
or fixed like 10=0.0 and 53=0.0 , 52=0.0
>cumASFR
[,1] [,2]
[1,] 9 0.0
[2,] 14 2.6
[3,] 19 106.3
[4,] 24 290.4
[5,] 29 442.8
[6,] 34 539.5
[7,] 39 584.8
[8,] 44 595.6
[9,] 49 596.2
[10,] 54 596.2
Thanks,
Stefan
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
---------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu. To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message: unsubscribe s-news
---
Technical Details
Message-ID:
<F45t47jO9ljL2pf8gVH00011b0f@hotmail.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!cyclone2.usenetserver.com!usenetserver.com!news.maxwell.syr.edu!news1.optus.net.au!optus!news.usyd.edu.au!news.nsw.CSIRO.AU!cmis.csiro.au!owner-s-newsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fa931,1117fdb5afdbce4a,start
X-Google-Attributes: gidfa931,public
X-Google-ArrivalTime: 2001-08-05 17:26:06 PST
Newsgroups: aus.stats.s
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!cyclone2.usenetserver.com!usenetserver.com!news.maxwell.syr.edu!news1.optus.net.au!optus!news.usyd.edu.au!news.nsw.CSIRO.AU!cmis.csiro.au!owner-s-news
From: stefan_hrafn@hotmail.com ("Stefan Jonson")
Subject: [S] interpolation with 5th order spline
X-Nntp-Posting-Host: snowy.nsw.cmis.csiro.au
Content-Type: text/plain; format=flowed
Message-ID: <F45t47jO9ljL2pf8gVH00011b0f@hotmail.com>
Sender: majordomo@mailhost.nsw.cmis.CSIRO.AU
X-Originating-Ip: [130.203.164.188]
Organization: CSIRO Australia
X-To: s-news@wubios.wustl.edu
Mime-Version: 1.0
Date: Mon, 6 Aug 2001 00:06:49 GMT
Content-Length: 1182
X-Originalarrivaltime: 05 Aug 2001 23:48:08.0503 (UTC) FILETIME=[142BAC70:01C11E09]
X-Precedence: bulk
X-Received: from 130.203.164.188 by lw4fd.law4.hotmail.msn.com with HTTP; Sun, 05 Aug 2001 23:48:08 GMT
Lines: 39