Published in: R
xm = minimum, k=pareto index
rpareto = function(n,xm,k) { (1-runif(n))^(-1/k) * xm }
You need to login to post a comment.
An Introduction to R
This tutorial manual provides a comprehensive introduction to R, a software package for statistical computing and graphics. R supports a wide range of statistical techniques, and is easily extensible via user-defined functions written in its own language, or using dynamically loaded modules written in C, C++ or Fortran. One of R's strengths is the ease with which well-designed publication-quality plots can be produced.
xenonite on 07/16/08
Published in: R
xm = minimum, k=pareto index
rpareto = function(n,xm,k) { (1-runif(n))^(-1/k) * xm }
You need to login to post a comment.