search for: bkde

Displaying 16 results from an estimated 16 matches for "bkde".

Did you mean: bede
2017 Apr 27
2
R-3.4.0 and recommended packages
...efore the release of R 3.4.0! | | or rather before 14 April 2017, which is when R from revision r72510 was | uploaded to sid as pre-release candidate. Another example with KernSmooth: > library(KernSmooth) KernSmooth 2.23 loaded Copyright M. P. Wand 1997-2009 > > example(bkde) bkde> data(geyser, package="MASS") bkde> x <- geyser$duration bkde> est <- bkde(x, bandwidth=0.25) Error in linbin(x, gpoints, truncate) : object 'F_linbin' not found > Maybe this part of NEWS is what matters: * Packages which r...
2003 May 28
1
Kernel density
Hi, I want to fit a kernel density estimator by bkde of library KernSmooth. I need only the density value at the point 0. I do not understand the following behaviour: > q <- rnorm(100) > bkq <- bkde(q, bandwidth=0.11, gridsize=1, range.x=c(0,0)) Error in 0:L : NA/NaN argument > bkq <- bkde(q, bandwidth=0.11, gridsize=1, range.x=c...
2008 Jan 03
1
KernSmooth: bkde and dpik bandwidth questions
...ate questions relating to the KernSmooth package. I am using the dpik function from the KernSmooth package and receive the error Warning message: In kappam * Gcounts : longer object length is not a multiple of shorter object length I saw an earlier post , but the issue was using the bkde fxn and the person appeared to be using too small of a bandwidth. However, dpik returns a bandwidth and therefore I am not sure why I am getting this error. If I use dpik and specify scalest to be "stdev" then the fxn works. Secondly, I am using the bkde function and when I put in...
2010 Jan 18
1
density() vs. KernSmooth::bkde
Any advice when to use denstity() and when the KernSmooth package bkde() to smooth a histogram? No specific problem to use either one, but I'm curious why there are two so similar implementations. Thanks! mario -- Ing. Mario Valle Data Analysis and Visualization Group | http://www.cscs.ch/~mvalle Swiss National Supercomputing Centre (CSCS)...
1999 Nov 18
0
bkde() breaks
Hello, I've been using the KernSmooth package recently and think I have found a problem with it: after loading the library I can issue bkde(c(27,26,27), bandwidth=dpik(c(27,26,27)), range.x=c(4.4, 113.6), gridsize=128, truncate=T) and bkde returns an error. If I change the gridsize to 129 the function works perfectly. I have tried this on my Linux box, and on a nearby Solaris machine, both give an error (but not quite the same one)....
2017 Apr 27
0
R-3.4.0 and recommended packages
...rather before 14 April 2017, which is when R from revision r72510 was > | uploaded to sid as pre-release candidate. > > Another example with KernSmooth: > > library(KernSmooth) > > KernSmooth 2.23 loaded > Copyright M. P. Wand 1997-2009 > > > example(bkde) > > bkde> data(geyser, package="MASS") > > bkde> x <- geyser$duration > > bkde> est <- bkde(x, bandwidth=0.25) > Error in linbin(x, gpoints, truncate) : object 'F_linbin' not found > > > Maybe this part of NEWS is what...
2005 Apr 18
4
longer object length, is not a multiple of shorter object length in: kappa * gcounts
Hi, I was using a density estimation function as follows: > est <- KernSmooth::bkde(x3, bandwidth=10) When setting bandwidth less than 5, I got the error "longer object length, is not a multiple of shorter object length in: kappa * gcounts ". I wonder if there is anybody who can explain the error for me? Thanks! Hui
2017 Apr 27
2
R-3.4.0 and recommended packages
Am Dienstag, 25. April 2017, 11:21:31 schrieb Dirk Eddelbuettel: > On 25 April 2017 at 16:11, Johannes Ranke wrote: > | This looks similar to what I got this morning when I tested my > | (unreleased) > | backport of R 3.4.0 to Debian jessie. My test was > | > | library(MASS) > | example(rlm) > | > | and there was an object that was not found. I am on a train on the way
2009 Feb 24
2
Problem about plot scale
There are 4 sets of array, each have 2 dimension data:x,y. And these data comes from bkde. I tried to plot them in one figure, but details of some lines, like peak and where it locate, have diminished since one set of array have fairly high y value.And another array have lots of y value near zero, like 1e-20, 1e-10, like a long tail, while the highest y value of these arrays is 1e-4. Do...
2017 Apr 27
3
R-3.4.0 and recommended packages
...April 2017, which is when R from revision r72510 was | > | uploaded to sid as pre-release candidate. | > | > Another example with KernSmooth: | > > library(KernSmooth) | > | > KernSmooth 2.23 loaded | > Copyright M. P. Wand 1997-2009 | > | > > example(bkde) | > | > bkde> data(geyser, package="MASS") | > | > bkde> x <- geyser$duration | > | > bkde> est <- bkde(x, bandwidth=0.25) | > Error in linbin(x, gpoints, truncate) : object 'F_linbin' not found | > | > | > Maybe this...
2008 Sep 29
2
density estimate
Hi, I have a vector or random variables and I'm estimating the density using "bkde" function in the KernSmooth package. The out put contains two vectors (x and y), and the R documentation calls y as the density estimates, but my y-values are not exact density etstimates (since these are numbers larger than 1)! what is y here? Is it possible to get the true estimated density...
2008 Sep 11
3
periodicity validation
There is a series of data contains time in fixed step and energy varying with time, how to test its periodicity?In R, it seems there is no direct tools since I have search the R manual with periodic and I have not found any related topic. Thanks a lot
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]]
2012 Jul 11
2
Computing inverse cdf (quantile function) from a KDE
Hello, I wanted to know if there is a simple way of getting the inverse cdf for a KDE estimate of a density (using the ks or KernSmooth packages) in R ? The method I'm using now is to perform a numerical integration of the pdf to get the cdf and then doing a search for the desired probablity value, which is highly inefficient and very slow. Thanks, -fj [[alternative HTML version deleted]]
2008 Sep 22
1
R-help Digest, Vol 67, Issue 23
...you create a timeseries with ts() ) 2^(value of the scale). I hope this helps Stephen 2008/9/21 yuankun shi <shiyuankun.debian@gmail.com>: > Thanks, I have succeeded to do this, first wavCWTPeaks to get every peaks' > coordinate, then calculated their horizontal distance, finally,bkde output > the distance's distribution, that's what I want. > On the contrary, picture of wavCWT seems hard to understand, I am not sure > what the y axis and the color mean. Could you do me a favor? > > 2008/9/19 stephen sefick <ssefick@gmail.com> >> >> I wou...
2008 Oct 15
0
R-help Digest, Vol 67, Issue 31
...nction is not a probability function! If you think your data x is discrete than you can assign the correct probability mass for each data point by prop.table(table(x)) hth. Lavan schrieb: > Hi, > > I have a vector or random variables and I'm estimating the density using > "bkde" function in the KernSmooth package. The out put contains two vectors > (x and y), and the R documentation calls y as the density estimates, but my > y-values are not exact density etstimates (since these are numbers larger > than 1)! what is y here? Is it possible to get the true est...