why not just use the tools in npudens? they can predict on a new set.
You can also you tools like fitdistr to fit a parametric multivariate
density, or you can use loess or lm with poly or splines to estimate the
surface (but this will not guarantee a volume of 1).
On Thu, Jan 15, 2015 at 2:19 A
Thanks for the reply. I have datapoints.
What I actually want to do is to estimate a joint density function.
I used npudens() to estimate the kernel density of two vectors and got the
densities at the evaluation points. Now I want an approximation for this so
I can have an estimate for different po
Yes, there are several. Which is best and which subset to suggest depends
on what you are trying to do, what your inputs look like (do you have the
function, but want a simpler approximation? or do you have
observations/datapoints?)
If you can give us more detail about what you have to work with
Hello,
I am a beginner and I wanted to know if there is a way to approximate a
function that has 2 input variables and one output.
--
View this message in context:
http://r.789695.n4.nabble.com/Approximation-of-a-function-from-R-2-to-R-tp4701805.html
Sent from the R help mailing list archive a
4 matches
Mail list logo