I have a density object dd created like this:
x1 <- rnorm(1000)
x2 <- rnorm(1000, 3, 2)
x <- rbind(x1, x2)
dd <- density(x)
plot(dd)
Which produces this very non-Gaussian distribution:
I would ultimately like to get random deviates from this distribution similar to how rnorm gets deviates from a normal distribution.
The way I ...
Hy,
I'm searching for an API/library offering an implementation of the financial stochastic technical analysis.
Does someone know a ready-do-use solution?
Thanks,
...
*edited 6/17/10
I'm trying to understand how to improve my code (make it more pythonic). Also, I'm interested in writing more intuitive 'conditionals' that would describe scenarios that are commonplace in biochemistry. The conditional criteria in the below program I've explained in Answer #2, but I am not satisfied with the code- it wor...