Displaying 2 results from an estimated 2 matches for "qlogspline".
Did you mean:
logspline
2007 May 31
1
R keeps crashing when executing 'rlogspline'
Dear List,
I have a simple model as follows:
x <- rnorm(500)
library(logspline)
fit <- logspline(x)
n <- 1000000
y <- replicate(n, sum(rlogspline(rpois(1,10), fit))) # last line
The problem I keep getting is R crashes when doing the last line. It
seems to be fine if n is small, but not if n is 1000000. The message
I keep getting is:
"R for Windows GUI front-end has
2006 Jun 07
4
Density Estimation
Dear R-list,
I have made a simple kernel density estimation by
x <- c(2,1,3,2,3,0,4,5,10,11,12,11,10)
kde <- density(x,n=100)
Now I would like to know the estimated probability that a
new observation falls into the interval 0<x<3.
How can I integrate over the corresponding interval?
In several R-packages for kernel density estimation I did
not found a corresponding function. I