On Sun, Jan 09, 2005 at 12:21:47AM -0800, Ni Xiao wrote: > Hi, guys, > I need to simulate Pareto distribution. But I found 'rpareto' didn't exist > in R. And it seems that Pareto distribution don't have mathematical > relationships with other distributions. What can I do?
Well, it has a relation to the uniform distribution thru F(X) = U ~ uniform(0, 1), where X is Pareto with cdf F. Solve for X and you have just reinvented the "inverse method" of generating random numbers from a cdf F. Remigijus made that explicit for you. -- G�ran Brostr�m tel: +46 90 786 5223 Department of Statistics fax: +46 90 786 6614 Ume� University http://www.stat.umu.se/egna/gb/ SE-90187 Ume�, Sweden e-mail: [EMAIL PROTECTED] ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
