[Robast-commits] r1154 - in branches/robast-1.2/pkg/RobExtremes: R inst man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Aug 16 17:27:55 CEST 2018


Author: ruckdeschel
Date: 2018-08-16 17:27:54 +0200 (Thu, 16 Aug 2018)
New Revision: 1154

Modified:
   branches/robast-1.2/pkg/RobExtremes/R/AllClass.R
   branches/robast-1.2/pkg/RobExtremes/R/checkEstClassForParamFamiliyMethods.R
   branches/robast-1.2/pkg/RobExtremes/inst/NEWS
   branches/robast-1.2/pkg/RobExtremes/man/internal-methods.Rd
   branches/robast-1.2/pkg/RobExtremes/man/internalEstimatorReturnClasses-class.Rd
Log:
[RobExtremes] branch 1.2 some things seem to have been missed at the last commit 

Modified: branches/robast-1.2/pkg/RobExtremes/R/AllClass.R
===================================================================
--- branches/robast-1.2/pkg/RobExtremes/R/AllClass.R	2018-08-16 13:20:25 UTC (rev 1153)
+++ branches/robast-1.2/pkg/RobExtremes/R/AllClass.R	2018-08-16 15:27:54 UTC (rev 1154)
@@ -292,6 +292,7 @@
 setClass("GPDLDEstimate", contains=c("LDEstimate", "GPDEstimate"))
 setClass("GPDkStepEstimate", contains=c("kStepEstimate", "GPDEstimate"))
 setClass("GPDORobEstimate", contains=c("ORobEstimate", "GPDkStepEstimate"))
+setClass("GPDMDEstimate", contains=c("MDEstimate", "GPDEstimate"))
 
 setClass("GEVEstimate", contains="Estimate")
 setClass("GEVLDEstimate", contains=c("LDEstimate", "GEVEstimate"))
@@ -300,4 +301,5 @@
 setClass("GEVMCEstimate", contains=c("MCEstimate", "GEVEstimate"))
 setClass("GEVML.ALEstimate", contains=c("ML.ALEstimate", "GEVEstimate"))
 setClass("GEVCvMMD.ALEstimate", contains=c("CvMMD.ALEstimate", "GEVEstimate"))
+setClass("GEVMDEstimate", contains=c("MDEstimate", "GEVEstimate"))
 

