[Distr-commits] r418 - in branches/distr-2.1: pkg/SweaveListingUtils/inst pkg/distr/inst pkg/distrDoc/inst pkg/distrEx/inst pkg/distrMod/inst pkg/distrSim/inst pkg/distrTEst/inst pkg/distrTeach/inst pkg/startupmsg/inst www
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Mar 19 17:59:09 CET 2009
Author: ruckdeschel
Date: 2009-03-19 17:59:08 +0100 (Thu, 19 Mar 2009)
New Revision: 418
Modified:
branches/distr-2.1/pkg/SweaveListingUtils/inst/NEWS
branches/distr-2.1/pkg/distr/inst/NEWS
branches/distr-2.1/pkg/distrDoc/inst/NEWS
branches/distr-2.1/pkg/distrEx/inst/NEWS
branches/distr-2.1/pkg/distrMod/inst/NEWS
branches/distr-2.1/pkg/distrSim/inst/NEWS
branches/distr-2.1/pkg/distrTEst/inst/NEWS
branches/distr-2.1/pkg/distrTeach/inst/NEWS
branches/distr-2.1/pkg/startupmsg/inst/NEWS
branches/distr-2.1/www/distr.html
branches/distr-2.1/www/distrDoc.html
branches/distr-2.1/www/distrEx.html
branches/distr-2.1/www/distrMod.html
branches/distr-2.1/www/distrSim.html
branches/distr-2.1/www/distrTEst.html
branches/distr-2.1/www/distrTeach.html
Log:
updated NEWS and html-Files
Modified: branches/distr-2.1/pkg/SweaveListingUtils/inst/NEWS
===================================================================
--- branches/distr-2.1/pkg/SweaveListingUtils/inst/NEWS 2009-03-19 12:22:18 UTC (rev 417)
+++ branches/distr-2.1/pkg/SweaveListingUtils/inst/NEWS 2009-03-19 16:59:08 UTC (rev 418)
@@ -3,6 +3,30 @@
######################################################################
##############
+v 0.2
+##############
+
+* vignette:
+ + SweaveListingUtils now has a vignette ("ExampleSweaveListingUtils")
+ + updated and extended vignette ExampleSweaveListingUtils.Rnw
+ (shows how to modify markup; included references)
+
+* compatibility:
+ +some minor modifications in SweaveListingUtils for use in JSS;
+
+* Rd-Style Markup
+ +completed Rdlisting.sty according to "Parsing Rd Files" by Duncan Murdoch
+ as of Nov 4 2008
+
+* MASKING:
+ +some changes such that the results of base::library are obtained
+
+* Rd-style:
+ + several buglets detected with the fuzzier checking mechanism
+ cf [Rd] More intensive checking of R help files, Prof Brian Ripley, 09.01.2009 10:25)
+ [Rd] Warning: missing text for item ... in \describe? , Prof Brian Ripley,
+
+##############
v 0.1.1
##############
Modified: branches/distr-2.1/pkg/distr/inst/NEWS
===================================================================
--- branches/distr-2.1/pkg/distr/inst/NEWS 2009-03-19 12:22:18 UTC (rev 417)
+++ branches/distr-2.1/pkg/distr/inst/NEWS 2009-03-19 16:59:08 UTC (rev 418)
@@ -3,6 +3,182 @@
######################################################################
##############
+v 2.1
+##############
+
+* DISTRIBUTIONS
+->DISCRETE DISTRIBUTIONS
+ --collapsing discrete distributions:
+ +getdistrOption(".DistrCollapse.Unique.Warn")
+ +implemented proposal by jacob van etten
+ (collapsing support)
+ --enhance accuracy
+ + yet another improvement of .multm (now sets density for discrete distributions
+ for non-support arguments actively to 0)
+ + We are a bit more careful about hitting support points in .multm for
+ DiscreteDistribution (i.e., for D * e2, e2 numeric, D DiscreteDistribution)
+->CONTINUOUS DISTRIBUTIONS
+ --gaps/support :
+ +gaps matrix could falsely have 0 rows (instead of being set to NULL)
+ +class UnivarMixingDistribution gains overall slots gaps support
+ +added corresponding accessors
+ +correspondingly, for UnivarLebDecDistribution as daughter class,
+ accessors gaps(), support() refer to "overall" slots, not to slots of acPart, discretePart
+ +deleted special support, gaps method for UnivarLebDecDistribution;
+ now inherits from UnivarMixingDistribution
+ +new utility function .consolidategaps to "merge" adjacent gaps
+ +setgaps method for UnivarMixingDistribution
+ +correspondingly,
+ * method "*", c("AffLinUnivarLebDecDistribution","numeric"),
+ * method "+", c("AffLinUnivarLebDecDistribution","numeric"),
+ * method "*", c("UnivarLebDecDistribution","numeric"),
+ * method "+", c("UnivarLebDecDistribution","numeric"),
+ * generating function "UnivarLebDecDistribtion"
+ had to be modified
+ +utility 'mergegaps' catches situation where support has length 0
+ +abs - and Truncate - methods for AbscontDistribution use '.consolidategaps'
+->COMPOUND DISTRIBUTIONS
+ + Compound Distributions are now implemented;
+ see ?CompoundDistribution, class?CompoundDistribution
+->UNIVARIATE MIXING DISTRIBUTIONS
+ + fixed some errors / made some enhancements acc. to
+ mail by Krunoslav Sever <sever at hsuhh.de>
+
+* ENHANCED ACCURACY BY LOG SCALE
++ enhanced accuracy for Truncation with Peter Dalgaard's trick
++ passed over to log-scale for getUp, getLow (again to enhance accuracy
+ for distributions with unbounded support)
++ introduced new slots .lowerExact and .logExact for objects of class
+ "Distribution" (or inheriting) to control whether the argument parts
+ log[.p], lower.tail are implemented carefully in order to preserve
+ accuracy.
+
+* ARITHMETICS
+-- enhanced "+" method
+ +for DiscreteDistribution,DiscreteDistribution ---
+ catches addition with Dirac-Distribution
+ + we enforce to use FFT-based algorithm for LatticeDistributions
+ if the supports of both summands may be arranged on a common lattice
+ whenever the length of convolutional grid (= unique(sort(outer(support1, support2, "+"))) )
+ is smaller than the length of the product grid ( = length(support1) * length(support2) )
+ --- covers in particular m1*Binom(p,size) + m2*Binom(p',size) when m1, m2 are naturals > 1 ...
+-- convpow:
+ + some minor enhancements in convpow and "+", "LatticeDistribution","LatticeDistribution"
+ and correction of a buglet there (e.g., lattice width oould get too small)
+ +method for AcDcLcDistribution gains argument 'ep' to control
+ when to ignore discrete parts (or a.c. parts)
+ which summands in binomial expansion of (acPart+discretePart)^\ast n to ignore
+ +minor fix in method for DiscreteDistribution
+-- automatic image distribution generation
++ slot r is now /much/ faster / slimmer for results of *,/,^
+ (no split in pos/neg part necessary for this!)
++ slot d for results of *,/, exp() now is correct at 0 by extrapolation
+ (and deletion wir .del0dmixfun of half of the part to avoid double counting in *,/)
+-- affine linear trafos return slot X0 of AffLin-Construction if resulting a=1 and b=0
+-- sqrt now dispatches correctly for Abscont and DiscreteDistribution.
+
+* PLOTTING
+ + enhanced automatic plotting range selection
+ + plot-methods in branches/distr-2.1 now accept to.draw.arg no matter whether mfColRow==TRUE or FALSE
+ + fixed xlim and ylim args for plots; ylim can now be matrix-valued...
+ + realized suggestions by A. Unwin, Augsburg;
+ plot for L2paramFamilies may be restricted to selected subplots;
+ + also named parameters are used in axis annotation if available.
+ + changed devNew to only open a device if length(dev.list())>0
+ + plot (for distribution objects) now is conformal
+ to the (automatic) generic, i.e. it dispatches on signature (x,y)
+ and has methods for signature(x=<distributionclass>,y="missing")
+
+
+* NEW / ENHANCED METHODS
+--getLow/getUp:
+ +now available for UnivarLebDecDistribution, UnivarMixingDistribution
+--q.r, p.l (methods for right continuous quantile function
+ and left continuous cdf)
+ + for class AbscontDistribution (q.r with 'modifyqgaps')
+ + for class UnivarLebDecDistribution
+ + for class UnivarMixingDistribution
+--prob methods:
+ +prob() for DiscreteDistribution-class
+ returns vector of probabilities for the support points
+ (named by values of support points) )
+ + method for UnivarLebDecDistribution: returns a
+ two-row matrix with
+ * column names values of support points
+ * first row named "cond" the probabilities of discrete part
+ * second row named "abd" the probabilities of discrete part
+ multiplied with discreteWeight; hence the absolute probabilities
+ of the support points
+--methods p.ac, d.ac, p.discrete, d.discrete:
+ * they all have an extra argument 'CondOrAbs' with default value
+ "cond" which if it does not partially match "abs", returns exactly
+ slot p (resp. d) the respective acPart/discretePart of the object
+ else return value is weighted by acWeight/discreteWeight
+--new function 'makeAbscontDistribution'
+ +to convert arbitrary univariate distributions to AbscontDistribution:
+ takes slot p and uses AbscontDistribution(); in order to smear out
+ mass points on the border, makeAbscontDistribution() enlarges upper and
+ lower bounds
+--flat.LCD:
+ +setgaps is called only if slot gaps is not yet filled
+--general technique: more freguent use of .isEqual
+--new / enhanced utilities (non-exported)
+ +'modifyqgaps' in order to achieve correct values for slot q
+ in case slot p hast constancy regions (gaps)
+ +.qmixfun can cope with gaps and may return both left and right continuous versions
+ +.pmixfun may return both left and right continuous versions
+ in case slot p hast constancy regions (gaps)
+
+
+* DOCUMENTATION
+-new section "Extension packages" in package-help file 0distr-package.Rd
+-mention of CompoundDistribution-class in package-help file 0distr-package.Rd of devel version
+-new vignette "How to generate new distributions in packages distr, distrEx"
+ in package distr ...
+
+* Rd-style:
+ + several buglets detected with the fuzzier checking mechanism
+ cf [Rd] More intensive checking of R help files, Prof Brian Ripley, 09.01.2009 10:25)
+ [Rd] Warning: missing text for item ... in \describe? , Prof Brian Ripley,
+
+* S4 ISSUES:
+ + fixed setGenerics- error reported by Kurt Hornik...
+ "log", "log10", "gamma", "lgamma" are no longer redefined as generics.
+ +explicit method "+" for Dirac,DiscreteDistribution
+ +some changes to the connections between LatticeDistribution and DiscreteDistribution
+ resp. between AffLinLatticeDistribution and AffLinDiscreteDistribution.
+ key issues:
+ +JMC has changed the way non-simple inheritance [i.e. in the presence of setIs relations]
+ is treated (see distr; in particular show, and operator methods for LatticeDistribution)
+ works now and could be released as 2.0.1
+ ->some explicit methods for LatticeDistribution, as due to setIs Relation
+ it may no longer be inherited automatically from DiscreteDistribution
+ since JMC's changes in S4 inheritance mechanism Sep/Oct 08
+
+* BUGFIXES
+ +fixed a buglet in initialize for Cauchy Distribution
+ +fixed bug in "+",LatticeDistribution,LatticeDistribution
+ +it may be that even if both lattices of e1, e2 have same width,
+ the convoluted support has another width!
+ example: c(-1.5,1.5), c(-3,0,3)
+ +matrix-valued ylim argument has not yet been dealt with correctly
+ +fixed bug in plot-methods for argument "inner" under use of to.draw.arg argument
+ +fixed a bug in convpow-method for AbscontDistribution
+ +small buglets in plot-methods.R and plot-methods_LebDec.R (moved setting of owarn/oldPar outside)
+ +fixed a bug in UnivarMixingDistribution.R (with new argument Dlist)
+ +fixed a bug discovered by Prof. Unwin ---
+ "+" trapped in a dead-lock coercing between DiscreteDistribution
+ and LatticeDistribution
+ +fixed a small buglet in convpow().
+ +fixed buglet in devel version of distr: getLow.R (wrong place of ")" )
+ +fixed some errors in plotting LCD and CompoundDistribution(and enhanced automatic axis labels by some tricky castings...)
+ +UnivarMixingDistribution was too strict with sum mixCoeff == 1
+ +deleted some erroneous prints left over from debugging in ExtraConvolutionMethods.R
+ +fixed some buglets in plot for distr (only in branch)
+ +fixed redundant code in bAcDcLcDistribution.R
+ +Patch to bug with AffLinAbscontDistribution
+
+##############
v 2.0.3
##############
Modified: branches/distr-2.1/pkg/distrDoc/inst/NEWS
===================================================================
--- branches/distr-2.1/pkg/distrDoc/inst/NEWS 2009-03-19 12:22:18 UTC (rev 417)
+++ branches/distr-2.1/pkg/distrDoc/inst/NEWS 2009-03-19 16:59:08 UTC (rev 418)
@@ -3,6 +3,17 @@
######################################################################
##############
+v 2.1
+##############
+
+ * description of new class "CompoundDistribution"
+ * use of new helper package SweaveListingUtils
+ * Rd-style:
+ + several buglets detected with the fuzzier checking mechanism
+ cf [Rd] More intensive checking of R help files, Prof Brian Ripley, 09.01.2009 10:25)
+ [Rd] Warning: missing text for item ... in \describe? , Prof Brian Ripley,
+
+##############
v 2.0.3
##############
Modified: branches/distr-2.1/pkg/distrEx/inst/NEWS
===================================================================
--- branches/distr-2.1/pkg/distrEx/inst/NEWS 2009-03-19 12:22:18 UTC (rev 417)
+++ branches/distr-2.1/pkg/distrEx/inst/NEWS 2009-03-19 16:59:08 UTC (rev 418)
@@ -3,6 +3,48 @@
######################################################################
##############
+v 2.1
+##############
+
+* Rd-style:
+ + several buglets detected with the fuzzier checking mechanism
+ cf [Rd] More intensive checking of R help files, Prof Brian Ripley, 09.01.2009 10:25)
+ [Rd] Warning: missing text for item ... in \describe? , Prof Brian Ripley,
+
+* FUNCTIONALS
+--Expectation
+ +expectation gains explicit arguments to set accuracy locally;
+ +also both quantile and scale based methods is used to determine
+ a sensible integration range in expectation
+--Quantiles:
+ -median and IQR are now defined for UnivariateCondDistribution
+--general bug fixes:
+ -checked and fixed functionals (stirred up by mail by Jay Kerns, gkerns at ysu.edu)
+ -bug corrected in E for Hyper (thanks to Jay G. Kerns!) ...
+ -corrected small bug in mad, added new implementation for skewness and
+ kurtosis for signature "ANY".
+ -corrected small bug in skewness for AffLinDistribution.
+
+* DISTRIBUTIONS
+ + gains distribution Pareto; ported from pkg actuar by Nataliya Horbenko
+ +new slots d,p,q for Gumbel distribution catching errors, vectorization
+ and lower.tail, log[.p] argument ...
+ + new methods for Gumbel distribution ...
+
+* DISTANCES
+ + introduced distance OAsymTotalVarDist (minimal
+ asymmetric total variation distance)
+ + introduced new asymmetric total variation distance AsymTotalVarDist
+ + TotalVarDist and HellingerDist gain extra arguments
+ to better control the integration range and exactness
+
+* NEW FUNCTIONALS
+ + m1df for AffLinDistribution
+ + Expectation, var, IQR, median, skewness, kurtosis available for Pareto
+
++... and: had forgotten to document the plot-methods in distrExsome typo's in integration range selection
+
+##############
v 2.0.3
##############
Modified: branches/distr-2.1/pkg/distrMod/inst/NEWS
===================================================================
--- branches/distr-2.1/pkg/distrMod/inst/NEWS 2009-03-19 12:22:18 UTC (rev 417)
+++ branches/distr-2.1/pkg/distrMod/inst/NEWS 2009-03-19 16:59:08 UTC (rev 418)
@@ -3,6 +3,62 @@
######################################################################
##############
+v 2.1
+##############
+
+ * Rd-style:
+ + several buglets detected with the fuzzier checking mechanism
+ cf [Rd] More intensive checking of R help files, Prof Brian Ripley, 09.01.2009 10:25)
+ [Rd] Warning: missing text for item ... in \describe? , Prof Brian Ripley,
+
+ * MODELS
+ + added mad.const to guarantee for mad-consistency in location scale model
+ + loc/scale model: standardization by n not by (n-1) as in case of sd .
+ + minor modification, L2derivDistr in case of location and scale families
+ + some modifications such that LnormScaleFamily works properly ...
+ + bug in LnormScaleFamily corrected ...
+ + modifyModel gains argument .withL2derivDistr ---
+ if false needs not be calculated (as e.g. this is done in a particular
+ method calling the general method first...)
+
+ * TRAFO
+ + fixed some inconsistencies with slot trafo:
+ now when trafo is a function, we try to keep it as a function under
+ moves of the parametric model...
+ + we introduce
+ - a function trafo.fct() (see ?trafo.fct)
+ to access the "function" aspect of trafo
+ - a function trafoEst() which transforms an existing estimator of class "estimate"
+ consistently (i.e. with corresponding untransfromed.estimate and untransformed.asvar
+ information and transformed asvar) by a "trafo" function; see ?trafoEst
+
+ * ESTIMATION
+ + minor correction sqrt((n-1)/n)*sd(x)
+ + enhanced Covariance calculation for CvMDist-MDE
+ + modified output in show - Confint-class
+
+
+ * PLOTTING
+ + fixed issue with cex.inner
+ + fixed bug in plot-methods for argument "inner" under use of to.draw.arg argument
+ + realized suggestions by A. Unwin, Augsburg;
+ plot for L2paramFamilies may be restricted to selected subplots;
+ + L2ParamFamily plot in distrMod is now are as flexible as plot-methods in pkg distr
+ + small changes in AllPlot.R in distrMod
+ + plot-L2ParamFamily now also digests ... , in particular grid()
+ + some fix in order to cover the case of argument panel.first=grid()
+ in the ... argument (needs a delayed evaluation...)
+
+
+ * BUGFIXES
+ + some minor issues in L2GroupFamilies (if locscalename is missing)
+ + fixed issue with MCE, MLE and MDE; these are also defined for ParamFamily class
+ objects; so they need not have an Information slot
+ + fixed a bug in L2GroupFamilies:
+ it must be .getLogDeriv(centraldistribution) instead of .getLogDeriv(distribution)
+ + a minor buglet object at trafo instead of trafo(object)
+
+##############
v 2.0.3
##############
Modified: branches/distr-2.1/pkg/distrSim/inst/NEWS
===================================================================
--- branches/distr-2.1/pkg/distrSim/inst/NEWS 2009-03-19 12:22:18 UTC (rev 417)
+++ branches/distr-2.1/pkg/distrSim/inst/NEWS 2009-03-19 16:59:08 UTC (rev 418)
@@ -3,6 +3,22 @@
######################################################################
##############
+v 2.1
+##############
+
+* Rd-style:
+ + several buglets detected with the fuzzier checking mechanism
+ cf [Rd] More intensive checking of R help files, Prof Brian Ripley, 09.01.2009 10:25)
+ [Rd] Warning: missing text for item ... in \describe? , Prof Brian Ripley,
+ + new error/warning-free checking versions (under R-2.9.0 r46589) for distrXXX family;
+
++ S4 issues:
+ JMC has changed the way matrices and arrays are treated as S4 classes
+
++ plotting
+ modified plot methods to better digest "..." (argument "add" is TRUE by default now)
+
+##############
v 2.0.3
##############
Modified: branches/distr-2.1/pkg/distrTEst/inst/NEWS
===================================================================
--- branches/distr-2.1/pkg/distrTEst/inst/NEWS 2009-03-19 12:22:18 UTC (rev 417)
+++ branches/distr-2.1/pkg/distrTEst/inst/NEWS 2009-03-19 16:59:08 UTC (rev 418)
@@ -3,6 +3,15 @@
######################################################################
##############
+v 2.1
+##############
+
+* Rd-style:
+ + several buglets detected with the fuzzier checking mechanism
+ cf [Rd] More intensive checking of R help files, Prof Brian Ripley, 09.01.2009 10:25)
+ [Rd] Warning: missing text for item ... in \describe? , Prof Brian Ripley,
+
+##############
v 2.0.3
##############
Modified: branches/distr-2.1/pkg/distrTeach/inst/NEWS
===================================================================
--- branches/distr-2.1/pkg/distrTeach/inst/NEWS 2009-03-19 12:22:18 UTC (rev 417)
+++ branches/distr-2.1/pkg/distrTeach/inst/NEWS 2009-03-19 16:59:08 UTC (rev 418)
@@ -3,6 +3,15 @@
######################################################################
##############
+v 2.1
+##############
+
+* Rd-style:
+ + several buglets detected with the fuzzier checking mechanism
+ cf [Rd] More intensive checking of R help files, Prof Brian Ripley, 09.01.2009 10:25)
+ [Rd] Warning: missing text for item ... in \describe? , Prof Brian Ripley,
+
+##############
v 2.0.3
##############
Modified: branches/distr-2.1/pkg/startupmsg/inst/NEWS
===================================================================
--- branches/distr-2.1/pkg/startupmsg/inst/NEWS 2009-03-19 12:22:18 UTC (rev 417)
+++ branches/distr-2.1/pkg/startupmsg/inst/NEWS 2009-03-19 16:59:08 UTC (rev 418)
@@ -3,6 +3,15 @@
######################################################################
##############
+v 0.6
+##############
+
+* Rd-style:
+ + several buglets detected with the fuzzier checking mechanism
+ cf [Rd] More intensive checking of R help files, Prof Brian Ripley, 09.01.2009 10:25)
+ [Rd] Warning: missing text for item ... in \describe? , Prof Brian Ripley,
+
+##############
v 0.5.3
##############
Modified: branches/distr-2.1/www/distr.html
===================================================================
--- branches/distr-2.1/www/distr.html 2009-03-19 12:22:18 UTC (rev 417)
+++ branches/distr-2.1/www/distr.html 2009-03-19 16:59:08 UTC (rev 418)
@@ -20,8 +20,8 @@
src="RLOGO.jpg"> </a></span></span></big> </span> </h1>
</div>
<hr style="width: 100%; height: 2px;">
-<div style="text-align: justify;"> Version: 2.0<br>
-Release Date: 2008-01-17 <br>
+<div style="text-align: justify;"> Version: 2.1<br>
+Release Date: 2008-03-19 <br>
Authors: <a
href="mailto:peter.ruckdeschel at uni-bayreuth.de?subject=%5Bdistr%5D">Peter
Ruckdeschel</a>, <a
@@ -31,6 +31,7 @@
Camphausen</a><br>
Required R-Version:
<ul>
+ <li>>=2.2.0 for version 2.0.3,</li>
<li>>=2.2.0 for version 1.6-2.0,</li>
<li>>=2.0.1 patched for version 1.5,</li>
<li>>= 1.8.0 for version 1.4,</li>
@@ -1007,6 +1008,314 @@
<br>
</li>
</ul>
+<h3 style="text-align: left;">Changes from 2.0 to
+2.1<br>
+</h3>
+<div style="text-align: left; color: rgb(0, 0, 0);">
+<ul>
+ <li> DISTRIBUTIONS</li>
+ <ul>
+ <li>DISCRETE DISTRIBUTIONS</li>
+ <ul>
+ <li>collapsing discrete distributions:</li>
+ <ul>
+ <li>getdistrOption(".DistrCollapse.Unique.Warn")</li>
+ <li>implemented proposal by jacob van etten (collapsing support)</li>
+ </ul>
+ <li>enhance accuracy</li>
+ <ul>
+ <li>improvement of .multm (now sets density for discrete
+distributions for non-support arguments actively to 0)</li>
+ <li>We are a bit more careful about hitting support points in
+.multm for DiscreteDistribution (i.e., for D * e2, e2 numeric, D
+DiscreteDistribution)</li>
+ </ul>
+ </ul>
+ <li>CONTINUOUS DISTRIBUTIONS</li>
+ <ul>
+ <li>gaps/support :</li>
+ <ul>
+ <li>gaps matrix could falsely have 0 rows (instead of being set
+to NULL)</li>
+ <li>class UnivarMixingDistribution gains overall slots gaps
+support</li>
+ <li>added corresponding accessors</li>
+ <li>correspondingly, for UnivarLebDecDistribution as daughter
+class, accessors gaps(), support() refer to "overall" slots, not to
+slots of acPart, discretePart</li>
+ <li>deleted special support, gaps method for
+UnivarLebDecDistribution; now inherits from UnivarMixingDistribution´</li>
+ </ul>
+ <ul>
+ <li>new utility function .consolidategaps to "merge" adjacent
+gaps</li>
+ <li>setgaps method for UnivarMixingDistribution</li>
+ <li>methods</li>
+ <ul>
+ <li> "*", c("AffLinUnivarLebDecDistribution","numeric"),</li>
+ <li> "+", c("AffLinUnivarLebDecDistribution","numeric"),</li>
+ <li>"*", c("UnivarLebDecDistribution","numeric"),</li>
+ <li> "+", c("UnivarLebDecDistribution","numeric"),</li>
+ <li> generating function "UnivarLebDecDistribtion"</li>
+ </ul>
+ <li ="">had to be modified</li>
+ <li>utility 'mergegaps' catches situation where support has
+length 0</li>
+ </ul>
+ <ul>
+ <li>abs - and Truncate - methods for AbscontDistribution use
+'.consolidategaps'</li>
+ </ul>
+ </ul>
+ <li>COMPOUND DISTRIBUTIONS</li>
+ <ul>
+ <li>Compound Distributions are now implemented; see
+?CompoundDistribution, class?CompoundDistribution</li>
+ </ul>
+ <li>UNIVARIATE MIXING DISTRIBUTIONS</li>
+ <ul>
+ <li>fixed some errors / made some enhancements acc. to mail by
+Krunoslav Sever<br>
+ <br>
+ </li>
+ </ul>
+ </ul>
+ <li>ENHANCED ACCURACY BY LOG SCALE</li>
+ <ul>
+ <li>enhanced accuracy for Truncation with Peter Dalgaard's trick</li>
+ <li> passed over to log-scale for getUp, getLow (again to
+enhance accuracy for distributions with unbounded support)</li>
+ <li> introduced new slots .lowerExact and .logExact for
+objects of class "Distribution" (or inheriting) to control whether <br>
+the argument parts log[.p], lower.tail are implemented carefully in
+order to preserve accuracy<br>
+.</li>
+ </ul>
+ <li> ARITHMETICS</li>
+ <ul>
+ <li>enhanced "+" method</li>
+ <ul>
+ <li>for DiscreteDistribution,DiscreteDistribution ---
+catches addition with Dirac-Distribution</li>
+ <li> we enforce to use FFT-based algorithm for
+LatticeDistributions if the supports of both summands may be arranged
+on a common lattice whenever the length of convolutional grid
+(=unique(sort(outer(support1, support2, "+"))) ) is smaller than
+the length of the product grid ( = length(support1) * length(support2)
+)
+--- covers in particular m1*Binom(p,size) + m2*Binom(p',size) when m1,
+m2 are naturals > 1 ...</li>
+ </ul>
+ <li>convpow:</li>
+ <ul>
+ <li>some minor enhancements in convpow and "+",
+"LatticeDistribution","LatticeDistribution"<br>
+ and correction of a buglet there (e.g., lattice width oould get
+too small)</li>
+ <li>method for AcDcLcDistribution gains argument 'ep' to
+control
+when to ignore discrete parts (or a.c. parts) which summands in
+binomial expansion of (acPart+discretePart)^\ast n to ignore</li>
+ <li>minor fix in method for DiscreteDistribution</li>
+ </ul>
+ <li>automatic image distribution generation</li>
+ <ul>
+ <li>slot r is now /much/ faster / slimmer for results of
+*,/,^
+(no split in pos/neg part necessary for this!)</li>
+ <li>slot d for results of *,/, exp() now is correct at 0 by
+extrapolation (and deletion wir .del0dmixfun of half of the part to
+avoid double counting in *,/)</li>
+ </ul>
+ <li>affine linear trafos return slot X0 of AffLin-Construction if
+resulting a=1 and b=0</li>
+ <li>method sqrt() for distributions<br>
+ <br>
+ </li>
+ </ul>
+ <li> PLOTTING</li>
+ <ul>
+ <li>enhanced automatic plotting range selection (calling in both
+scale and quantile based methods)</li>
+ <li>plot-methods in branches/distr-2.1 now accept to.draw.arg no
+matter whether mfColRow==TRUE or FALSE</li>
+ <li>fixed xlim and ylim args for plots; ylim can now be
+matrix-valued...</li>
+ <li>realized suggestions by A. Unwin, Augsburg;<br>
+ plot for L2paramFamilies may be restricted to
+selected subplots;</li>
+ <li>also named parameters are used in axis annotation if available.</li>
+ <li>changed devNew to only open a device if length(dev.list())>0</li>
+ <li>plot (for distribution objects) now is conformal to the
+(automatic) generic, i.e. it dispatches on signature (x,y) and has
+methods for signature(x=<distributionclass>,y="missing")</li>
+ <li>enhanced plotting (correct dispatch; opening of new device is
+controlled by option("newDevice") )</li>
+ <li>new plot function for 'UnivarLebDecDistribution' : now plots 3
+lines</li>
+ <ul>
+ <li>first line common cdf and quantile function <br>
+ </li>
+ <li>second line abscont part</li>
+ <li>third line discrete part<br>
+ <br>
+ <br>
+ </li>
+ </ul>
+ </ul>
+ <li>NEW / ENHANCED METHODS</li>
+ <ul>
+ <li>getLow/getUp:<br>
+now available for UnivarLebDecDistribution, UnivarMixingDistribution</li>
+ <li>q.r, p.l (methods for right continuous quantile function
+and left continuous cdf) <br>
+ </li>
+ <ul>
+ <li>for class AbscontDistribution (q.r with 'modifyqgaps')</li>
+ <li>for class UnivarLebDecDistribution</li>
+ <li> for class UnivarMixingDistribution</li>
+ </ul>
+ <li>prob methods: <br>
+ </li>
+ <ul>
+ <li>prob() for DiscreteDistribution-class returns vector of
+probabilities for the support points (named by values of support
+points) <br>
+ </li>
+ <li> method for UnivarLebDecDistribution: returns a
+two-row matrix with <br>
+ </li>
+ <ul>
+ <li>column names values of support points</li>
+ <li> first row named "cond" the probabilities of discrete
+part</li>
+ <li>second row named "abd" the probabilities of discrete part
+multiplied with discreteWeight; hence the absolute probabilities of the
+support points</li>
+ </ul>
+ </ul>
+ <li>methods p.ac, d.ac, p.discrete, d.discrete: <br>
+ </li>
+ <ul>
+ <li>they all have an extra argument 'CondOrAbs' with default
+value
+"cond" which if it does not partially match "abs", returns exactly slot
+p (resp. d) the respective acPart/discretePart of the object <br>
+ </li>
+ <li> else return value is weighted by acWeight/discreteWeight</li>
+ </ul>
+ <li>new function 'makeAbscontDistribution'</li>
+ <ul>
+ <li>to convert arbitrary univariate distributions to
+AbscontDistribution: takes slot p and uses AbscontDistribution(); in
+order to smear out mass points on the border,<br>
+makeAbscontDistribution() enlarges upper and lower bounds</li>
+ </ul>
+ <li>flat.LCD:<br>
+setgaps is called only if slot gaps is not yet filled</li>
+ <li>general technique: more freguent use of .isEqual</li>
+ <li>new / enhanced utilities (non-exported)</li>
+ <ul>
+ <li>'modifyqgaps' in order to achieve correct values for slot
+q
+in case slot p hast constancy regions (gaps)</li>
+ <li>.qmixfun can cope with gaps and may return both left and
+right continuous versions</li>
+ <li>.pmixfun may return both left and right continuous versions
+in case slot p hast constancy regions (gaps)<br>
+ <br>
+ </li>
+ </ul>
+ </ul>
+ <li> DOCUMENTATION</li>
+ <ul>
+ <li>new section "Extension packages" in package-help file
+0distr-package.Rd</li>
+ <li>mention of CompoundDistribution-class in package-help file
+0distr-package.Rd of devel version</li>
+ <li>new vignette "How to generate new distributions in packages
+distr, distrEx" in package distr ...<br>
+ <br>
+ </li>
+ </ul>
+ <li>Rd-style:</li>
+ <ul>
+ <li> several buglets detected with the fuzzier checking
+mechanism</li>
+ <ul>
+ <li>cf [Rd] More intensive checking of R help files, Prof Brian
+Ripley, 09.01.2009 10:25)</li>
+ <li> [Rd] Warning: missing text for item ... in \describe? ,
+Prof Brian Ripley</li>
+ </ul>
+ </ul>
+ <li>S4 ISSUES:</li>
+ <ul>
+ <li>fixed setGenerics- error reported by Kurt Hornik...<br>
+"log", "log10", "gamma", "lgamma" are no longer redefined as generics.</li>
+ <li>explicit method "+" for Dirac,DiscreteDistribution</li>
+ <li>some changes to the connections between LatticeDistribution and
+DiscreteDistribution resp. between AffLinLatticeDistribution and
+AffLinDiscreteDistribution. <br>
+ </li>
+ <li> key issues:</li>
+ <ul>
+ <li>JMC has changed the way non-simple inheritance [i.e. in the
+presence of setIs relations] is treated (see distr; in particular
+show, and operator methods for LatticeDistribution) </li>
+ <li>introduced some explicit methods for LatticeDistribution, as
+due to setIs Relation<br>
+it may no longer be inherited automatically from DiscreteDistribution
+since JMC's changes in S4 inheritance mechanism Sep/Oct 08</li>
+ </ul>
+ </ul>
+ <li>BUGFIXES</li>
+ <ul>
+ <li>fixed a buglet in initialize for Cauchy Distribution</li>
+ <li>fixed bug in "+",LatticeDistribution,LatticeDistribution</li>
+ <li>it may be that even if both lattices of e1, e2 have same
+width,
+the convoluted support has another width! example: c(-1.5,1.5),
+c(-3,0,3)</li>
+ <li>matrix-valued ylim argument has not yet been dealt with
+correctly</li>
+ <li>fixed bug in plot-methods for argument "inner" under use of
+to.draw.arg argument</li>
+ <li>fixed a bug in convpow-method for AbscontDistribution</li>
+ <li>small buglets in plot-methods.R and plot-methods_LebDec.R
+(moved setting of owarn/oldPar outside)</li>
+ <li>fixed a bug in UnivarMixingDistribution.R (with new argument
+Dlist)</li>
+ <li>fixed a bug discovered by Prof. Unwin --- "+" trapped in
+a dead-lock coercing between DiscreteDistribution and
+LatticeDistribution</li>
+ <li>fixed a small buglet in convpow().</li>
+ <li>fixed buglet in devel version of distr: getLow.R (wrong place
+of ")" )</li>
+ <li>fixed some errors in plotting LCD and CompoundDistribution(and
+enhanced automatic axis labels by some tricky castings...)</li>
+ <li>UnivarMixingDistribution was too strict with sum mixCoeff == 1</li>
+ <li>deleted some erroneous prints left over from debugging in
+ExtraConvolutionMethods.R</li>
+ <li>fixed some buglets in plot for distr (only in branch)</li>
+ <li>fixed redundant code in bAcDcLcDistribution.R</li>
+ <li>Patch to bug with AffLinAbscontDistribution</li>
+ <li> correction of small buglet in validity to Norm-class</li>
+ <li>fixed bug with AffLinAbscontDistribution for a*X+b,
+distribution X >=0<br>
+ <br>
+ <br>
+ </li>
+ </ul>
+ <li> LICENSE: moved license to LGPL-3<br>
+ </li>
+</ul>
+<span style="font-weight: bold;"><br>
+</span></div>
+<h3 style="text-align: left;">Changes from 2.1 to
+2.2<br>
+</h3>
+<li> TEMPLATE </li>
<hr style="width: 100%; height: 2px; color: rgb(0, 0, 0);">
<h2 style="text-align: center; color: rgb(0, 0, 153);">Our plans for
the next version:</h2>
@@ -1027,10 +1336,6 @@
style="color: rgb(51, 102, 255);">runif</span> in <span
[TRUNCATED]
To get the complete diff run:
svnlook diff /svnroot/distr -r 418
More information about the Distr-commits
mailing list