LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ken Ken is offline
external usenet poster
 
Posts: 590
Default Do Multiple Regression with VBA Code

I want to do a multiple regression through VBA code so I want to understand
the code structure.

I recorded a macro to do this, using Tools | Data Analysis | Regression, I
filled in my Y and X ranges and the cell range to post the results, however
the code that resulted did not show any of the ranges in it.

When I ran this code it asked me firstly to imput the "Y" range, and when I
key this and rerun the macro, a message indicated that the range need to be a
"contiguous reference" and I don't know what this means.

Can anyone please help me with the line code to do the multiple regression?

Thanks KEN
 
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
How does Excel calculate Multiple R when doing multiple regression whobell Excel Worksheet Functions 1 April 8th 08 11:11 PM
The multiple regression tool - linear or non-linear regression? Statistical interest Excel Discussion (Misc queries) 2 February 6th 08 11:01 PM
how to use multiple regression Dave in naigeria Excel Discussion (Misc queries) 4 October 19th 05 03:32 AM
multiple regression indiana_jones81 Excel Worksheet Functions 3 October 18th 05 04:27 PM
VBA Code for Logit regression Toadhall Excel Programming 1 October 13th 04 01:59 PM


All times are GMT +1. The time now is 05:42 AM.

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"