Question: There are two csv files available in this question (you cannot see them, but they are on the Matlab server ready for access): ORCL.csv stores

There are two csv files available in this question (you cannot see them, but they are on the Matlab server ready for access): ORCL.csv stores monthly total returns on the stock Oracle for the period 2016-2020. MKT_RF.csv stores the monthly total return on the market portfolio (CRSP value-weighted index) and the risk-free rate. Create the following three tables by using the readtable command: 1. A 60x3 table named ORCL_table with the following columns in this order: [ 'DATE' TICKER' 'RET'] 2. A 60x3 table named MKTRF_table with the following columns in this order: [ 'DATE' 'MKT_RET' 'RF'] 3. A 60x4 table named CAPM_table, created by joining ORCL_table and MKTRF_table, with the following columns: [ 'DATE' 'ORCL_RET' "MKT_RET' 'F']. Notes! To create CAPM_table, you must remove the 'TICKER' column and rename Oracle's return data from 'RET' to 'ORCL_RET'. The format long command provided is there so that the dates display correctly as YYYYMMDD (year month day) when reading the table in the output window. Script C Reset EI MATLAB Documentation i format long There are two csv files available in this question (you cannot see them, but they are on the Matlab server ready for access): ORCL.csv stores monthly total returns on the stock Oracle for the period 2016-2020. MKT_RF.csv stores the monthly total return on the market portfolio (CRSP value-weighted index) and the risk-free rate. Create the following three tables by using the readtable command: 1. A 60x3 table named ORCL_table with the following columns in this order: [ 'DATE' TICKER' 'RET'] 2. A 60x3 table named MKTRF_table with the following columns in this order: [ 'DATE' 'MKT_RET' 'RF'] 3. A 60x4 table named CAPM_table, created by joining ORCL_table and MKTRF_table, with the following columns: [ 'DATE' 'ORCL_RET' "MKT_RET' 'F']. Notes! To create CAPM_table, you must remove the 'TICKER' column and rename Oracle's return data from 'RET' to 'ORCL_RET'. The format long command provided is there so that the dates display correctly as YYYYMMDD (year month day) when reading the table in the output window. Script C Reset EI MATLAB Documentation i format long
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
