Splines and known maximum
- To: mathgroup at smc.vnet.net
- Subject: [mg17204] Splines and known maximum
- From: Peter Beerli <beerli at genetics.washington.edu>
- Date: Mon, 26 Apr 1999 01:20:44 -0400
- Organization: University of Washington
- Sender: owner-wri-mathgroup at wolfram.com
Hi, is there a way to constrain Spline[] or a substitute of it so that it will have a maximum at one of the given data points? For some log-likelihood curve I have 9 points {{val,loglike},...} of which I know that one of them is at the maximum likelihood value, but if I use Spline[data,Cubic] the maximum is often somewhere between the known points (and at the wrong place for my purposes]. Is there any Mathematica construct? I would also look for an implementation of this in C or C++? Any hint would be welcome, and could you please cc your answer to me (beerli at genetics.washington.edu) Thanks Peter ----------------------------------------------------------- Peter Beerli <beerli at genetics.washington.edu> University of Washington, GENETICS, Box 357360, Seattle, WA 98195-7360, USA. Work:(206) 543-8751, Home:(206) 527-9906, Fax:(206) 543-0754; GMT+0800. http://evolution.genetics.washington.edu/PBhtmls/beerli.html