Skip to content

SSolarski/spatialvinecopula

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spatial Vine Copulas

A project for the Current Research Seminar WS22/23 by Christian Soraruf and Stefan Solarski at LMU.

Contents

The main file is a Jupyter notebook "Spatial Vine Copulas". It contains all of our outputs and visualizations.

The three main classes DataSets, SpatialCopula and SpatialVineCopula are located in the spvinecopulib.py file in the functions folder.

The main example dataset meuse can be loaded in the notebook using the skg package.

Setup

Clone the repository and use pip, or another package manager, to install the requirements.

git clone https://github.com/SSolarski/spatialvinecopula.git
cd spatialvinecopula
pip install -r requirements.txt

Necessary packages are given in "requirements.txt".

The notebook can be run as is. (we used Python v3.8.8).

Optional

The alternative datasets from the SIC2004 exercise are saved as .csv files in the sic2004data_01 folder.

If you wish to run the algorithm on this dataset please uncomment the notebook cell which loads the optional dataset.

Acknowledgment

This work was based on ideas presented in the paper "Modelling skewed spatial random fields through the spatial vine copula" by Benjamin Gräler.

Our code is an attempt of recreating the functionalities of the R library spcopula by the same author.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published