Description Usage Arguments Examples
This function give the expected loss of given asset returns.
1 | pt.exploss(r,p)
|
r |
:a vector of periodic returns |
p |
:target return |
1 2 3 | rt <- runif(12,-1,1) # generate random number to simulate returns
pt.exploss(rt,0)
pt.exploss(rt,1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.