[Picture: logo] R-Package "distrSim" R-Logo


Version: 2.8.5
Release Date: 2024-08-29
Authors: Peter Ruckdeschel, Matthias Kohl, Thomas Stabla, Florian Camphausen
Required R-Version:
Dependencies: requires package "setRNG" version >= 2006.2-1 by Paul Gilbert available from CRAN;
as well as package "distr" version >= 1.9 by the authors of this package and "startupmsg" by Peter Ruckdeschel
also available from CRAN; it also suggests package "distrEx" version >= 0.4-4 by the authors of this package;

What is "distrSim" meant for?

The aim of package "distrSim" is to provide a conceptual treatment of simulations of random variables (r.v.'s) by means of distribution classes from our package "distr" .
These are grouped together with ``real world'' data as subclasses of the mother class "Dataclass" which both may serve as input data for statistical procedures.
This mother class has slots filename (where the data is to be stored), Data (the data),  samplesize (the size of the sample), obsDim (the observation dimension), and runs
(number of repetitions of the experiment).
For simulations in the proper sense there is class "Simulation" is introduced with additional slots seed (for the random number generator to make the simulations reproducible;
thanks to Paul Gilbert's setRNG), distribution (the distribution from which to sample, of class Distribution from package "distr")
For studies in Robust Statistics, we also derive a class "Contsimulation" is introduced with additional slots Data.id (the data from the ideal situation),
Data.c
(the data from the contaminating situation), ind (a indicator telling the ideal from the contaminated observations), rate (the probability for an outlier to occur),
distribution.id and distribution.c (the ideal and contaminating distributions from which to sample; of class Distribution from package "distr")

For these classes special plot, print, show and summary methods are available; all slots are accessed/modified by accessor/replacement functions.
As generally, you are not interested in the figures of the simulations, these are not saved by default, -- only the seed to reproduce them is retained.
To (re)fill the data slot(s) you use the method simulate.



Manual


for version prior to 1.8, a somewhat more detailed manual to this package in pdf-format is available here;
from version 1.8 on, we have converted this manual into a common vignette to packages distr, distrEx, distrSim, distrTEst, distrMod, distrTeach,
which is available in the mere documentation package distrDoc. To use it you may type
        require("distrDoc"); V<-vignette("distr"); print(V); edit(V) 


License

This software is distributed under the terms of the GNU GENERAL
PUBLIC LICENSE LGPL v3, confer http://www.gnu.org/licenses/lgpl-3.0.html


Download

Windows

Linux

Sources





Demos

also see demo("distr") and demo("distrSim") --- after installation of "distr"/"distrSim"




Version history:

Changes from distr 1.5 to distrSim 1.6


Changes from 1.6 to 1.7


Changes from 1.7 to 1.8


Changes from 1.8 to 1.9

Changes from 1.9 to 2.0


Changes from 2.0 to 2.1

Changes from 2.1 onwards

  • see NEWS file

  • Our plans for the next version:


    This page is maintained by Peter Ruckdeschel and last updated on 2024-08-29.