[Distr-commits] r1314 - branches/distr-2.8/pkg/distrMod/tests/Examples
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Mar 11 16:27:50 CET 2019
Author: ruckdeschel
Date: 2019-03-11 16:27:49 +0100 (Mon, 11 Mar 2019)
New Revision: 1314
Modified:
branches/distr-2.8/pkg/distrMod/tests/Examples/distrMod-Ex.Rout.save
Log:
[distrMod] branch 2.8 copied distrMod-Ex.Rout.save into test dir
Modified: branches/distr-2.8/pkg/distrMod/tests/Examples/distrMod-Ex.Rout.save
===================================================================
--- branches/distr-2.8/pkg/distrMod/tests/Examples/distrMod-Ex.Rout.save 2019-03-11 11:36:47 UTC (rev 1313)
+++ branches/distr-2.8/pkg/distrMod/tests/Examples/distrMod-Ex.Rout.save 2019-03-11 15:27:49 UTC (rev 1314)
@@ -1,3663 +1,3444 @@
-
-R version 3.5.3 RC (2019-03-04 r76204) -- "Great Truth"
-Copyright (C) 2019 The R Foundation for Statistical Computing
-Platform: x86_64-pc-linux-gnu (64-bit)
-
-R is free software and comes with ABSOLUTELY NO WARRANTY.
-You are welcome to redistribute it under certain conditions.
-Type 'license()' or 'licence()' for distribution details.
-
- Natural language support but running in an English locale
-
-R is a collaborative project with many contributors.
-Type 'contributors()' for more information and
-'citation()' on how to cite R or R packages in publications.
-
-Type 'demo()' for some demos, 'help()' for on-line help, or
-'help.start()' for an HTML browser interface to help.
-Type 'q()' to quit R.
-
-> pkgname <- "distrMod"
-> source(file.path(R.home("share"), "R", "examples-header.R"))
-> options(warn = 1)
-> base::assign(".ExTimings", "distrMod-Ex.timings", pos = 'CheckExEnv')
-> base::cat("name\tuser\tsystem\telapsed\n", file=base::get(".ExTimings", pos = 'CheckExEnv'))
-> base::assign(".format_ptime",
-+ function(x) {
-+ if(!is.na(x[4L])) x[1L] <- x[1L] + x[4L]
-+ if(!is.na(x[5L])) x[2L] <- x[2L] + x[5L]
-+ options(OutDec = '.')
-+ format(x[1L:3L], digits = 7L)
-+ },
-+ pos = 'CheckExEnv')
->
-> ### * </HEADER>
-> library('distrMod')
-Loading required package: distr
-Loading required package: startupmsg
-:startupmsg> Utilities for Start-Up Messages (version 0.9.6)
-:startupmsg>
-:startupmsg> For more information see ?"startupmsg",
-:startupmsg> NEWS("startupmsg")
-
-Loading required package: sfsmisc
-:distr> Object Oriented Implementation of Distributions (version
-:distr> 2.8.0)
-:distr>
-:distr> Attention: Arithmetics on distribution objects are
-:distr> understood as operations on corresponding random variables
-:distr> (r.v.s); see distrARITH().
-:distr>
-:distr> Some functions from package 'stats' are intentionally masked
-:distr> ---see distrMASK().
-:distr>
-:distr> Note that global options are controlled by distroptions()
-:distr> ---c.f. ?"distroptions".
-:distr>
-:distr> For more information see ?"distr", NEWS("distr"), as well as
-:distr> http://distr.r-forge.r-project.org/
-:distr> Package "distrDoc" provides a vignette to this package as
-:distr> well as to several extension packages; try
-:distr> vignette("distr").
-
-
-Attaching package: ‘distr’
-
-The following objects are masked from ‘package:stats’:
-
- df, qqplot, sd
-
-Loading required package: distrEx
-:distrEx> Extensions of Package 'distr' (version 2.8.0)
-:distrEx>
-:distrEx> Note: Packages "e1071", "moments", "fBasics" should be
-:distrEx> attached /before/ package "distrEx". See
-:distrEx> distrExMASK().Note: Extreme value distribution
-:distrEx> functionality has been moved to
-:distrEx>
-:distrEx> package "RobExtremes". See distrExMOVED().
-:distrEx>
-:distrEx> For more information see ?"distrEx", NEWS("distrEx"), as
-:distrEx> well as
-:distrEx> http://distr.r-forge.r-project.org/
-:distrEx> Package "distrDoc" provides a vignette to this package
-:distrEx> as well as to several related packages; try
-:distrEx> vignette("distr").
-
-
-Attaching package: ‘distrEx’
-
-The following objects are masked from ‘package:stats’:
-
- IQR, mad, median, var
-
-Loading required package: RandVar
-:RandVar> Implementation of Random Variables (version 1.1.0)
-:RandVar>
-:RandVar> For more information see ?"RandVar", NEWS("RandVar"), as
-:RandVar> well as
-:RandVar> http://robast.r-forge.r-project.org/
-:RandVar> This package also includes a vignette; try
-:RandVar> vignette("RandVar").
-
-Loading required package: MASS
-Loading required package: stats4
-:distrMod> Object Oriented Implementation of Probability Models
-:distrMod> (version 2.8.0)
-:distrMod>
-:distrMod> Some functions from pkg's 'base' and 'stats' are
-:distrMod> intentionally masked ---see distrModMASK().
-:distrMod>
-:distrMod> Note that global options are controlled by
-:distrMod> distrModoptions() ---c.f. ?"distrModoptions".
-:distrMod>
-:distrMod> For more information see ?"distrMod",
-:distrMod> NEWS("distrMod"), as well as
-:distrMod> http://distr.r-forge.r-project.org/
-:distrMod> There is a vignette to this package; try
-:distrMod> vignette("distrMod").
-:distrMod> Package "distrDoc" provides a vignette to the other
-:distrMod> distrXXX packages,
-:distrMod> as well as to several related packages; try
-:distrMod> vignette("distr").
-
-
-Attaching package: ‘distrMod’
-
-The following object is masked from ‘package:stats4’:
-
- confint
-
-The following object is masked from ‘package:stats’:
-
- confint
-
-The following object is masked from ‘package:base’:
-
- norm
-
->
-> base::assign(".oldSearch", base::search(), pos = 'CheckExEnv')
-> base::assign(".old_wd", base::getwd(), pos = 'CheckExEnv')
-> cleanEx()
-> nameEx("BetaFamily")
-> ### * BetaFamily
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: BetaFamily
-> ### Title: Generating function for Beta families
-> ### Aliases: BetaFamily
-> ### Keywords: models
->
-> ### ** Examples
->
-> (B1 <- BetaFamily())
-An object of class "BetaFamily"
-### name: Beta family
-
-### distribution: Distribution Object of Class: Beta
- shape1: 1
- shape2: 1
- ncp: 0
-
-### param: An object of class "ParamFamParameter"
-name: shape1 and shape2
-shape1: 1
-shape2: 1
-trafo:
- shape1 shape2
-shape1 1 0
-shape2 0 1
-
-### props:
-[1] "The Beta family is invariant in the following sense"
-[2] "if (x_i)~Beta(s1,s2) then (1-x_i)~Beta(s2,s1)"
-> FisherInfo(B1)
-An object of class "PosSemDefSymmMatrix"
- shape1 shape2
-shape1 1.0000000 -0.6449341
-shape2 -0.6449341 1.0000000
-> checkL2deriv(B1)
-precision of centering: 3.96327e-05 3.963591e-05
-precision of Fisher information:
- shape1 shape2
-shape1 -1.851068e-05 1.648326e-06
-shape2 1.648326e-06 -1.851068e-05
-precision of Fisher information - relativ error [%]:
- shape1 shape2
-shape1 -0.0018510679 -0.0002555806
-shape2 -0.0002555806 -0.0018510679
-condition of Fisher information:
-[1] 5.277691
-$maximum.deviation
-[1] 3.963591e-05
-
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("BetaFamily", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("BiasType-class")
-> ### * BiasType-class
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: BiasType-class
-> ### Title: Bias Type
-> ### Aliases: BiasType-class name,BiasType-method name<-,BiasType-method
-> ### Keywords: classes
->
-> ### ** Examples
->
-> aB <- positiveBias()
-> name(aB)
-[1] "positive Bias"
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("BiasType-class", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("BinomFamily")
-> ### * BinomFamily
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: BinomFamily
-> ### Title: Generating function for Binomial families
-> ### Aliases: BinomFamily
-> ### Keywords: models
->
-> ### ** Examples
->
-> (B1 <- BinomFamily(size = 25, prob = 0.25))
-An object of class "BinomFamily"
-### name: Binomial family
-
-### distribution: Distribution Object of Class: Binom
- size: 25
- prob: 0.25
-
-### param: An object of class "ParamFamParameter"
-name: probability of success
-prob: 0.25
-fixed part of param.:
- size: 25
-trafo:
- prob
-prob 1
-
-### props:
-[1] "The Binomial family is symmetric with respect to prob = 0.5;"
-[2] "i.e., d(Binom(size, prob))(k)=d(Binom(size,1-prob))(size-k)"
-> plot(B1)
-> FisherInfo(B1)
-An object of class "PosSemDefSymmMatrix"
- prob
-prob 133.3333
-> checkL2deriv(B1)
-precision of centering: -1.099042e-15
-precision of Fisher information:
- prob
-prob 2.842171e-14
-precision of Fisher information - relativ error [%]:
- prob
-prob 2.131628e-14
-condition of Fisher information:
-[1] 1
-$maximum.deviation
-[1] 0
-
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("BinomFamily", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("CauchyLocationFamily")
-> ### * CauchyLocationFamily
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: CauchyLocationFamily
-> ### Title: Generating function for Cauchy location families
-> ### Aliases: CauchyLocationFamily
-> ### Keywords: models
->
-> ### ** Examples
->
-> (C1 <- CauchyLocationFamily())
-An object of class "CauchyLocationFamily"
-### name: Cauchy location family
-
-### distribution: Distribution Object of Class: Cauchy
- location: 0
- scale: 1
-
-### param: An object of class "ParamFamParameter"
-name: loc
-loc: 0
-trafo:
- loc
-loc 1
-
-### props:
-[1] "The Cauchy location family is invariant under"
-[2] "the group of transformations 'g(x) = x + loc'"
-[3] "with location parameter 'loc'"
-> plot(C1)
-> FisherInfo(C1)
-An object of class "PosDefSymmMatrix"
- loc
-loc 0.5
-> ### need smaller integration range:
-> checkL2deriv(C1)
-precision of centering: 1.843144e-17
-precision of Fisher information:
- loc
-loc -1.060263e-13
-precision of Fisher information - relativ error [%]:
- loc
-loc -2.120526e-11
-condition of Fisher information:
-[1] 1
-$maximum.deviation
-[1] 0
-
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("CauchyLocationFamily", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("CauchyLocationScaleFamily")
-> ### * CauchyLocationScaleFamily
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: CauchyLocationScaleFamily
-> ### Title: Generating function for Cauchy location and scale families
-> ### Aliases: CauchyLocationScaleFamily
-> ### Keywords: models
->
-> ### ** Examples
->
-> (C1 <- CauchyLocationScaleFamily())
-An object of class "CauchyLocationScaleFamily"
-### name: Cauchy Location and scale family
-
-### distribution: Distribution Object of Class: Cauchy
- location: 0
- scale: 1
-
-### param: An object of class "ParamWithScaleFamParameter"
-name: location and scale
-loc: 0
-scale: 1
-trafo:
- loc scale
-loc 1 0
-scale 0 1
-
-### props:
-[1] "The Cauchy Location and scale family is invariant under"
-[2] "the group of transformations 'g(x) = scale*x + loc'"
-[3] "with location parameter 'loc' and scale parameter 'scale'"
-> plot(C1)
-> FisherInfo(C1)
-An object of class "PosDefSymmMatrix"
- loc scale
-loc 0.5 0.0
-scale 0.0 0.5
-> ### need smaller integration range:
-> distrExoptions("ElowerTruncQuantile"=1e-4,"EupperTruncQuantile"=1e-4)
-> checkL2deriv(C1)
-precision of centering: 2.537033e-17 -2e-04
-precision of Fisher information:
- loc scale
-loc -2.631884e-11 3.642919e-17
-scale 3.642919e-17 -2.000000e-04
-precision of Fisher information - relativ error [%]:
- loc scale
-loc -5.263767e-09 Inf
-scale Inf -0.03999999
-condition of Fisher information:
-[1] 1
-$maximum.deviation
-[1] 2e-04
-
-> distrExoptions("ElowerTruncQuantile"=1e-7,"EupperTruncQuantile"=1e-7)
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("CauchyLocationScaleFamily", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("Confint-class")
-> ### * Confint-class
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: Confint-class
-> ### Title: Confint-class
-> ### Aliases: Confint-class type,Confint-method call.estimate
-> ### call.estimate,Confint-method confint,Confint,missing-method
-> ### name.estimate name.estimate,Confint-method trafo.estimate
-> ### trafo.estimate,Confint-method samplesize.estimate
-> ### samplesize.estimate,Confint-method completecases.estimate
-> ### completecases.estimate,Confint-method nuisance.estimate
-> ### nuisance.estimate,Confint-method fixed.estimate
-> ### fixed.estimate,Confint-method show,Confint-method
-> ### print,Confint-method
-> ### Keywords: classes
->
-> ### ** Examples
->
-> ## some transformation
-> mtrafo <- function(x){
-+ nms0 <- c("scale","shape")
-+ nms <- c("shape","rate")
-+ fval0 <- c(x[2], 1/x[1])
-+ names(fval0) <- nms
-+ mat0 <- matrix( c(0, -1/x[1]^2, 1, 0), nrow = 2, ncol = 2,
-+ dimnames = list(nms,nms0))
-+ list(fval = fval0, mat = mat0)}
->
-> x <- rgamma(50, scale = 0.5, shape = 3)
->
-> ## parametric family of probability measures
-> G <- GammaFamily(scale = 1, shape = 2, trafo = mtrafo)
-> ## MLE
-> res <- MLEstimator(x = x, ParamFamily = G)
-> ci <- confint(res)
-> print(ci, digits = 4, show.details="maximal")
-A[n] asymptotic (CLT-based) confidence interval:
- 2.5 % 97.5 %
-shape 2.530 5.591
-rate 1.751 4.097
-Type of estimator: Maximum likelihood estimate
-samplesize: 50
-Call by which estimate was produced:
-MLEstimator(x = x, ParamFamily = G)
-Transformation of main parameter by which estimate was produced:
-function (x)
-{
- nms0 <- c("scale", "shape")
- nms <- c("shape", "rate")
- fval0 <- c(x[2], 1/x[1])
- names(fval0) <- nms
- mat0 <- matrix(c(0, -1/x[1]^2, 1, 0), nrow = 2, ncol = 2,
- dimnames = list(nms, nms0))
- list(fval = fval0, mat = mat0)
-}
-<bytecode: 0xd5b8870>
-Trafo / derivative matrix at which estimate was produced:
- scale shape
-shape 0.000 1
-rate -8.549 0
-> print(ci, digits = 4, show.details="medium")
-A[n] asymptotic (CLT-based) confidence interval:
- 2.5 % 97.5 %
-shape 2.530 5.591
-rate 1.751 4.097
-Type of estimator: Maximum likelihood estimate
-samplesize: 50
-Call by which estimate was produced:
-MLEstimator(x = x, ParamFamily = G)
-> print(ci, digits = 4, show.details="minimal")
-A[n] asymptotic (CLT-based) confidence interval:
- 2.5 % 97.5 %
-shape 2.530 5.591
-rate 1.751 4.097
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("Confint-class", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("Estimate-class")
-> ### * Estimate-class
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: Estimate-class
-> ### Title: Estimate-class.
-> ### Aliases: Estimate-class name,Estimate-method name<-,Estimate-method
-> ### estimate estimate,Estimate-method estimate.call
-> ### estimate.call,Estimate-method Infos Infos,Estimate-method samplesize
-> ### samplesize,Estimate-method completecases
-> ### completecases,Estimate-method asvar asvar,Estimate-method
-> ### fixed,Estimate-method asvar<- asvar<-,Estimate-method
-> ### nuisance,Estimate-method main,Estimate-method Infos<-
-> ### Infos<-,Estimate-method addInfo<- addInfo<-,Estimate-method
-> ### show,Estimate-method print,Estimate-method untransformed.estimate
-> ### untransformed.estimate,Estimate-method untransformed.asvar
-> ### untransformed.asvar,Estimate-method
-> ### Keywords: classes
->
-> ### ** Examples
->
-> x <- rnorm(100)
-> Estimator(x, estimator = mean, name = "mean")
-Evaluations of mean:
---------------------
-An object of class “Estimate”
-generated by call
- Estimator(x = x, estimator = mean, name = "mean")
-samplesize: 100
-estimate:
- mean1
-0.1088874
->
-> x1 <- x; x1[sample(1:100,10)] <- NA
-> myEst1 <- Estimator(x1, estimator = mean, name = "mean")
-> samplesize(myEst1)
-[1] 90
-> samplesize(myEst1, onlycomplete = FALSE)
-[1] 100
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("Estimate-class", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("Estimator")
-> ### * Estimator
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: Estimator
-> ### Title: Function to compute estimates
-> ### Aliases: Estimator
-> ### Keywords: univar
->
-> ### ** Examples
->
-> x <- rnorm(100)
-> Estimator(x, estimator = mean, name = "mean")
-Evaluations of mean:
---------------------
-An object of class “Estimate”
-generated by call
- Estimator(x = x, estimator = mean, name = "mean")
-samplesize: 100
-estimate:
- mean1
-0.1088874
->
-> X <- matrix(rnorm(1000), nrow = 10)
-> Estimator(X, estimator = rowMeans, name = "mean")
-Evaluations of mean:
---------------------
-An object of class “Estimate”
-generated by call
- Estimator(x = X, estimator = rowMeans, name = "mean")
-samplesize: 100
-estimate:
- rowMeans1 rowMeans2 rowMeans3 rowMeans4 rowMeans5 rowMeans6
--0.10612810 0.22309674 -0.01146361 -0.20224815 0.08660978 -0.13837167
- rowMeans7 rowMeans8 rowMeans9 rowMeans10
--0.03214991 -0.02971528 -0.13027892 0.10496336
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("Estimator", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("EvenSymmetric-class")
-> ### * EvenSymmetric-class
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: EvenSymmetric-class
-> ### Title: Class for Even Functions
-> ### Aliases: EvenSymmetric-class
-> ### Keywords: classes
->
-> ### ** Examples
->
-> new("EvenSymmetric")
-type of symmetry: even function
-center of symmetry:
-numeric(0)
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("EvenSymmetric-class", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("EvenSymmetric")
-> ### * EvenSymmetric
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: EvenSymmetric
-> ### Title: Generating function for EvenSymmetric-class
-> ### Aliases: EvenSymmetric
-> ### Keywords: math
->
-> ### ** Examples
->
-> EvenSymmetric()
-type of symmetry: even function
-center of symmetry:
-[1] 0
->
-> ## The function is currently defined as
-> function(SymmCenter = 0){
-+ new("EvenSymmetric", SymmCenter = SymmCenter)
-+ }
-function (SymmCenter = 0)
-{
- new("EvenSymmetric", SymmCenter = SymmCenter)
-}
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("EvenSymmetric", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("ExpScaleFamily")
-> ### * ExpScaleFamily
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: ExpScaleFamily
-> ### Title: Generating function for exponential scale families
-> ### Aliases: ExpScaleFamily
-> ### Keywords: models
->
-> ### ** Examples
->
-> (E1 <- ExpScaleFamily())
-An object of class "ExpScaleFamily"
-### name: Exponential scale family
-
-### distribution: Distribution Object of Class: Exp
- rate: 1
-Warning in show(x) :
- arithmetics on distributions are understood as operations on r.v.'s
-see 'distrARITH()'; for switching off this warning see '?distroptions'
-
-### param: An object of class "ParamWithScaleFamParameter"
-name: scale
-scale: 1
-trafo:
- scale
-scale 1
-
-### props:
-[1] "The Exponential scale family is invariant under"
-[2] "the group of transformations 'g(y) = scale*y'"
-[3] "with scale parameter 'scale'"
-> plot(E1)
-> Map(L2deriv(E1)[[1]])
-[[1]]
-function (x)
-{
- y <- 0 * x
- inS <- liesInSupport(distr.0, x, checkFin = TRUE)
- y[inS] <- ((x[inS] - 0)/scale * LogDeriv((x[inS] - 0)/c(scale = 1)) -
- 1)/c(scale = 1)
- return(y)
-}
-<environment: 0xe2e04d0>
-
-> checkL2deriv(E1)
-precision of centering: -2.042661e-06
-precision of Fisher information:
- scale
-scale -3.598622e-05
-precision of Fisher information - relativ error [%]:
- scale
-scale -0.003598622
-condition of Fisher information:
-[1] 1
-$maximum.deviation
-[1] 3.598622e-05
-
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("ExpScaleFamily", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("FunSymmList-class")
-> ### * FunSymmList-class
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: FunSymmList-class
-> ### Title: List of Symmetries for a List of Functions
-> ### Aliases: FunSymmList-class
-> ### Keywords: classes
->
-> ### ** Examples
->
-> new("FunSymmList", list(NonSymmetric(), EvenSymmetric(SymmCenter = 1),
-+ OddSymmetric(SymmCenter = 2)))
-An object of class "FunSymmList"
-[[1]]
-type of symmetry: non-symmetric function
-NULL
-
-[[2]]
-type of symmetry: even function
-center of symmetry:
-[1] 1
-
-[[3]]
-type of symmetry: odd function
-center of symmetry:
-[1] 2
-
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("FunSymmList-class", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("FunSymmList")
-> ### * FunSymmList
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: FunSymmList
-> ### Title: Generating function for FunSymmList-class
-> ### Aliases: FunSymmList
-> ### Keywords: math
->
-> ### ** Examples
->
-> FunSymmList(NonSymmetric(), EvenSymmetric(SymmCenter = 1),
-+ OddSymmetric(SymmCenter = 2))
-An object of class "FunSymmList"
-[[1]]
-type of symmetry: non-symmetric function
-NULL
-
-[[2]]
-type of symmetry: even function
-center of symmetry:
-[1] 1
-
-[[3]]
-type of symmetry: odd function
-center of symmetry:
-[1] 2
-
->
-> ## The function is currently defined as
-> function (...){
-+ new("FunSymmList", list(...))
-+ }
-function (...)
-{
- new("FunSymmList", list(...))
-}
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("FunSymmList", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("GammaFamily")
-> ### * GammaFamily
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: GammaFamily
-> ### Title: Generating function for Gamma families
-> ### Aliases: GammaFamily
-> ### Keywords: models
->
-> ### ** Examples
->
-> (G1 <- GammaFamily())
-An object of class "GammaFamily"
-### name: Gamma family
-
-### distribution: Distribution Object of Class: Gammad
- shape: 1
- scale: 1
-
-### param: An object of class "ParamWithScaleAndShapeFamParameter"
-name: scale and shape
-scale: 1
-shape: 1
-trafo:
- scale shape
-scale 1 0
-shape 0 1
-Shape parameter must not be negative.
-
-### props:
-[1] "The Gamma family is scale invariant via the parametrization"
-[2] "'(nu,shape)=(log(scale),shape)'"
-> FisherInfo(G1)
-An object of class "PosDefSymmMatrix"
- scale shape
-scale 1 1.000000
-shape 1 1.644934
-> checkL2deriv(G1)
-precision of centering: -2.042661e-06 1.791171e-06
-precision of Fisher information:
- scale shape
-scale -3.598622e-05 -9.503627e-06
-shape -9.503627e-06 -3.944425e-05
-precision of Fisher information - relativ error [%]:
- scale shape
-scale -0.0035986216 -0.0009503627
-shape -0.0009503627 -0.0023979230
-condition of Fisher information:
-[1] 10.60328
-$maximum.deviation
-[1] 3.944425e-05
-
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("GammaFamily", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("InfoNorm")
-> ### * InfoNorm
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: InfoNorm
-> ### Title: Generating function for InfoNorm-class
-> ### Aliases: InfoNorm
-> ### Keywords: robust
->
-> ### ** Examples
->
-> InfoNorm()
-An object of class "InfoNorm"
-Slot "QuadForm":
-An object of class "PosSemDefSymmMatrix"
- [,1]
-[1,] 1
-
-Slot "name":
-[1] "Information matrix Norm"
-
-Slot "fct":
-function (x)
-QuadFormNorm(x, A = A)
-<bytecode: 0xd346ac0>
-<environment: 0xd3467b0>
-
->
-> ## The function is currently defined as
-> function(){ new("InfoNorm") }
-function ()
-{
- new("InfoNorm")
-}
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("InfoNorm", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("L2GroupFamily-class")
-> ### * L2GroupFamily-class
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: L2GroupParamFamily-class
-> ### Title: L2 differentiable parametric group family
-> ### Aliases: L2GroupParamFamily-class LogDeriv
-> ### LogDeriv,L2GroupParamFamily-method LogDeriv<-
-> ### LogDeriv<-,L2GroupParamFamily-method
-> ### Keywords: classes models
->
-> ### ** Examples
->
-> F1 <- new("L2GroupParamFamily")
-> plot(F1)
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("L2GroupFamily-class", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("L2LocationFamily-class")
-> ### * L2LocationFamily-class
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: L2LocationFamily-class
-> ### Title: L2 differentiable parametric group family
-> ### Aliases: L2LocationFamily-class
-> ### Keywords: classes models
->
-> ### ** Examples
->
-> F1 <- new("L2LocationFamily")
-> plot(F1)
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("L2LocationFamily-class", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("L2LocationFamily")
-> ### * L2LocationFamily
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: L2LocationFamily
-> ### Title: Generating function for L2LocationFamily-class
-> ### Aliases: L2LocationFamily
-> ### Keywords: models
->
-> ### ** Examples
->
-> F1 <- L2LocationFamily()
-> plot(F1)
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("L2LocationFamily", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("L2LocationScaleFamily-class")
-> ### * L2LocationScaleFamily-class
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: L2LocationScaleFamily-class
-> ### Title: L2 differentiable parametric group family
-> ### Aliases: L2LocationScaleFamily-class
-> ### Keywords: classes models
->
-> ### ** Examples
->
-> F1 <- new("L2LocationScaleFamily")
-> plot(F1)
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("L2LocationScaleFamily-class", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("L2LocationScaleFamily")
-> ### * L2LocationScaleFamily
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: L2LocationScaleFamily
-> ### Title: Generating function for L2LocationScaleFamily-class
-> ### Aliases: L2LocationScaleFamily
-> ### Keywords: models
->
-> ### ** Examples
->
-> F1 <- L2LocationScaleFamily()
-> plot(F1)
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("L2LocationScaleFamily", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("L2LocationUnknownScaleFamily")
-> ### * L2LocationUnknownScaleFamily
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: L2LocationUnknownScaleFamily
-> ### Title: Generating function for L2LocationScaleFamily-class in nuisance
-> ### situation
-> ### Aliases: L2LocationUnknownScaleFamily
-> ### Keywords: models
->
-> ### ** Examples
->
-> F1 <- L2LocationUnknownScaleFamily()
-> plot(F1)
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("L2LocationUnknownScaleFamily", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("L2ParamFamily-class")
-> ### * L2ParamFamily-class
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: L2ParamFamily-class
-> ### Title: L2 differentiable parametric family
-> ### Aliases: plot plot-methods L2ParamFamily-class FisherInfo
-> ### FisherInfo,L2ParamFamily,missing-method
-> ### FisherInfo,L2ParamFamily,ParamFamParameter-method L2deriv
-> ### L2deriv,L2ParamFamily,missing-method
-> ### L2deriv,L2ParamFamily,ParamFamParameter-method L2derivSymm
-> ### L2derivSymm,L2ParamFamily-method L2derivDistr
-> ### L2derivDistr,L2ParamFamily-method L2derivDistrSymm
-> ### L2derivDistrSymm,L2ParamFamily-method
-> ### checkL2deriv,L2ParamFamily-method
-> ### E,L2ParamFamily,EuclRandVariable,missing-method
-> ### E,L2ParamFamily,EuclRandMatrix,missing-method
-> ### E,L2ParamFamily,EuclRandVarList,missing-method
-> ### plot,L2ParamFamily,missing-method
-> ### Keywords: classes models
->
-> ### ** Examples
->
-> F1 <- new("L2ParamFamily")
-> plot(F1)
->
-> ## selection of subpanels for plotting
-> F2 <- L2LocationScaleFamily()
-> layout(matrix(c(1,2,3,3), nrow=2, byrow=TRUE))
-> plot(F2,mfColRow = FALSE,
-+ to.draw.arg=c("p","q","loc"))
-> plot(F2,mfColRow = FALSE, inner=list("empirical cdf","pseudo-inverse",
-+ "L2-deriv, loc.part"), to.draw.arg=c("p","q","loc"))
->
->
->
-> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
-> base::cat("L2ParamFamily-class", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
-> cleanEx()
-> nameEx("L2ParamFamily")
-> ### * L2ParamFamily
->
-> flush(stderr()); flush(stdout())
->
-> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
-> ### Name: L2ParamFamily
-> ### Title: Generating function for L2ParamFamily-class
[TRUNCATED]
To get the complete diff run:
svnlook diff /svnroot/distr -r 1314
More information about the Distr-commits
mailing list