[Robast-commits] r690 - in branches/robast-0.9/pkg: ROptEst/inst ROptEstOld/inst RandVar/inst RobAStBase/inst RobExtremes/R RobExtremes/inst RobExtremes/inst/scripts RobLox/inst RobLoxBioC/inst RobRex/inst

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Sep 11 10:56:09 CEST 2013


Author: ruckdeschel
Date: 2013-09-11 10:56:09 +0200 (Wed, 11 Sep 2013)
New Revision: 690

Added:
   branches/robast-0.9/pkg/RobExtremes/inst/scripts/ExamplesForDiagnosticsWrappersWithGEVGPD.R
Modified:
   branches/robast-0.9/pkg/ROptEst/inst/NEWS
   branches/robast-0.9/pkg/ROptEstOld/inst/NEWS
   branches/robast-0.9/pkg/RandVar/inst/NEWS
   branches/robast-0.9/pkg/RobAStBase/inst/NEWS
   branches/robast-0.9/pkg/RobExtremes/R/GEVFamilyMuUnknown.R
   branches/robast-0.9/pkg/RobExtremes/inst/NEWS
   branches/robast-0.9/pkg/RobExtremes/inst/TOBEDONE
   branches/robast-0.9/pkg/RobLox/inst/NEWS
   branches/robast-0.9/pkg/RobLoxBioC/inst/NEWS
   branches/robast-0.9/pkg/RobRex/inst/NEWS
Log:
updated NEWS entries; expanded TOBEDONE entry of RobExtremes; example script for RobExtremes added;
dimnames of FI in GEVFamilyMuUnknown.R changed in RobExtremes

Modified: branches/robast-0.9/pkg/ROptEst/inst/NEWS
===================================================================
--- branches/robast-0.9/pkg/ROptEst/inst/NEWS	2013-09-10 22:31:38 UTC (rev 689)
+++ branches/robast-0.9/pkg/ROptEst/inst/NEWS	2013-09-11 08:56:09 UTC (rev 690)
@@ -13,6 +13,7 @@
 
 user-visible CHANGES:
 
++ new wrapper function CniperPointPlot
 
 + new more modularized user-interface robest
 + roptest (the new one) gains argument withMDE to skip call to MDE
@@ -39,6 +40,7 @@
 GENERAL ENHANCEMENTS:
 
 + RobASt-Pkgs: DESCRIPTION depends become stricter (requiring distrMod, distrEx, distr >=2.4 to be on the safe side)
++ cleaned DESCRIPTION and NAMESPACE file as to Imports/Depends
 + deleted chm folders --- they are no longer needed
 
 + delayed evaluation is done to speed up things
@@ -52,6 +54,8 @@
 
 under the hood:
 
++ added .Rbuildignore
+
 + Had to add 'importFrom(distr, q)' to NAMESPACE to avoid error with 
   function 'q' inside of 'showdown' - why?!
 
@@ -110,6 +114,7 @@
    able to write to other files (other than sysdata.rda) => no need anymore to
    write in separate folders when creating new grids in parallel
 
++ use of unit tests
 
 BUGFIXES:
 + a minimal correction in getInfRobIC_asGRisk.R

Modified: branches/robast-0.9/pkg/ROptEstOld/inst/NEWS
===================================================================
--- branches/robast-0.9/pkg/ROptEstOld/inst/NEWS	2013-09-10 22:31:38 UTC (rev 689)
+++ branches/robast-0.9/pkg/ROptEstOld/inst/NEWS	2013-09-11 08:56:09 UTC (rev 690)
@@ -10,11 +10,23 @@
 #######################################
 version 0.9
 #######################################
-EVD functionality (including Gumbel distribution) has
+
+user-visible CHANGES:
++ EVD functionality (including Gumbel distribution) has been
 moved from distrEx to new pkg RobExtremes; to avoid failure
 of ROptEstOld, this functionality has been copied to ROptEstOld
 as well.
 
+GENERAL ENHANCEMENTS:
++ cleaned DESCRIPTION and NAMESPACE file as to Imports/Depends
+
+under the hood:
+
++ added .Rbuildignore
+ 
+BUGFIXES
+
+
 #######################################
 version 0.8
 #######################################

