Git Product home page Git Product logo

techtonique / esgtoolkit Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 3.0 2.06 MB

Tools for Stochastic Simulation using diffusion models (R).

Home Page: https://techtonique.github.io/ESGtoolkit/

License: BSD 3-Clause Clear License

R 83.15% C++ 16.85%
simulation stochastic-simulation monte-carlo-methods monte-carlo-simulation montecarlo-simulation scenario-analysis scenario-creator scenario-generation stochastic-differential-equations stochastic-processes

esgtoolkit's Introduction

esgtoolkit | Star

Last Commit HitCount

Important: Starting with 1.0.0, the package is renamed as lower case 'esgtoolkit' (to finally remove all my active packages from CRAN)

A toolkit for Monte Carlo Simulations in Finance, Economics, Insurance, Physics. Multiple simulation models can be created by combining building blocks provided in the package.

For more details, you can read the package vignette on ResearchGate. Functions' documentation can be found in section 'Reference' of the website.

Table of Contents

Installation

  • From Github:
library(devtools)
devtools::install_github("Techtonique/esgtoolkit")
  • From R universe:
# Enable universe(s) by techtonique
options(repos = c(
  techtonique = 'https://techtonique.r-universe.dev',
  CRAN = 'https://cloud.r-project.org'))

# Install some packages
install.packages('esgtoolkit')

Quickstart

In addition to the example below, you can read:

  • this blog's archives
  • the functions' examples in section 'Reference' on the website contain code + a lot graphs
library(esgtoolkit)

# Geometric Brownian Motion (https://en.wikipedia.org/wiki/Geometric_Brownian_motion)

eps0 <- simshocks(n = 100, horizon = 5, frequency = "quart")
sim.GBM <- simdiff(n = 100, horizon = 5, frequency = "quart",   
               model = "GBM", 
               x0 = 100, theta1 = 0.03, theta2 = 0.1, 
               eps = eps0)
esgplotbands(sim.GBM, xlab = "time", ylab = "values", main = "with esgplotbands")                
matplot(as.vector(time(sim.GBM)), sim.GBM, type = 'l', main = "with matplot")

Contributing

Your contributions are welcome, and valuable. Please, make sure to read the Code of Conduct first.

If you're not comfortable with Git/Version Control yet, please use this form.

License

BSD 3-Clause Clear © Thierry Moudiki, 2014.

<script async defer src="https://buttons.github.io/buttons.js"></script>

esgtoolkit's People

Contributors

thierrymoudiki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

esgtoolkit's Issues

ESGtoolkit package no longer on CRAN

Hi,

first of all: thank you so much for working on this package and contributing all this work to the community. It is greatly appreciated and this issue is not to be understood as any kind of demand. I just want to understand what is happening.

I have found this repo after the ESGtoolkit package on CRAN has been archived (since the CDvine package has been archived). I could not find any information on why this is the case neither do I know the general process of archiving packages on CRAN. Noticing this, I have googled a bit and found this repository. What I also noticed is that you fixed the problem by using the VineCopula package.

My question is: will this change make it to CRAN eventually? And generally, what is the state of this project? On CRAN I can see that the original package was released in 2014 and then the next update was in August of this year. Are you maintaining this package from now on?

Thank you so much!

Alexander

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.