GithubHelp home page GithubHelp logo

wl935 / es_reg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bayerse/esreg

0.0 0.0 0.0 172 KB

The goal of esreg is to simultaneously model the quantile and the expected shortfall of a response variable given a set of covariates.

Home Page: https://projecteuclid.org/euclid.ejs/1559872834

R 54.74% C++ 45.26%

es_reg's Introduction

esreg

The goal of esreg is to simultaneously model the quantile and the Expected Shortfall of a response variable given a set of covariates.

Installation

CRAN (stable release)

You can install the released version from CRAN:

install.packages("esreg")

GitHub (development)

The latest version of the package is under development at GitHub. You can install the development version using these commands:

install.packages("devtools")
devtools::install_github("BayerSe/esreg")

If you are using Windows, you need to install the Rtools for compilation of the codes.

Examples

# Load the esreg package
library(esreg)

# Simulate data from DGP-(2) in the paper
set.seed(1)
x <- rchisq(1000, df = 1)
y <- -x + (1 + 0.5 * x) * rnorm(1000)

# Estimate the model and the covariance
fit <- esreg(y ~ x, alpha = 0.025)
cov <- vcov(object = fit, sparsity = "nid", cond_var = "scl_sp")

References

A Joint Quantile and Expected Shortfall Regression Framework

es_reg's People

Contributors

bayerse 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.