Univariate
From viewtopic.php?p=19356&hilit=would+give+ ... o+a#p19356 , the univariate case
"
The g10xrate file has all currencies quoted as USD value of a foreign currency unit whether that is the standard quotation or not.
set x = -100.0*log(usxjpn/usxjpn{1})
would give you the return to a long position of $100 US.
set x = +100.0*log(usxjpn/usxjpn{1})
would give you the return to a long position of 100 yen.
"
Multivariate
Here: https://estima.com/webhelp/topics/garch ... aprpf.html
Code: Select all
open data g10xrate.xls
data(format=xls,org=columns) 1 6237 usxjpn usxfra usxsui
set xjpn = +100.0*log(usxjpn/usxjpn{1})
set xfra = +100.0*log(usxfra/usxfra{1})
set xsui = +100.0*log(usxsui/usxsui{1})
ENTRY USXJPN USXFRA USXSUI XJPN XFRA XSUI
1 0.3317960118 19.5224801359 26.5153523890 NA NA NA
2 0.3317519822 19.4950774929 26.5703050271 -0.013270961698 -0.140463161565 0.207033916140
3 0.3320053121 19.5099110348 26.5449139945 0.076332091406 0.076059720436 -0.095607379587
4 0.3318951211 19.5198126098 26.5597195294 -0.033195038142 0.050738638595 0.055759862374Is it?
Portfolio View: USD-Based Investor
If I'm LONG this portfolio:
• Short USD vs. Long foreign currencies (JPY, FRA, SUI).
• Benefiting when USD depreciates.
If I'm SHORT this portfolio:
• Long USD vs. Short foreign currencies.
• Benefiting when USD appreciates.
So as they are +'s in front of the returns: would give the portfolio return to a LONG position of 100.0*(optimal weights*returns) i.e the realized (actual) return of the portfolio = 100.0*(wjpn*xjpn + wfra*xfra + wsui*xsui). Is that from the point-of-view of a USD-Based investor or Foreign-Based Investor?
Or do I need to put minus signs, then what's the interpretation?
Code: Select all
set xjpn = -100.0*log(usxjpn/usxjpn{1})
set xfra = -100.0*log(usxfra/usxfra{1})
set xsui = -100.0*log(usxsui/usxsui{1})The analysis should ideally be consistent as in the univariate case where I have modelled:
Code: Select all
*My raw data USDJPY = 140.00 (say)
set p = 1.0/USDJPY
set lp = log(p)
diff lp / dlp
set dlp = -dlp; * would give you the return to a long position of $100 US
Thereafter, the extra line above was put in
Code: Select all
set dlp = -dlp; * would give you the return to a long position of $100 USthanks,
Amarjit