[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#618789: ITP: r-cran-stabledist -- Stable distribution functions



Package: wnpp
Owner: Dirk Eddelbuettel <edd@debian.org>
Severity: wishlist

* Package name    : r-cran-stabledist
  Version         : 0.6-0
  Upstream Author : Diethelm Wuertz and Martin Maechler
* URL or Web page : http://cran.r-project.org/web/packages/stabledist/index.html
* License         : GPL (>= 2)
  Description     : Stable distribution functions

This is code that was factored out of the existing package fBasics (aka
r-cran-fbasics) which will now depend on it.  Martin Maechler, an R Core
member, refactored and improved it.  

In case you want to read up on stable distributions, you can start here at
http://en.wikipedia.org/wiki/Stable_distribution 

The debian/control file is

  Source: r-cran-stabledist
  Section: gnu-r
  Priority: optional
  Maintainer: Dirk Eddelbuettel <edd@debian.org>
  Build-Depends: debhelper (>= 7.0.0), r-base-dev (>= 2.12.2), cdbs
  Standards-Version: 3.9.1
  Homepage: http://www.rmetrics.org
   
  Package: r-cran-stabledist
  Architecture: any
  Depends: ${shlibs:Depends}, r-base-core (>= 2.12.2)
  Suggests: r-cran-runit, r-cran-fbasics
  Description: GNU R package for stable distribution functions
   This package provides density, probability and quantile functions,
   and random number generation for (skew) stable distributions, using
   the parametrizations of Nolan.
  
and my copyright draft (yes, with an outdated FSF address but I just emailed
Martin about it) is below.  There are only three source files and the two
main ones carry the (old) FSF snippets but no per-file copyright assignments.

Cheers, Dirk


  This is the Debian GNU/Linux r-cran-stabledist package of stabledist,
  a set of function for density, probability and quantile functions, and
  random number generation for (skew) stable distributions. It was
  factored out of the Rmetrics package fBasics which now depends on
  it. Rmetrics is a collection of packages for financial engineering and
  computational finance. stabledist was started by Diethelm Wuertz
  andwas extended by Martin Maechler who now maintains it.
  
  This package was created by Dirk Eddelbuettel <edd@debian.org>.
  The sources were downloaded from the main CRAN site
  	http://cran.r-project.org/src/contrib/
  and are also available from all CRAN mirrors as e.g.
  	http://cran.us.r-project.org/src/contrib/
  
  The package was renamed from its upstream name 'stabledist' to
  'r-cran-stabledist' to fit the pattern of CRAN (and non-CRAN) packages for
  R.
  
  Copyright (C) 1999 - 2008 Diethelm Wuertz
  Copyright (C) 1999 - 2010 Rmetrics Foundation
  Copyright (C) 2011 - 2010 Diethelm Wuertz and Martin Maechler
  
  License: GPL
  
  stabledist is copyright by Diethelm Wuertz, Martin Maechler and
  others, and released under the GNU General Public License (GPL)
  version 2 or greater.
  
  On a Debian GNU/Linux system, the GPL license (v2) is included in the
  file /usr/share/common-licenses/GPL-2.
  
  For reference, the upstream DESCRIPTION file is included below:

   Package: stabledist
   Version: 0.6-0
   Date: 2011-03-12
   Title: Stable Distribution Functions
   Author: Diethelm Wuertz, Martin Maechler and Rmetrics core team
           members.
   Maintainer: Martin Maechler <maechler@stat.math.ethz.ch>
   Depends: R (>= 2.10.1)
   Suggests: fBasics, RUnit
   Description: Density, Probability and Quantile functions, and random
           number generation for (skew) stable distributions, using the
           parametrizations of Nolan.
   LazyLoad: yes
   LazyData: yes
   License: GPL (>= 2)
   URL: http://www.rmetrics.org
   Packaged: 2011-03-14 13:15:38 UTC; maechler
   Repository: CRAN
   Date/Publication: 2011-03-15 16:41:43
           
  and the following segment was extracted from the header of
  R/dist-stableMode.R [ and yes, that is the old FSF address but I am
  quoting here ]
  
     # This R package is free software; you can redistribute it and/or
     # modify it under the terms of the GNU Library General Public
     # License as published by the Free Software Foundation; either
     # version 2 of the License, or (at your option) any later version.
     #
     # This R package is distributed in the hope that it will be useful,
     # but WITHOUT ANY WARRANTY; without even the implied warranty of
     # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     # GNU Library General Public License for more details.
     #
     # You should have received a copy of the GNU Library General
     # Public License along with this R package; if not, write to the
     # Free Foundation, Inc., 59 Temple Place, Suite 330, Boston,
     # MA  02111-1307  USA
     
     
     ################################################################################
     # FUNCTIONS:		DESCRIPTION:
     #  stableMode		 Computes the mode of the stable DF
     ################################################################################
     
     ##' Computes the mode of the alpha stable distribution
     ##' @title Mode of the stable distribution
     ##' @param alpha
     ##' @param beta
     ##' @param beta.max for numerical purposes, values of beta too close to 1,
     ##'  are set to beta.max
     ##' @param tol numerical tolerance used in optimize()
     ##' @return a number, the stable mode
     ##' @author Diethelm Wuertz and Martin Maechler
   


-- 
Dirk Eddelbuettel | edd@debian.org | http://dirk.eddelbuettel.com



Reply to: