Financial Time Series Toolbox    

Calculate the Dividend Rate

The last part of the task is to calculate the dividend rate from the stock price data. Calculate the dividend rate by dividing the dividend payments by the corresponding closing stock prices.

First check to see if you have the stock price data on all the dividend dates:

Note that stock price data for October 2, 1999 does not exist. The fillts function can overcome this situation; fillts allows you to insert a date and interpolate a value for the date from the existing values in the series. There are a number of interpolation methods. See fillts in the Function Reference for details.

Use fillts to create a new time series containing the missing date from the original data series. Then set the frequency indicator to daily:

Calculate the dividend rate:


  Plot the Results Technical Analysis