LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Regressions with data in (changing) rows

I wish I could attach the Excel file illustraing my question below:

For each date, I have 10 observations of the dependent variable (Y1 to
Y10) to be regressed on two explanatory variables (X1 to X10 and Z1 to
Z10). The data are entered as follows:

Column A is the date (say, 250 days).
Columns B to K contain the Y1 to Y10 for each date.
Columns M to V contain the Z1 to Z10 for each date.
Columns X to AG contain one row of X1 to X10.

I know how to get the intercept and slope (using INTERCEPT and SLOPE,
or LINEST) if I just regress Y on X or Y on Z only. But I need the
intercept and slope coefficients of regressing Y on X and Z for each
date.

The problem is that the observations X1 to X10 are the same for each
date, while Z1 to Z10 are changing over the dates (just like Y1 to
Y10). So I am not sure if I need to write a macro for this, or there
is a way of "combining" X1 to X10 with Z1 to Z10 for each date, and
then I can just use LINEST to regress Y1 to Y10 on X1 to X10 with Z1
to Z10 for each date.

Hope I have described the question clearly. Thanks in advance for any
help.

Best regards,
Y. F.
 
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
Regressions using dates petess Excel Worksheet Functions 2 September 16th 07 03:08 PM
How do I sort or filter rows without column A data changing? Kesbutler Excel Discussion (Misc queries) 7 July 27th 07 10:57 PM
running regressions in Excel 2003 Naraine Ramkirath Excel Worksheet Functions 5 May 15th 07 01:49 PM
Sorting 4 rows of data and changing the text of the highest value. AbeAbeAbe Excel Discussion (Misc queries) 2 February 17th 07 05:54 PM
I used Lotus Help for regressions in MS Excel 99. Now what? Hawkeye Excel Worksheet Functions 1 February 1st 06 09:25 PM


All times are GMT +1. The time now is 12:10 PM.

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

About Us

"It's about Microsoft Excel"