I am using the package hdrcde to get the highest density region. I have the data from an unknown distribution. And I used the subroutine hdr from the package to get the highest density region. But I always got a error message. I do not know why. Who can help?Thanks! The codes look like this: j is the data set,> hdr(j)Error in bw.SJ(x) : no solution in the specified range of bandwidths _________________________________________________________________ [[elided Hotmail spam]] [[alternative HTML version deleted]]
David Winsemius
2009-Apr-16 18:14 UTC
[R] Asking help for finding the highest density region
On Apr 16, 2009, at 1:39 PM, CheXiaohong wrote:> > I am using the package hdrcde to get the highest density region. I > have the data from an unknown distribution. And I used the > subroutine hdr from the package to get the highest density region. > But I always got a error message. I do not know why. Who can help? > Thanks! > > The codes look like this: > > j is the data set, > >> hdr(j) > Error in bw.SJ(x) : no solution in the specified range of bandwidths > > _________________________________________________________________ > [[elided Hotmail spam]] > > [[alternative HTML version deleted]] >So what is in j? David Winsemius, MD Heritage Laboratories West Hartford, CT
Reasonably Related Threads
- Installing lumi and hdrcde
- comparative density estimates
- how to add 95% confidential interval as vertical lines to x axe in density plot
- Selectively shading areas under two density curves
- help needed: taking a function out of a package and it can not find some funtions