Project details for Generalised Stirling Numbers libstb 1.0

Logo Generalised Stirling Numbers libstb 1.0 1.0

by wbuntine - February 18, 2012, 12:05:06 CET [ Project Homepage BibTeX BibTeX for corresponding Paper Download ]

view ( today), download ( today ), 1 comment, 0 subscriptions


This source directory contains three library routines (in "stable.c", "ttable.c" and "sapprox.c") that provide alternative ways of computing generalised second order Stirling numbers used in working with Pitman-Yor and Dirichlet processes (PYP and DP).
Included is a tester, "check.c", is example use as well as a worked example of posterior sampling on the discount and concentration parameters of the PYP/DP.

Tested on a few versions on Ubuntu Linux and MacOSX. Requires the GSL (GNU Scientific Library) for polygamma functions.

Changes to previous version:

Initial Announcement on

BibTeX Entry: Download
Corresponding Paper BibTeX Entry: Download
Supported Operating Systems: Linux, Mac Os X
Data Formats: Agnostic
Tags: Pitman Yor Process, Poisson Dirichlet Process, Stirling Number
Archive: download here


Wray Buntine (on September 28, 2012, 13:54:17)
I rebuilt all the interfaces and moved some of the tricks from the earlier system into the new code. Thus the tables rebuild automatically as needed, and a float version can also be used.

Leave a comment

You must be logged in to post comments.