[Distr-commits] r1250 - branches/distr-2.8/pkg/distrMod/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Aug 6 02:11:46 CEST 2018


Author: ruckdeschel
Date: 2018-08-06 02:11:46 +0200 (Mon, 06 Aug 2018)
New Revision: 1250

Modified:
   branches/distr-2.8/pkg/distrMod/R/SimpleL2ParamFamilies.R
Log:
[distrMod] branch 2.8
+ new model class / generator LogisticLocationScaleFamily / typo fixed 

Modified: branches/distr-2.8/pkg/distrMod/R/SimpleL2ParamFamilies.R
===================================================================
--- branches/distr-2.8/pkg/distrMod/R/SimpleL2ParamFamilies.R	2018-08-06 00:09:35 UTC (rev 1249)
+++ branches/distr-2.8/pkg/distrMod/R/SimpleL2ParamFamilies.R	2018-08-06 00:11:46 UTC (rev 1250)
@@ -773,7 +773,7 @@
               name = "normal location and scale family",
               locscalename = lsname,
               modParam = function(theta) Logis(location = theta[1], scale = theta[2]),
-              LogDeriv = function(x) (1-exp(x))/(1+exp(x)),
+              LogDeriv = function(x) (exp(x)-1)/(1+exp(x)),
               FisherInfo.0 = matrix(c(1/3,0,0,LOGISTINT2),2,2,
                                       dimnames = list(lsname, lsname)),
               distrSymm = SphericalSymmetry(SymmCenter = location),



More information about the Distr-commits mailing list