View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default Hot to calculate montly slope?

You do not need MATLAB. Be sure the data is sorted by month and then apply
the LINEST() function over each month's data.

See LINEST in Excel help for the details.
--
Gary''s Student - gsnu200774


"Roy" wrote:

Hi

I have a data set where i have daily data for 10 years. I want to calculate
the beta(slope or linest) for each month.

The data is only from trading days, so some months have 20 observations due
to hollidays etc, and some have 25.

I need excel to calculate the montly slope, any ideas?
Or do I have to use matlab for this?