[6400] in s-news-athena
Re: [Q] is there a 2d analogue of density()?
daemon@ATHENA.MIT.EDU (hyndman@staff.monash.edu.au)
Sun Feb 5 18:16:33 1995
To: s-news@utstat.toronto.edu
From: hyndman@staff.monash.edu.au
Date: Sun, 5 Feb 1995 21:01:12 GMT
Murray Efford <EffordM@landcare.cri.nz> writes:
>I'm delighted to have Martin Maechler & Guy Nason's kde2d
>function for estimating a 2-D density surface. I would like to
>go one step further and plot the minimum-area density
>contour that includes a given fraction of the density (50%,
>95%). Can anyone point me at a tidy way of finding this
>contour level?
>Murray Efford
>Landcare Research
>Dunedin, New Zealand
What you want is a highest density region. I have written some functions to
do this. They are available on the S archive of statlib under hdr.
Rob Hyndman
Monash University
Melbourne, Australia.