Skip to content

R: calc_VaRnp()

Solbiati Alessandro edited this page Jul 31, 2016 · 2 revisions

calc_VaRnp<- function(Serie,conf,VaR,s_startdate,s_enddate)


##Description

Compute Non Parametric Value at Risk, that means no assumption on the distribution of the returns. Ff VaR==FALSE compute Non Parametric Expected Shortfall


##Usage

  • Serie –> the time-serie object with financial data
  • conf -> confidence level
  • start_date -> start date for the statistical sample
  • end_date -> end date for the statistical sample
  • VaR -> TRUE/FALSE to compute VAR/ES
Clone this wiki locally