Modified: branches/robast-0.9/pkg/RandVar/inst/NEWS
===================================================================
--- branches/robast-0.9/pkg/RandVar/inst/NEWS	2013-09-10 22:31:38 UTC (rev 689)
+++ branches/robast-0.9/pkg/RandVar/inst/NEWS	2013-09-11 08:56:09 UTC (rev 690)
@@ -10,12 +10,23 @@
 #######################################
 version 0.9
 #######################################
+
+user-visible CHANGES:
+
+GENERAL ENHANCEMENTS:
++ cleaned DESCRIPTION and NAMESPACE file as to Imports/Depends
+
+under the hood:
+
++ added .Rbuildignore
 + introduced folder vignettes
 + some encoding problems with vignette which now includes "\usepackage[utf8]{inputenc}"
 + update of Rout.save files, added seed for reproducibility
 + suppressed gaps handling and warnings from .makeDNew (annoying with GEVD) in .getImageDistr
 + deleted chm folders --- they are no longer needed
 + RobASt-Pkgs: DESCRIPTION depends become stricter (requiring distrMod, distrEx, distr >=2.4 to be on the safe side)
+ 
+BUGFIXES
 
 
 #######################################

Modified: branches/robast-0.9/pkg/RobAStBase/inst/NEWS
===================================================================
--- branches/robast-0.9/pkg/RobAStBase/inst/NEWS	2013-09-10 22:31:38 UTC (rev 689)
+++ branches/robast-0.9/pkg/RobAStBase/inst/NEWS	2013-09-11 08:56:09 UTC (rev 690)
@@ -12,7 +12,9 @@
 #######################################
 
 user-visible CHANGES:
++ new wrapper function InfoPlot, ComparePlot, PlotIC
 
+
 GENERAL ENHANCEMENTS:
 
 + RobASt-Pkgs: DESCRIPTION depends become stricter (requiring distrMod, distrEx, distr >=2.4 to be on the safe side)
@@ -22,9 +24,15 @@
 + removed calls to require from R sources and replaced it by directives in the NAMESPACE file
 + all packages get a DESCRIPTION tag "ByteCompile"
 
-
 under the hood:
 
++ wrapper functions use default rescaling controlled by S4-method rescaleFct
+  dispatching on the respective model
+
++ added .Rbuildignore
+
++ cleaned DESCRIPTION and NAMESPACE file as to Imports/Depends
+
 + created new interpolRisk-class to be able to use speed up in (new version) of roptest
 + interpolRisks extended by slot samplesize
 
@@ -59,6 +67,7 @@
 
 + .rescalefct looses argument scaleY.inv (not needed).
 
++ use of unit tests
 
 BUGFIXES:
 

Modified: branches/robast-0.9/pkg/RobExtremes/R/GEVFamilyMuUnknown.R
===================================================================
--- branches/robast-0.9/pkg/RobExtremes/R/GEVFamilyMuUnknown.R	2013-09-10 22:31:38 UTC (rev 689)
+++ branches/robast-0.9/pkg/RobExtremes/R/GEVFamilyMuUnknown.R	2013-09-11 08:56:09 UTC (rev 690)
@@ -253,7 +253,8 @@
         I22 <- I22 - G11*2*k^2*(k+1) + G01*2*k*(1+k)+k^2 *G02
         I22 <- I22 /k^4
         mat <- PosSemDefSymmMatrix(matrix(c(I00,I01,I02,I01,I11,I12,I02,I12,I22),3,3))
-        dimnames(mat) <- list(scaleshapename,scaleshapename)
+        lcs <- c("location",scaleshapename)
+        dimnames(mat) <- list(lcs,lcs)
         return(mat)
     }
 

Modified: branches/robast-0.9/pkg/RobExtremes/inst/NEWS
===================================================================
--- branches/robast-0.9/pkg/RobExtremes/inst/NEWS	2013-09-10 22:31:38 UTC (rev 689)
+++ branches/robast-0.9/pkg/RobExtremes/inst/NEWS	2013-09-11 08:56:09 UTC (rev 690)
@@ -20,10 +20,15 @@
 + created generating functions for GEV, Weibull, Pareto families  
 + PickandsEstimator (incl. as.var)
 
