Please read the Posting Guide mentioned at the bottom of this out any other
email on this list. You have repeatedly abused this list this week.
- posting in HTML
- cross-posting to multiple lists
- duplicate posts
- off-topic subjects
You have not been getting much response due to this behavior,
I'd like to know how can I generate a data set for space-time clustered
inhomogeneous Poisson processin a 3D space without having any previous data in
R?
Actually I need to generate points in a rectangle cube, and these points are
not uniformly distributed in space (they show clusters).
Thanks,
Hi Petr,
Thank you very much . I will let you know my progress!
Do you think that sampling from the traingular distribution will also be
good enough? Will it provides similar results?
Val
On Wed, Feb 1, 2012 at 12:48 PM, Petr Savicky wrote:
> On Wed, Feb 01, 2012 at 11:01:21AM -0500, Val
On Wed, Feb 01, 2012 at 11:01:21AM -0500, Val wrote:
> Hi Petr,
>
> Thank you very much. It looks we are almost there.
>
>
> #an example, use a function approximating your graphs
> * f <- function(x) { 0.7 - 1.25*((x - 1)^2 - 0.4)^2 }
> f <- function(x) { 0.2 - 1.5*((x - 1)^2 - 0.1)^2 }
>
>
Hi Petr,
Thank you very much. It looks we are almost there.
#an example, use a function approximating your graphs
* f <- function(x) { 0.7 - 1.25*((x - 1)^2 - 0.4)^2 }
f <- function(x) { 0.2 - 1.5*((x - 1)^2 - 0.1)^2 }
#plot function f(x)
# x <- seq(0, 2, length=51)
x <- seq(0.01, 1.75, len
On Tue, Jan 31, 2012 at 01:59:13PM -0500, Val wrote:
> Hi petr,
>
> >Can the required density be understood as a piecewise
> >linear function going through 4 or 5 given points?
>
> That is my problem. The function should be nonlinear. However, we can break
> it down to the first 3 or 4 points cou
On Tue, Jan 31, 2012 at 01:59:13PM -0500, Val wrote:
> Hi petr,
>
> >Can the required density be understood as a piecewise
> >linear function going through 4 or 5 given points?
>
> That is my problem. The function should be nonlinear. However, we can break
> it down to the first 3 or 4 points cou
Hi Petr,
Thank you very much for the help,
>Consider also to specify directly the inverse distribution
>function using an increasing piecewise polynomial. Generating
>numbers from the distribution is then immediate and computing
>the graph of the density may be obtained using the formula
>for the
On Tue, Jan 31, 2012 at 01:59:13PM -0500, Val wrote:
> Hi petr,
>
> >Can the required density be understood as a piecewise
> >linear function going through 4 or 5 given points?
>
> That is my problem. The function should be nonlinear. However, we can break
> it down to the first 3 or 4 points cou
Hi petr,
>Can the required density be understood as a piecewise
>linear function going through 4 or 5 given points?
That is my problem. The function should be nonlinear. However, we can break
it down to the first 3 or 4 points could be linear and then nonlinear
function. On the later points can w
On Tue, Jan 31, 2012 at 12:40:35PM -0500, Val wrote:
[...]
> What I want is,
>
> 1- let the plot star from 0.2 in Y-axis rather than the minimum value, Then
> goes up to 0.23 then stay flat. A slow drop when it reaches to 0.25 on
> X-axis. Finally, when it reaches at the coordinate of (0.21,0.3)
Petr,
Thank you very much for help.
Graph A,
>Are the distributions restricted to the shown intervals?
Not necessarily.
Based on your suggested R-code,
x <- seq(0, 3, length=1001)
y1 <- dnorm(x, mean=0.5, sd=1)
y2 <- dnorm(x, mean=2.5, sd=1)
plot(x, (y1+1.05*y2)/2.05, type="l")
The follo
On Tue, Jan 31, 2012 at 10:03:39AM -0500, Val wrote:
> Hi All,
>
> I want generate data using R that follows the shape of graphs (A and B) in
> the attached file. Can anybody suggest me what function fits for each
> graph?
Hi.
The graphs leave open several questions. Are the distributions
restr
Hi Val
Look at the help file for
?curve
To get the plot.
You also need to decide what relevant function will fit the graphs you need.
Without knowing what your purpose is, I can not help you on that.
Contact
Details:---
Conta
Hi All,
I want generate data using R that follows the shape of graphs (A and B) in
the attached file. Can anybody suggest me what function fits for each
graph?
Your help is highly appreciated in advance
Val
graphs.pdf
Description: Adobe PDF document
Type help.start() in your terminal and read the provided introductory
materials.
Michael
On Nov 23, 2011, at 1:51 PM, Assieh Rashidi wrote:
>
>
> Hi everyone,
> I want to generate data by using mean, min, max. Is it�possible that i can
> write R code?
> How�can i do it?
> thanks,
> R.N
>
Hi everyone,
I want to generate data by using mean, min, max. Is it possible that i can
write R code?
How can i do it?
thanks,
R.N
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/
Hi Jeremy,
See the mvrnorm function in the MASS package.
-Ish
On Tue, Feb 8, 2011 at 4:10 AM, Jeremy Miles wrote:
> Hi All,
>
> I was wondering if anyone knew of a function which would generate data
> from a pre-specified correlation matrix (as in the Stata command
> r2corr) or sampled from a po
Hi All,
I was wondering if anyone knew of a function which would generate data
from a pre-specified correlation matrix (as in the Stata command
r2corr) or sampled from a population with a specific
covariance/correlation. (I thought I'd check before I wrote something
inelegant and slow.)
Jeremy
19 matches
Mail list logo