Perform all methods that are available for a polynomial PDMP:
Simulate the PDMP multiple times
Plot the simulated data with all available plot methods
Calculate statistics such as mean, sd, median, etc
Perform moment approximation with all closure methods that are available and plot the result
Test if the distribution is unimodal and plot the result
All plots and calculated data will be saved in different files. It is possible to only perform a part of the methods, i.e. pass already simulated data and only perform the plot methods or simulate without calculating statistics or approximated moments.
1 2 3 4 5 6 | analyseModel(polyModel, model = polyModel, seeds = NULL,
dir = file.path(getwd(), "simulations"),
filenameprefix = descr(polyModel), momentorder = c(4, 10),
plotorder = 1:4, plot = TRUE, modality = TRUE, sim = TRUE,
statistics = TRUE, momApp = TRUE, lower = NULL, upper = NULL,
funs = c("min", "max", "mean", "median", "sd"), title = descr(model))
|
polyModel |
an object of class |
model |
the corresponding object of class |
seeds |
number of seeds to be simulated |
dir |
string giving the directory where all files will be stored. |
filenameprefix |
string. The name of each file saved by |
momentorder |
numerical vector. Each entry specifies the maximal order
of moments that shall be calculated with |
plotorder |
vector giving all the orders of moments that shall be plotted. Defaults to 1:4. |
plot |
boolean variable. Should |
modality |
boolean variable. Should |
sim |
boolean variable. Should |
statistics |
boolean variable. Should |
momApp |
boolean variable. Should |
lower |
numeric vector or matrix or data.frame specifying the lower
bounds of the compact distribution that determines the law of the PDMP. #'
It is an argument to function |
upper |
numeric vector or matrix or data.frame specifying the upper
bounds of the compact distribution that determines the law of the PDMP. It
is an argument to function |
funs |
character vector. Each entry should be the name of a function
that can be applied over simulated data. It will be used by the functions
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.