++ new L2ParamFamily GEVFamilyMuUnkown (with corresponding ES, EL, VaR)
+
 under the hood:
 
++ cleaned DESCRIPTION and NAMESPACE file as to Imports/Depends
 + RobASt-Pkgs: DESCRIPTION depends become stricter (requiring distrMod, distrEx, distr >=2.4 to be on the safe side)
 
++ added .Rbuildignore
+
 ++ kMad:
 + kMad.c now has Unix ending (LF instead of CR, CRLF
 + removed lazyload tag in DESCRIPTION
@@ -109,7 +114,11 @@
 + TestInfrastructure for RobExtremes
   Tests for RobExtremes
 +  to share some ideas: some test files in connection with RobExtremes
++ use of unit tests
 
++ wrapper functions use default rescaling controlled by S4-method rescaleFct
+  dispatching on the respective model; particular methods for GEV, GPareto, 
+  GEVMuUnknown
 
 bugfixes:
 

Modified: branches/robast-0.9/pkg/RobExtremes/inst/TOBEDONE
===================================================================
--- branches/robast-0.9/pkg/RobExtremes/inst/TOBEDONE	2013-09-10 22:31:38 UTC (rev 689)
+++ branches/robast-0.9/pkg/RobExtremes/inst/TOBEDONE	2013-09-11 08:56:09 UTC (rev 690)
@@ -1,3 +1,7 @@
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 to be done in package RobExtremes
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
++ generate LM-Grids for GEVFamilyMuUnknown
++ write code so that it uses different (semi-equivariant) norms 
+  in GEVFamily, GParetoFamily, GParetoFamilyMuUnknown
\ No newline at end of file

Added: branches/robast-0.9/pkg/RobExtremes/inst/scripts/ExamplesForDiagnosticsWrappersWithGEVGPD.R
===================================================================
--- branches/robast-0.9/pkg/RobExtremes/inst/scripts/ExamplesForDiagnosticsWrappersWithGEVGPD.R	                        (rev 0)
+++ branches/robast-0.9/pkg/RobExtremes/inst/scripts/ExamplesForDiagnosticsWrappersWithGEVGPD.R	2013-09-11 08:56:09 UTC (rev 690)
@@ -0,0 +1,87 @@
+require(RobExtremes)
+#
+### plotIC
+#
+# GPD
+fam <- GParetoFamily()
+IC <- optIC(model = fam, risk = asCov())
+Y=distribution(fam)
+y <- r(Y)(1000)
+PlotIC(IC, y, withCall = FALSE)
+#
+# GEV
+fam <- GEVFamily()
+IC <- optIC(model = fam, risk = asCov())
+Y=distribution(fam)
+y <- r(Y)(1000)
+PlotIC(IC, y, withCall = FALSE)
+#
+# Weibull
+fam <- WeibullFamily()
+IC <- optIC(model = fam, risk = asCov())
+Y=distribution(fam)
+y <- r(Y)(1000)
+PlotIC(IC, y, withCall = FALSE)
+#
+### InfoPlot
+#
+# GPD
+fam <- GParetoFamily()
+IC <- optIC(model = fam, risk = asCov())
+Y=distribution(fam)
+y <- r(Y)(1000)
+InfoPlot(IC, y, withCall = FALSE)
+#
+# GEV
+fam <- GEVFamily()
+IC <- optIC(model = fam, risk = asCov())
+Y=distribution(fam)
+y <- r(Y)(1000)
+InfoPlot(IC, y, withCall = FALSE)
+#
+# Weibull
+fam <- WeibullFamily()
+IC <- optIC(model = fam, risk = asCov())
+Y=distribution(fam)
+y <- r(Y)(1000)
+InfoPlot(IC, y, withCall = FALSE)
+#
+### ComparePlot
+#
+# GPD
+fam <- GParetoFamily()
+IC1 <- optIC(model = fam, risk = asCov())
+IC2 <- makeIC(list(function(x)sin(x),function(x)x^2), L2Fam = fam)
+Y=distribution(fam)
+y <- r(Y)(1000)
+ComparePlot(IC1, IC2, y, withCall = FALSE)
+#
+# GEV
+fam <- GEVFamily()
+IC1 <- optIC(model = fam, risk = asCov())
+IC2 <- makeIC(list(function(x)sin(x),function(x)x^2), L2Fam = fam)
+Y=distribution(fam)
+y <- r(Y)(1000)
+ComparePlot(IC1, IC2, y, withCall = FALSE)
+#
+# Weibull
+fam <- WeibullFamily()
+IC1 <- optIC(model = fam, risk = asCov())
+IC2 <- makeIC(list(function(x)sin(x),function(x)x^2), L2Fam = fam)
+Y=distribution(fam)
+y <- r(Y)(1000)
+ComparePlot(IC1, IC2, y, withCall = FALSE)
+#
+### CniperPointPlot
+#
+# GPD
+L2fam <- GParetoFamily()
+CniperPointPlot(fam=L2fam, main = "Gamma", lower = 0, upper = 5, withCall = FALSE)
+#
+# GEV
+L2fam <- GEVFamily()
+CniperPointPlot(fam=L2fam, main = "Gamma", lower = 0, upper = 5, withCall = FALSE)
+#
+# Weibull
+L2fam <- WeibullFamily()
+CniperPointPlot(fam=L2fam, main = "Gamma", lower = 0, upper = 5, withCall = FALSE)

Modified: branches/robast-0.9/pkg/RobLox/inst/NEWS
===================================================================
--- branches/robast-0.9/pkg/RobLox/inst/NEWS	2013-09-10 22:31:38 UTC (rev 689)
+++ branches/robast-0.9/pkg/RobLox/inst/NEWS	2013-09-11 08:56:09 UTC (rev 690)
@@ -8,6 +8,22 @@
  information)
 
 #######################################
