Skip to content

Utility

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

#Utility

In the utility section are now implemented 5 functions


  • getprice() download from yahoo answer the financial data

  • pvs_mat() does compute the matrices with all the test p-values for every combination with confidence/VaR methods, using the EWMA_RiskMetrics from R-Code

  • max_pv() find the higher p-value from the matrices and doing so find the best way to estimate VaR

  • study() conduct a complete study on a title implementing all the functions before

  • display_study() conduct complete studies on multiple titles and returns the last VaR, this is the function used to compute the actual risk from a set of financial instruments