Modified: branches/robast-1.2/pkg/RobExtremes/R/checkEstClassForParamFamiliyMethods.R
===================================================================
--- branches/robast-1.2/pkg/RobExtremes/R/checkEstClassForParamFamiliyMethods.R	2018-08-16 13:20:25 UTC (rev 1153)
+++ branches/robast-1.2/pkg/RobExtremes/R/checkEstClassForParamFamiliyMethods.R	2018-08-16 15:27:54 UTC (rev 1154)
@@ -23,6 +23,9 @@
               signature=signature(PFam="GParetoFamily",estimator="MCEstimate"),
               function(PFam, estimator) as(estimator,"GPDMCEstimate"))
 setMethod(".checkEstClassForParamFamily",
+              signature=signature(PFam="GParetoFamily",estimator="MDEstimate"),
+              function(PFam, estimator) as(estimator,"GPDMDEstimate"))
+setMethod(".checkEstClassForParamFamily",
               signature=signature(PFam="GParetoFamily",estimator="MLEstimate"),
               function(PFam,estimator) .castToALE(PFam, estimator, "GPDML.ALEstimate"))
 setMethod(".checkEstClassForParamFamily",
@@ -46,6 +49,9 @@
               signature=signature(PFam="GEVFamily",estimator="MCEstimate"),
               function(PFam, estimator) as(estimator,"GEVMCEstimate"))
 setMethod(".checkEstClassForParamFamily",
+              signature=signature(PFam="GEVFamily",estimator="MDEstimate"),
+              function(PFam, estimator) as(estimator,"GEVMDEstimate"))
+setMethod(".checkEstClassForParamFamily",
               signature=signature(PFam="GEVFamily",estimator="MLEstimate"),
               function(PFam,estimator) .castToALE(PFam, estimator, "GEVML.ALEstimate"))
 setMethod(".checkEstClassForParamFamily",
@@ -69,6 +75,9 @@
               signature=signature(PFam="GEVFamilyMuUnknown",estimator="MCEstimate"),
               function(PFam, estimator) as(estimator,"GEVMCEstimate"))
 setMethod(".checkEstClassForParamFamily",
+              signature=signature(PFam="GEVFamilyMuUnknown",estimator="MDEstimate"),
+              function(PFam, estimator) as(estimator,"GEVMDEstimate"))
+setMethod(".checkEstClassForParamFamily",
               signature=signature(PFam="GEVFamilyMuUnknown",estimator="MLEstimate"),
               function(PFam,estimator) .castToALE(PFam, estimator, "GEVML.ALEstimate"))
 setMethod(".checkEstClassForParamFamily",

Modified: branches/robast-1.2/pkg/RobExtremes/inst/NEWS
===================================================================
--- branches/robast-1.2/pkg/RobExtremes/inst/NEWS	2018-08-16 13:20:25 UTC (rev 1153)
+++ branches/robast-1.2/pkg/RobExtremes/inst/NEWS	2018-08-16 15:27:54 UTC (rev 1154)
@@ -11,6 +11,10 @@
 version 1.2
 #######################################
 
+bugfixes:
++ Bernhard discovered a bug in ".checkEstClassForParamFamily" for GEV (was GPD instead of GEV)
++ there were no classes [GPD/GEV]MDEstimate -> fixed now
+
 under the hood
 + moved quantile integration methods for expectation for Weibull and
   Gamma distribution to pkg distrEx (>= 2.8.0)
@@ -35,6 +39,7 @@
   deleted classes "GPDMCALEstimate", "GEVMCALEstimate" as not every MCE is an ALE -> this gave misleading error messages
 + warning/caveat in the help to GEVFamily/GEVFamilyMuUnknown as to the accuracy of PickandsEstimator for GEV 
 + introduced particular liesInSupport methods for Gumbel, Pareto, GPareto, and GEV 
+
   
 #######################################
 version 1.1

Modified: branches/robast-1.2/pkg/RobExtremes/man/internal-methods.Rd
===================================================================
--- branches/robast-1.2/pkg/RobExtremes/man/internal-methods.Rd	2018-08-16 13:20:25 UTC (rev 1153)
+++ branches/robast-1.2/pkg/RobExtremes/man/internal-methods.Rd	2018-08-16 15:27:54 UTC (rev 1154)
@@ -8,6 +8,7 @@
 \alias{.checkEstClassForParamFamily,GParetoFamily,kStepEstimate-method}
 \alias{.checkEstClassForParamFamily,GParetoFamily,ORobEstimate-method}
 \alias{.checkEstClassForParamFamily,GParetoFamily,MLEstimate-method}
+\alias{.checkEstClassForParamFamily,GParetoFamily,MDEstimate-method}
 \alias{.checkEstClassForParamFamily,GParetoFamily,CvMMDEstimate-method}
 \alias{.checkEstClassForParamFamily,GEVFamily,Estimate-method}
 \alias{.checkEstClassForParamFamily,GEVFamily,MCEstimate-method}
@@ -16,6 +17,7 @@
 \alias{.checkEstClassForParamFamily,GEVFamily,ORobEstimate-method}
 \alias{.checkEstClassForParamFamily,GEVFamily,MLEstimate-method}
 \alias{.checkEstClassForParamFamily,GEVFamily,CvMMDEstimate-method}
+\alias{.checkEstClassForParamFamily,GEVFamily,MDEstimate-method}
 \alias{.checkEstClassForParamFamily,GEVFamilyMuUnknown,Estimate-method}
 \alias{.checkEstClassForParamFamily,GEVFamilyMuUnknown,MCEstimate-method}
 \alias{.checkEstClassForParamFamily,GEVFamilyMuUnknown,LDEstimate-method}
@@ -23,6 +25,7 @@
 \alias{.checkEstClassForParamFamily,GEVFamilyMuUnknown,ORobEstimate-method}
 \alias{.checkEstClassForParamFamily,GEVFamilyMuUnknown,MLEstimate-method}
 \alias{.checkEstClassForParamFamily,GEVFamilyMuUnknown,CvMMDEstimate-method}
+\alias{.checkEstClassForParamFamily,GEVFamilyMuUnknown,MDEstimate-method}
 \title{ Methods for Function .checkEstClassForParamFamily in Package `RobExtremes' }
 \description{.checkEstClassForParamFamily-methods}
 %\usage{.checkEstClassForParamFamily(PFam, estimator)
@@ -59,6 +62,8 @@
 S4 class  \code{GPDkStepEstimate},\cr
 the \code{GParetoFamily,ORobEstimate}-method cast to
 S4 class  \code{GPDORobEstimate},\cr
+the \code{GParetoFamily,MDEstimate}-method cast to
+S4 class  \code{GPDMDEstimate},\cr
 the \code{GParetoFamily,MLEstimate}-method cast to
 S4 class  \code{GPDML.ALEstimate},\cr
 the \code{GParetoFamily,CvMMDEstimate}-method cast to
@@ -74,6 +79,8 @@
 S4 class  \code{GEVkStepEstimate},\cr
 the \code{GEVFamily,ORobEstimate}-method cast to
 S4 class  \code{GEVORobEstimate},\cr
+the \code{GEVFamily,MDEstimate}-method cast to
+S4 class  \code{GEVMDEstimate},\cr
 the \code{GEVFamily,MLEstimate}-method cast to
 S4 class  \code{GEVML.ALEstimate},\cr
 the \code{GEVFamily,CvMMDEstimate}-method cast to
@@ -89,6 +96,8 @@
 S4 class  \code{GEVkStepstimate}.\cr
 the \code{GEVFamilyMuUnknown,ORobEstimate}-method cast to
 S4 class  \code{GEVORobEstimate},\cr
+the \code{GEVFamilyMuUnknown,MDEstimate}-method cast to
+S4 class  \code{GEVMDEstimate},\cr
 the \code{GEVFamilyMuUnknown,MLEstimate}-method cast to
 S4 class  \code{GEVML.ALEstimate},\cr
 the \code{GEVFamilyMuUnknown,CvMMDEstimate}-method cast to

Modified: branches/robast-1.2/pkg/RobExtremes/man/internalEstimatorReturnClasses-class.Rd
===================================================================
--- branches/robast-1.2/pkg/RobExtremes/man/internalEstimatorReturnClasses-class.Rd	2018-08-16 13:20:25 UTC (rev 1153)
+++ branches/robast-1.2/pkg/RobExtremes/man/internalEstimatorReturnClasses-class.Rd	2018-08-16 15:27:54 UTC (rev 1154)
@@ -5,6 +5,8 @@
 \alias{GEVEstimate-class}
 \alias{GPDMCEstimate-class}
 \alias{GEVMCEstimate-class}
+\alias{GPDMDEstimate-class}
+\alias{GEVMDEstimate-class}
 \alias{GPDLDEstimate-class}
 \alias{GEVLDEstimate-class}
 \alias{GPDkStepEstimate-class}
@@ -23,6 +25,7 @@
  \section{Described classes}{
 The S4 classes described here are \code{GPDEstimate}, \code{GEVEstimate},
  \code{GPDMCEstimate}, \code{GEVMCEstimate},
+ \code{GPDMDEstimate}, \code{GEVMDEstimate},
  \code{GPDLDEstimate}, \code{GEVLDEstimate},
  \code{GPDkStepEstimate}, \code{GEVkStepEstimate},
  \code{GPDORobEstimate}, \code{GEVORobEstimate},
@@ -42,6 +45,10 @@
 \code{MCEstimate}, directly.\cr
 Class \code{GEVMCEstimate} extends classes \code{GEVEstimate},
 \code{MCEstimate}, directly.\cr
+Class \code{GPDMDEstimate} extends classes \code{GPDEstimate},
+\code{MDEstimate}, directly.\cr
+Class \code{GEVMDEstimate} extends classes \code{GEVEstimate},
+\code{MDEstimate}, directly.\cr
 Class \code{GPDMCALEstimate} extends classes \code{GPDEstimate},
 \code{MCALEstimate}, directly.\cr
 Class \code{GEVMCALEstimate} extends classes \code{GEVEstimate},



More information about the Robast-commits mailing list