Giter VIP home page Giter VIP logo

charfun's Introduction

CharFun: The Characteristic Functions Package

R repository of characteristic functions and tools for their combinations and numerical inversion.

For the R version of the package see the CharFun package development available at

For current status of the MATLAB toolbox (not an identical clone) see the CharFunTool development available at

About

The Characteristic Functions Package (CharFun) consists of a set of algorithms for evaluating selected characteristic funcions and algorithms for numerical inversion of the (combined and/or compound) characteristic functions, used to evaluate the probability density function (PDF) and the cumulative distribution function (CDF).

The package includes inversion algorithm, including those based on simple trapezoidal rule for computing the integrals defined by the Gil-Pelaez formulae, and/or by using the FFT algorithm for computing the Fourier transform integrals.

Installation and requirements

CharFun was developed with R version 3.3.1 (2016-06-21).

To install, you can either clone the directory with Git or download a .zip file or install package from R CRAN-repository.

Option 1: Download .zip file

Download a .zip of CharFun from

After unzipping, you will need open CharFun.Rproj.

Option 2: Clone with Git

To clone the CharFun repository, first navigate in a terminal to where you want the repository cloned, then type

git clone https://github.com/simkova/CharFun.git

and you will need open CharFun.Rproj.

Option 3: Install package

You can download package from

in installe packages in R-studio you chose Package Archive File (.tar.gz).

Getting started

We recommend taking a look at the Examples collection.

To get a taste of what computing with CharFun is like, type

   cf <- function(t) exp(-t^2/2)  # the standard normal characteristic function (CF)
   result <- cf2DistGP(cf)   # Invert the CF to get the CDF and PDF   

License

See LICENSE for CharFun licensing information.

charfun's People

Contributors

simkova avatar witkovsky avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.