econometrics using r, computer programming, Programming Languages

Assignment Help:
EF308 Assignment 2
Due: 3pm, 26 April 2012
Introduction
This assignment is loosely based on Cheung et al. (2005)
and Molodtsova and Papell (2009) and examines the out-of-
sample predictability of exchange rates.
Methodology
Let st denote the (natrual) log of the spot rate per foreign
currency unit. The forecasting models we consider are of the
form
st+k ?? st = 0 + 1xt + t+k (1)
where k is the forecast horizon and we limit xt to be a single
variable. You will be evaluating and comparing the predic-
tive content of the following xt variables. A variable with an
asterisk  is the foreign counterpart of the home variable.
• xt = 0 or 1 = 0. This is the baseline random walk with
drift model (Meese and Rogo , 1983).
• xt = it??it
where it is the home interest rate. If 0 = 0 and
1 = 1, this is the log-linearized version of the uncovered
interest parity condition. This is equation (5) of Cheung et
al. (2005).
• xt = pt ?? pt
?? st where pt is the log home price level. xt
is the (negative) real exchange rate; see equation (1) of
Cheung et al. (2005).
• xt = (mt ?? mt
) ?? (yt ?? y
t ) ?? st where mt is the log home
money supply and yt is the log home income. These are
the variables that determine the equilibrium exchange rate
in macro monetary models; see equation (2) of Cheung et
al. (2005).
• xt = 1:5(t??
t )+0:1(gt??g
t ) where t is the home in
ation
rate and gt is the home output `gap.'' gt is measured as the
percent deviation of real GDP from an estimate of its `po-
tential'' level. This is a simpli ed version of the symmetric
Taylor rule in Molodtsova and Papell (2009).
• xt = 1:5(t ?? 
t ) + 0:1(gt ?? g
t ) + 0:1(st + pt
?? pt). The
additional term in this Taylor rule is the real exchange rate.
This is the asymmetric Taylor rule in Molodtsova and Pa-
pell (2009).
Data
The data le forex06.csv posted at Moodle contains monthly
data from 1971-01 to 2006-06. The rst line of the data le
contains the names of each column variable. The variable
names are described in the sample code. The home currency is
the U.S. dollar and the foreign currencies are the japanese yen
(jap), canadian dollar (can), swiss franc (sz), british pound
(uk), swedish krona (sw), australian dollar (aus), and danish
krone (den).
Assignment
Each student is assigned one of the four currencies. The as-
signment is to examine and compare the predictive content of
the six variables described above for your assigned currency.
(a) Report and compare the in-sample ts of the model (1)
for the six xt variables for the sample up to 1982-02. Do
this for one-month ahead (k = 1) and one-year ahead
(k = 12) change in the (log) spot exchange rate.
(b) Report and compare the out-of-sample predictability of
the model (1) for the six xt variables and for one-month
ahead (k = 1) and one-year ahead (k = 12) change in the
(log) spot exchange rate. Do this for the pseudo out-of-
sample period after 1982-02 using recursive (expanding
window) and rolling ( xed window) forecasts.
Submission Instructions
Due
The second assignment is due 3pm, 26 April 2012. You must
electronically submit your assignment report via Moodle. No
late assignment reports are accepted without an extenuating
circumstances form. Follow the link in Moodle to submit the
assignment until you get to the Turnitin submit page. From
there, choose `single le upload'' for submission method, type
your name, and for the submission title put in your name.
Your report must be submitted before 3pm of the due date.
The system will not accept submissions after that time. You
should submit your report well in advance of the due time.
Excuses such as `the internet connection was down'' will not
be accepted for missing the due time.
The due time is based on Turnitin''s system clock, not your
computer''s clock. Do not be surprised if the Turnitn clock is
ve minutes ahead of your computer clock. You must submit
your report well in advance of the due time. Turnitin does
not accept submissions after the deadline.
If your submission is accepted by Turnitin, you should re-
ceive a digital receipt by email. Retain this message until
your mark for this course appears on your portal page. If
you did not receive a digital receipt, your submission was not
accepted. Try again. If you still do not get a digital receipt,
email me your report before the due time.
Report Format
Your report must be typeset as an A4-sized document either
inWord (.doc) or .pdf format. The report should begin with a
title section that clearly lists your name, student ID number,
and DCU email address. Without this information, you will
not be credited a mark for this assignment. A project report
template is posted at Moodle; please follow the same format.
Use a reasonable (i.e. legible) font size, line spacing, and
margins. There is no limit or requirement in terms of word
counts or page numbers. However, your report should be
kept short and to the point. Read the questions carefully.
Marks will be deducted for long answers that are not directly
relevant to the question.
Software
You are free to use any software for the assignments. How-
ever, I cannot provide assistance other than the use of R. I
encourage you to at least give R a try; consider this a good
opportunity to learn it. If you nd it too dicult to use, I
recommend that you use either Stata or EViews. Whatever
you decide to use, it is important that you become pro cient
in its use so that you have a tool you can use for your own
data analysis. If you want to install R on your own computer,
read the R Guide.
H.Kawakatsu 1 of 2
Assignment 2, 2012 EF308
General Advice
• Do not include program or code in the main text of the
report. Put all such information in an Appendix with a
smaller xed width font at the end of your report.
• When you report estimation results, do not copy-and-paste
output from the software. Properly format them into tables
or graphs as is done in academic journals. In particular, do
not report too many digits (just because the software prints
them).
• Use tables and gures e ectively. Each table and gure
must be accompanied by a caption or note explaining the
contents of the display (e.g. what are the numbers in paren-
theses?).
• When you quote results from other sources, clearly indicate
the source. For example, there is no need to rederive stan-
dard statistical results in your report; just quote from the
relevant sources. Improper attribution can result in plagia-
rism, equivalent to rst degree murder in academia. In the
text of your report, it is standard to refer to these citations
simply as author (date), e.g. Smith (1992) or Smith (1992,
p.27). Consult Citing & Referencing for further guidance
such as styles for quoting a web site.
• Do not use footnotes or endnotes.
• Do not \decorate" your report. You do not get additional
marks for using fancy fonts, glittering colors, or blinking
images.
References
Cheung, Yin-Wong, Menzie D. Chinn, and Anto-
nio Garcia Pascual, \Empirical Exchange Rate Models
of the Nineties: Are Any Fit to Survive?," Journal of In-
ternational Money and Finance, 2005, 24, 1150{1175.
Meese, Richard A. and Kenneth Rogo , \Empirical Ex-
change Rate Models of the Seventies: Do They Fit Out of
Sample?," Journal of International Economics, 1983, 14,
3{24.
Molodtsova, Tanya and David H. Papell, \Out-of-
sample exchange

Related Discussions:- econometrics using r, computer programming

Python, interference of waves

interference of waves

Identify the type of addressing, specify the function of the instruction an...

specify the function of the instruction and also specify whether its right or wrong-: (5) 1) MOV [BX],AX? Register Indirect addressing 2) MOV CX,[BX+DI]?Base plus index add

