Question: ON EXCEL: 3 . 3 Descriptive Analytics For each company, do the following: 1 . Sequentially number each daily entry as a Trading Day (
ON EXCEL:
Descriptive Analytics
For each company, do the following:
Sequentially number each daily entry as a Trading Day TDie data for th Oct is T D
Calculate the day Least Squares Moving Average LSMA of the Adjusted Closing Price ACP
The LSMA at day t is calculated as follows:
LSMAt LRACP :T Dt
where LRACP :T D is a linear regression model of ACP given TD for the previous days. In other words, to calculate the LSMA for day t build a linear regression predicting ACP given TD using data from t to t and make a prediction for day t using the model
Create a line plot of TD versus ACP, for the period from TD until TD with a second line in the same plot showing the calculated LSMA data for TD
Calculate the Daily Gain DG for TD The DG for day t is calculated simply as:
DGt ACPt ACPt
The volume of shares traded can be an indicator of market confidence. A price upwardsdownwards trend with a volume increase can indicate market confidence on the trend; conversely, decreasing traded volumes over time might indicate lack of confidence on the current price trend. Capture this effect
by calculating the correlation r between volume and the DG data calculated previously, for TD :
V OLDGr rV OL DG
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
