Re: [R] How can I do these simulations with R code

2011-08-22 Thread Rolf Turner
Do your own homework!!! On 23/08/11 13:49, Mauro Sznelwar wrote: 1) The Pareto P(alfa) distribution is defined by its density f(x|alfa) =alfa*X^(-alfa-1) over (1 to infinity). Show that it can be generated as the -1/alfa power of a uniforme variate. Plot the histogram and the density. 2) The

Re: [R] How can I do these simulations with R code

2011-08-22 Thread Joshua Wiley
Hi Mauro, This list is not meant to help with homework problems or contrived exercises. Please see your instructor or find a more appropriate forum. Cheers, Josh On Mon, Aug 22, 2011 at 6:49 PM, Mauro Sznelwar wrote: > 1) The Pareto P(alfa) distribution is defined by its density f(x|alfa) >

[R] How can I do these simulations with R code

2011-08-22 Thread Mauro Sznelwar
1) The Pareto P(alfa) distribution is defined by its density f(x|alfa) =alfa*X^(-alfa-1) over (1 to infinity). Show that it can be generated as the -1/alfa power of a uniforme variate. Plot the histogram and the density. 2) The Poisson distribution P(lambda) is connected to the exponential distr