Skip to content

Commit

Permalink
version 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown author authored and gaborcsardi committed Jun 6, 2012
0 parents commit 1f237f7
Show file tree
Hide file tree
Showing 35 changed files with 10,862 additions and 0 deletions.
38 changes: 38 additions & 0 deletions DESCRIPTION
@@ -0,0 +1,38 @@
Package: rriskDistributions
Type: Package
Title: Collection of functions for fitting distributions (related to
the 'rrisk' project)
Author: Natalia Belgorodski (STAT-UP Statistical Consulting, Germany),
Matthias Greiner (Federal Institute for Risk Assessment,
Germany), Kristin Tolksdorf (Federal Institute for Risk
Assessment, Germany), Katharina Schueller (STAT-UP Statistical
Consulting, Germany)
Maintainer: Federal Institute for Risk Assessment, Matthias Greiner
<matthias.greiner@bfr.bund.de>
Description: Collection of functions for fitting distributions to given
data or by known quantiles. Two main functions fit.perc() and
fit.cont() provide users a GUI that allows to choose a most
appropriate distribution without any knowledge of the R syntax.
License: GPL (>= 3)
LazyLoad: yes
URL: http://www.bfr.bund.de/cd/52158
Depends: R(>= 2.11.0), mc2d, eha, msm, tcltk, tkrplot
SystemRequirements: Tcl/Tk (>= 8.5), Tktable (>= 2.9)
Authors@R: c(person(given="Natalia",
family="Belgorodski",email="belgorodski@stat-up.de",role=c("aut"),comment="STAT-UP
Statistical Consulting"), person(given="Matthias",
family="Greiner",email="matthias.greiner@bfr.bund.de",role=c("aut",
"cre"),comment="Federal Institute for Risk Assessment,
Germany"), person(given="Kristin",
family="Tolksdorf",email="Kristin.tolksdorf@bfr.bund.de",role=c("aut"),comment="Federal
Institute for Risk Assessment, Germany"),
person(given="Katharina",
family="Schueller",email="schueller@stat-up.de",role=c("aut"),comment="STAT-UP
Statistical Consulting"))
Version: 1.7
Date: 2012-06-06
Collate: 'rriskDistributions-package.R'
'rriskDistributions_functions_v1.7.R'
Packaged: 2012-06-06 12:17:44 UTC; dzhunna
Repository: CRAN
Date/Publication: 2012-06-06 17:55:16
34 changes: 34 additions & 0 deletions MD5
@@ -0,0 +1,34 @@
70b22f410421872429741d8e8c2e50fd *DESCRIPTION
05c451f44bf95a81b097e1dda765828d *NAMESPACE
9e5f2e78e4663307e49c0a2996aba7ef *R/rriskDistributions-package.R
20a2dbfb6ea2539d0aeb90c53179a150 *R/rriskDistributions_functions_v1.7.R
364624f7c41f2b38d53563c235b1f526 *man/fit.cont.Rd
d7bb3be1423d316d024ecbed56237ce9 *man/fit.perc.Rd
ce503bb237883409c62dbef5257860ca *man/get.beta.par.Rd
b3104dce8115fccc8cfeaf19b6e23b57 *man/get.cauchy.par.Rd
ffd3521744084e3566a346dab6bbeba5 *man/get.chisq.par.Rd
2aa3f23857dcb74fb48074f53bdb1795 *man/get.chisqnc.par.Rd
e5f8a9c127576fcccb995f940ae51b3c *man/get.exp.par.Rd
4cf6f943b0fc7f5a932b26f808325e44 *man/get.f.par.Rd
4818d502b35e0396a4296e21d3c9f34e *man/get.gamma.par.Rd
0a0441008aafac5155a7f452e20e4fc2 *man/get.gompertz.par.Rd
407c1407b3b8c589e666388bbca1f12f *man/get.hyper.par.Rd
ff774bf7a708b89a1a466675cb6c8b27 *man/get.lnorm.par.Rd
c9df1e1ea8b3ad47d8f9f9394e10d5e9 *man/get.logis.par.Rd
c0daf7d43eea73c49222560195a63029 *man/get.nbinom.par.Rd
f0a4e8836538756ed7c6c3deec628089 *man/get.norm.par.Rd
289b74667056ff522a0082b0fbb94046 *man/get.norm.sd.Rd
28923b8d31f74a5de303b9fd92d8f9b3 *man/get.pert.par.Rd
81591ecbcafa115c396f5dac3eca6d87 *man/get.pois.par.Rd
df9953f122a24004ec80c1fa7fe9e463 *man/get.t.par.Rd
02c8e7a3fd423bf1783c57b3a0641a33 *man/get.tnorm.par.Rd
e7ff7c29cae9d25d7a69b4b2df36034c *man/get.triang.par.Rd
f9f19f329fa698a24121180f75964f87 *man/get.unif.par.Rd
ae91c6cae652aa40d796cc44a9145bf1 *man/get.weibull.par.Rd
c3b6acc682938d3ec533ed9359a09796 *man/plotDiagnostics.perc.Rd
74374296b61711cd7fcd571f512a7ad8 *man/rriskDistributions-package.Rd
0c90d5c231bb880a0cdd30a2c5a1ecff *man/rriskFitdist.cont.Rd
fdc799ba5d0aa864688f4b7663727c25 *man/rriskFitdist.perc.Rd
d11228401b2e6c0484272318ac1171f1 *man/rriskMLEdist.Rd
07c508253433de57e1a93e83f8be2a74 *man/rriskMMEdist.Rd
57fb29077ac13bbe6a57acac3bea312a *man/useFitdist.Rd
29 changes: 29 additions & 0 deletions NAMESPACE
@@ -0,0 +1,29 @@
export(fit.cont)
export(fit.perc)
export(get.beta.par)
export(get.cauchy.par)
export(get.chisq.par)
export(get.chisqnc.par)
export(get.exp.par)
export(get.f.par)
export(get.gamma.par)
export(get.gompertz.par)
export(get.hyper.par)
export(get.lnorm.par)
export(get.logis.par)
export(get.nbinom.par)
export(get.norm.par)
export(get.norm.sd)
export(get.pert.par)
export(get.pois.par)
export(get.t.par)
export(get.tnorm.par)
export(get.triang.par)
export(get.unif.par)
export(get.weibull.par)
export(plotDiagnostics.perc)
export(rriskFitdist.cont)
export(rriskFitdist.perc)
export(rriskMLEdist)
export(rriskMMEdist)
export(useFitdist)
59 changes: 59 additions & 0 deletions R/rriskDistributions-package.R
@@ -0,0 +1,59 @@



###############################################################################
################################################################################
#' This packages provides a collection of functions for estimation parameters of
#' continuous or discrete distributions (related to the \code{rrisk} project)
#' to given data or to known quantiles.
#'
#' This package is a part of the \code{rrisk} project and contains functions for
#' fitting distributions to given data or by known quantiles. This package does
#' not depend on the whole \code{rrisk} project and can be used separately. The
#' \code{rrisk} project can be downloaded from \url{http://www.bfr.bund.de/cd/52158}.
#' \cr \cr
#' The main functions \code{fit.perc} and \code{fit.cont} call a GUI that allows users
#' to choose an appropriate distribution family to given data or to known quantiles
#' without any knowledge of the \acronym{R} syntax.
#'
#' @name rriskDistributions-package
#' @aliases rriskDistributions
#' @docType package
#' @concept Beta, Normal, Lognormal, Cauhy, Chi-Quadrat, Logistic, Student's t,
#' Exponential, F, Gamma, Weibull, rrisk, stat-up
#' @title Fitting distributions to given data or known quantiles
#' @note Fitting by given quantiles: a typical application is the definition of a distribution based on expert
#' opinion on some quantiles (e.g., the 2.5th, median and 97.5th) of the trial
#' to be modelled. \code{rrisk} has a functionality, to fit all continuous or
#' discrete distributions simultaneously without urging the user to specify the
#' distribution family in advance.
# @references Gemeinsames Paper...
#' @keywords package
#' @author Natalia Belgorodski \email{belgorodski@@stat-up.de} (\acronym{STAT-UP} Statistical Consulting), \cr
#' Matthias Greiner \email{matthias.greiner@@bfr.bund.de} (Federal Institute for Risk Assessment, Germany), \cr
#' Kristin Tolksdorf \email{kristin.tolksdorf@@bfr.bund.de} (Federal Institute for Risk Assessment, Germany), \cr
#' Katharina Schueller \email{schueller@@stat-up.de} (\acronym{STAT-UP} Statistical Consulting)
#' @examples
#' \donttest{
#' q<-qweibull(p=c(0.025,0.5,0.975),shape=2,scale=3)
#' get.weibull.par(q=q)
#' q<-qweibull(p=c(0.025,0.5,0.975),shape=0.01,scale=1)
#' get.weibull.par(q=q)
#'
#' res.fitcont<-fit.cont(data2fit=rnorm(100))
#' res.fitcont
#'
#' res.fitperc<-fit.perc()
#' res.fitperc
#'
#' p=c(0.025,0.50,0.975)
#' q=c(9.68,29.2,50.98)
#' fit.results<-rriskFitdist.perc(p,q,show.output=FALSE)
#' plotDiagnostics.perc(fit.results)
#'
#' p=c(0.25,0.50,0.75)
#' q=c(9.68,29.2,50.98)
#' fit.results<-rriskFitdist.perc(p,q,show.output=FALSE)
#' plotDiagnostics.perc(fit.results)
#' plotDiagnostics.perc(fit.results,tolPlot=2)}
NULL

0 comments on commit 1f237f7

Please sign in to comment.