Create calculate total project code uml models, Consider a system that has ...

Consider a system that has the following UML models: Use Case for CalculateTotalProjectCost Trigger: End of each month Normal Flow of Events For each project in the pro

Program to output a triangle wave, 1.) Write a flowchart and program to do ...

1.) Write a flowchart and program to do the following: A pressure sensor in a cooling system measures the pressure of the refrigerant and is connected to Port -1 of the 8051. If th

Calculate the sum of negative elements of specified column, Write a program...

Write a program that will generate 25 DWORD values in the range from +/-50 representing a two dimensional array of size 5 x 5. It should then display the array as a table (5 x 5) b

Explain the booch methodology, Problem 1 Explain the Booch Methodology ...

Problem 1 Explain the Booch Methodology 2 Why does every interaction diagram need a written description? Explain 3 Explain the five core workflows of the Unified Process

Python: returning one dimensional list from strings , How to build one dime...

How to build one dimensional list from string and build string from a list? Suppose input string is: STACKOVERFLOW then the output list should be outputList = [S,T,A,C,K,O,V,E,R,F

Online Business Systems, Task .Task 1 Database design This task will allow...

Task .Task 1 Database design This task will allow you to demonstrate the following Learning Outcomes (LOs): LO 2. Justify the design and development of the application and critica

What is an authentication subsystem, Question: (i) All Security authen...

Question: (i) All Security authentication mechanism that run on the TRU64 Unix Operating system run under the Security Integration Architecture (SIA ) layer. Explain with di

Count the total number of records in data table, Normal 0 false...

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd