pt.exploss: Expected loss

Description Usage Arguments Examples

View source: R/pt.exploss.R

Description

This function give the expected loss of given asset returns.

Usage

1

Arguments

r

:a vector of periodic returns

p

:target return

Examples

1
2
3
rt <- runif(12,-1,1) # generate random number to simulate returns
pt.exploss(rt,0)
pt.exploss(rt,1)

YRmisc documentation built on March 25, 2020, 5:13 p.m.

Related to pt.exploss in YRmisc...