[R] Multidimensional interpolation

2013-02-25 Thread Jeremy Beaulieu
27;ve looked into several packages and none seem to interpolate across more than 3-dimensions. All the best, Jeremy Beaulieu __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://

[R] Matching vector order by indicators in a matrix

2011-06-16 Thread Jeremy Beaulieu
Hi all~ I have a bit of stupid question. And I promise, I have struggled through this and it sort of pains me to post this question... I have the following vector which is are the estimated parameter values output from "optim". $Rates [1] 0.006280048 0.330934659 I want to match the order in

[R] Stopping precision using 'optim'

2010-08-05 Thread Jeremy Beaulieu
Hi all~ I am wondering if it is possible to alter the stopping precision for parameters estimated using the 'optim'? If it helps, I am minimizing the log-likelihood of a function using constraints (i.e. L-BFG-S). -Jeremy __ R-help@r-project.org mail

[R] Estimating mean and standard deviation of lognormal distribution between two points

2008-11-06 Thread Jeremy Beaulieu
This is more of a statistical question. Let's say I have two numbers. One is a lower bound and the other is a point estimate to the right of the lower bound. Now, let's say I want to be able to estimate the mean and standard deviation of a lognormal distribution, where 95% of the density falls w