Displaying 5 results from an estimated 5 matches for "kernsur".
2003 Jul 12
2
help with bivariate density plot question
Dear R users:
I have a dataset with two variables (>20000 observations, two samples from same subject) and I used "kernSur" from library(Genkern) to
get a estimated bivariate density and corresponding plots as follows:
new.data.normal<-data.normal[!is.na(data.normal[,2]),]
x<-new.data.normal[,2]
y<-new.data.normal[,3]
op <- KernSur(x,y, xgridsize=50, ygridsize=50, correlation=0.4968023,...
2008 Jul 16
1
help with bivariate density plot question
Hi Spencer,
I have seen your name on the web site, and perhaps you can
help me with my R problem.
I'm trying to use KernSur to put in evidence a substructure in a
bidimensional plot. My problem is that, in order to get the density
in the low density areas (in which the substructure is located) I should
use different bandwidths. How I can do that?
Also, I think that the best choice for my case is to use the function
&qu...
2001 Feb 12
1
3d plots?
...Kern package. I've
used the image() and contour() to create a nice shaded plot,
but I've found a 3d plot is often easier for the audience
to absorb.
The session is simple enough; dfw is a data.frame of
two variables, pressure and flow.
> library(GenKern)
> attach(dfw)
> ks<- KernSur(pressure,flow)
#now, make the shaded contour plot.
> image(ks$xvals,ks$yvals,ks$zden,col=terrain.colors(100), axes=TRUE)
> contour(ks$xvals,ks$yvals,ks$zden,add=TRUE)
Any ideas from here?
Cheers
Jason
--
Indigo Industrial Controls Ltd.
64-21-343-545
jasont at indigoindustrial.co.nz
-.-.-....
2006 Apr 23
3
bivariate weighted kernel density estimator
Is there code for bivariate kernel density estimation?
For bivariate kernels there is
kde2d in MASS
kde2d.g in GRASS
KernSur in GenKern
(list probably incomplete)
but none of them seems to accept a weight parameter
(like density does since R 2.2.0)
--
Erich Neuwirth, University of Vienna
Faculty of Computer Science
Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-...
2004 Apr 10
2
Density Estimation
Dear Sir/Madam;
Would you please tell me what is the command that allows the estimation of the Kernel Density for some data.
Thanks,
Thami Rachidi
[[alternative HTML version deleted]]