ECMT2130 | ECMT2130: Financial econometrics Tutorial 04: Portfolio optimisation in R

ECMT2130: Financial econometrics Tutorial 04: Portfolio optimisation in R

联系我们: 手动添加方式: 微信>添加朋友>企业微信联系人>13262280223 或者 QQ: 1483266981

ECMT2130: Financial econometrics

Tutorial 04: Portfolio optimisation in R

We are taking a detour via linear regression this week and we are doing so using R. This is speci cally relevant to the literature on testing asset pricing models, our upcoming focus in lectures. It is also contextual background for the univariate time-series econometrics that will be the focus of the second half of this course.

This assignment introduces the use of OLS estimation of simple linear time-series models. You should learn to load data from packages, estimate OLS regressions and be able to identify what the various numbers are in the regression summary output.

Begin by reading a background brie ng on the economics behind the regression being done in this assignment.

This assignment introduces you to the following new R skills:

1. loading data from R packages

2. de ning linear regression models

3. estimating linear regression models

By working with common macro-economic time series, this assignment introduces the com- plexities introduced by dynamic time series.

1 R assignment

1. Download the starting point script for this assignment and set it up in an R project in the usual way.

2. Modify and run the code in the script to answer the various questions in the Canvas quiz (they are also embedded in the comments in the starting point script). Enter your results into the Canvas quiz for this week’s assignment.

发表评论

了解 KJESSAY历史案例 的更多信息

立即订阅以继续阅读并访问完整档案。

继续阅读