+version 0.9
+#######################################
+
+user-visible CHANGES:
+
+GENERAL ENHANCEMENTS:
++ cleaned DESCRIPTION and NAMESPACE file as to Imports/Depends
+
+under the hood:
+
++ added .Rbuildignore
+ 
+BUGFIXES
+
+
+#######################################
 version 0.8.1
 #######################################
 + new internal functions due to changes to .C() and .Call() calls

Modified: branches/robast-0.9/pkg/RobLoxBioC/inst/NEWS
===================================================================
--- branches/robast-0.9/pkg/RobLoxBioC/inst/NEWS	2013-09-10 22:31:38 UTC (rev 689)
+++ branches/robast-0.9/pkg/RobLoxBioC/inst/NEWS	2013-09-11 08:56:09 UTC (rev 690)
@@ -8,6 +8,22 @@
  information)
 
 #######################################
+version 0.9
+#######################################
+
+user-visible CHANGES:
+
+GENERAL ENHANCEMENTS:
++ cleaned DESCRIPTION and NAMESPACE file as to Imports/Depends
+
+under the hood:
+
++ added .Rbuildignore
+ 
+BUGFIXES
+
+
+#######################################
 version 0.8.3
 #######################################
 + update for beadarray versions >= 2.0.0 with support by Mark Dunnings and 

Modified: branches/robast-0.9/pkg/RobRex/inst/NEWS
===================================================================
--- branches/robast-0.9/pkg/RobRex/inst/NEWS	2013-09-10 22:31:38 UTC (rev 689)
+++ branches/robast-0.9/pkg/RobRex/inst/NEWS	2013-09-11 08:56:09 UTC (rev 690)
@@ -8,6 +8,22 @@
  information)
 
 #######################################
+version 0.9
+#######################################
+
+user-visible CHANGES:
+
+GENERAL ENHANCEMENTS:
++ cleaned DESCRIPTION and NAMESPACE file as to Imports/Depends
+
+under the hood:
+
++ added .Rbuildignore
+ 
+BUGFIXES
+
+
+#######################################
 version 0.8
 #######################################
 



More information about the Robast-commits mailing list