
reply is inline

-  Regards,

          \\\|||||///
       \\   -    -   //
        (  o   o  )
oOOo-(_)-oOOo--------
|
| Gaurav Yadav
| Assistant Manager, CCIL, Mumbai (India)
| Mob: +919821286118 Email: emailtogauravyadav@gmail.com
| Man is made by his belief, as He believes, so He is.
|                                           --- Bhagavad Gita 
|_______Oooo________
         oooO(      )
         (      )   )   /
          \   (    (_/
            \_ )



++++++++++++++++++
apply(tstock,2,function(x) VaR(x,alpha=0.01)) # are these the right VaR's
for the stockfonds?
@@@ you can yourself see it, you have around 579 observation and 1% of it 
mean 5.79th observation
Thus if you become risk averse then you take the 5th smallest value and 
otherwise 6th value.
So just sort the returns in ascending order and then see the 5th and the 
6th values


> sorted_espa_stock_europe<-sort(tstock[,2])
> sorted_espa_stock_europe[5]
[1] -2.86
> sorted_espa_stock_europe[6]
[1] -2.74
> 

your code gives -2.86 thus you can get the rest :-) cheers

.



============================================================================================
DISCLAIMER AND CONFIDENTIALITY CAUTION:\ \ This message and ...{{dropped}}

