Description Usage Arguments Details Author(s) Examples
Starts a GUI that allows to build generators for non-uniform random variates interactively for quite arbitrary distributions.
1 | unuran.gui(envir=parent.frame())
|
envir |
the |
The GUI allows to build and (to some extend) analyse generators or quite arbitrary distributions. This is done in three stages:
Select type of distribution (continuous or discrete) and genertion method (automatic, inversion, rejection, or select a particular algorithm). In addition one can pick a distribution from a list of built-in ones or decide to define a distribution from scratch.
Provide parameters for built-in distributions or required information (like the density) for user-defined distributions. In addition the domain of the distribution can be truncated. Furthermore, default parameters for the selected methods may be modified.
Show R code that creates generator object and properties of this ‘Runuran’ object. In addition it is possible to perform some tests (like goodness-of-fit tests) on the generator. Notice, however, that these tests ar not available for all types of generators. E.g., approximation errors are only shown for methods that are based on numerical inversion.
Josef Leydold unuran@statmath.wu.ac.at.
1 2 | ## start GUI to Runuran random number generator
unuran.gui()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.