LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Boom1
 
Posts: n/a
Default Weighted moving average

sorry--i dont think i actually explained this correctly. I have returns
for 24 months for our fund and then for the indices that we're measure
our exposure to. To get the betas, i'm using the linest function in
excel, using the last12M of data--i'm showing 12 data points and so i
think i need the linest function to incorporate the moving average.
(If I do it on the return itself, one month mar 2006 will be in the
lower weighted category but as time goes on, it will eventually be in
the higher weighted category--i cant figure out how to account for
this...



wrote:
Boom1 wrote:
I'm trying to created a weighted moving average calculation for the
betas I have calculated in excel, which use monthly data for the past
12M-- i would like to have half the weight on the prior 3 months, and
the other half of hte weight on the 9 months prior. I'm having problems
figuring out how to come up with the weights and how to do this in
excel. Any suggestions?


The key is: the sum of the weights should equal one. You have 12
data items. The sum of the weights for 3 items should be 1/2, and
the sum of the weights for 9 items should be 1/2. So the weights
are (1/3)*(1/2) and (1/9)*(1/2) respectively, which is 1/6 and 1/18.

The Excel formulation can be done by setting up the formula for the
most-recent cell of one 12-month period, then copy the formula to
the cells of each consecutive 12-month period. Excel will change
the relevative cell references accordingly.

For example, if your monthly data is in column A, where A1 is the
most recent data and B1 is the moving average for A1:A12, then
B1 is:

=sum(A1:A3)/6 + sum(A4:A12)/18

Copy B1 to B2:B(n-11), when "n" is the row number of the least
recent data. B2, for example, will become:

=sum(A2:A4)/6 + sum(A5:A13)/18


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Weighted Average Using Row Number whiZZfiZZ Excel Worksheet Functions 2 May 8th 06 02:44 AM
Moving Average projection? Wild Nerd Excel Worksheet Functions 6 March 21st 06 01:55 PM
30 Day Moving Average Ignoring Blank Cells ethatch Excel Worksheet Functions 2 January 17th 06 09:37 AM
Moving average Mike B Excel Worksheet Functions 8 March 21st 05 04:41 PM
Plotting moving average line on a chart Herbert Chan Charts and Charting in Excel 1 February 26th 05 08:31 PM


All times are GMT +1. The time now is 04:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"