Introducing Statistics for Objective-C

I have just released version 1.0 of Statistics: an Objective-C Foundation framework inspired by Perl’s Statistics::Descriptive. It has a similar interface, though is not a straight port.

Straight out of the box this framework provides count; min; max; range; mindex; maxdex; biased and unbiased variance and standard deviation; mode; median; percentile; arithmetic, harmonic, and geometric mean; and frequency distribution, optionally cumulative.

In addition you can return a new statistics object seeded with the same data but with outliers discarded. Perfect if you’re interested in the trimmed mean.

The code is released under the BSD license. If this sounds interesting you really should head over to the Statistics site and check out the online API docs. Said API docs, by the way, even integrates into Xcode 3 (curtsy of Doxygen). What more could you want?

2 Comments »

  1. juan said

    The site http://code.brautaset.org/Statistics is down.

    Where can we download the project?

    Regards

  2. skugg said

    Try http://github.com/stig/Statistics

RSS feed for comments on this post · TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.