This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
==================================================
This library is now part of the ambhas
(http://pypi.python.org/pypi/ambhas/) library.
Updates will only be made in the ambhas library.
==================================================


============
Copulalib
============

This is a package/library in python to model the copulas.
This is being developed under the project `AMBHAS <http: www.ambhas.com=""/>`_.

This contains module for the following copula
------------------------------------------------
* Frank
* Clayton
* Gumbel


Installing copulalib
======================

Installing copulalib can be done by downloading source file (copulalib--<version>.tar.gz),
and after unpacking issuing the command::

python setup.py install

This requires the usual Distutils options available.

Or, download the copulalib--<version>.tar.gz file and issue the command::

pip /path/to/copulalib--<version>.tar.gz

Or, directly using the pip::

pip install copulalib


Usage
=========
Import required modules::

import numpy as np
import matplotlib.pyplot as plt
from copulalib.copulalib import Copula

Generate random (normal distributed) numbers::

x = np.random.normal(size=100)
y = 2.5*x+ np.random.normal(size=100)

Make the instance of Copula class with x, y and clayton family::

foo = Copula(x, y, family='clayton')

Print the Kendall's rank correlation::

print foo.tau

Print spearmen's correlation::

print foo.sr

Print pearson's correlation::

print foo.pr

Print the parameter (theta) of copula::

print foo.theta

Generate the 1000 samples (U,V) of copula::

X1, Y1 = foo.generate_xy(1000)

For more details see the test.py file inside module.

Changelog
=========

1.1.0 (June 2011)
------------------

- Changed from function orieted to object oriented, documentation improved.

1.0.0 (May 2011)
------------------

- Initial release


Any questions/comments
=========================
If you have any comment/suggestion/question,
please feel free to write me at satkumartomer@gmail.com

So far, the documents are not well explained,
I will be updating them soon.
Release History

Release History

1.1.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
copulalib-1.1.0.linux-x86_64.exe (68.7 kB) Copy SHA256 Checksum SHA256 any Windows Installer Jun 18, 2011
copulalib-1.1.0.linux-x86_64.tar.gz (7.3 kB) Copy SHA256 Checksum SHA256 any Dumb Binary Jun 18, 2011
copulalib-1.1.0.tar.gz (13.8 kB) Copy SHA256 Checksum SHA256 Source Jun 18, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting