ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Creating regressions with more than 17 data points... (https://www.excelbanter.com/excel-programming/285924-re-creating-regressions-more-than-17-data-points.html)

Tom Ogilvy

Creating regressions with more than 17 data points...
 
I just selected 55 xy pairs and did regression under the analysis entry in
the tools menu (analysis toolpak). It worked fine for me.

--
Regards
Tom Ogilvy

Kevin wrote in message
...
Can I create regressions with more than 17 data points? anyone know how?




Kevin Campbell

Creating regressions with more than 17 data points...
 
Tom,

Are you using Excel XP or 2000? Or does it matter?

-Kevin

btw- I am tech support for an Economics Dept. at a major University.
These folks know almost nothing about Excel and I know nothing about
Economics! How about that for a crummy situation?


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Steve Hieb

Creating regressions with more than 17 data points...
 
Kevin,

I don't think the Excel version matters. Excel was limited to 16
regressors (at least in Excel 97 and I doubt it has changed). Others
have also discovered the limitation. I'm assuming you are talking
about regressors or variables not data points as you indicated. I
don't think there is a limit on data points other than 65,536 (# rows
on a sheet).

I've never used it, but you might look at an add-in for Excel I found.
Apparently it can handle 256 regressors limited only by # columns in
Excel.

http://www.analyse-it.com/faqs/21000.htm

I usually use the LINEST function (limited by 16 as you know). I've
never tried to call it within VBA, but expect the same strange limit
will apply. You could also use something external like Minitab.
Finally, you can do the regression using basic statistical methods
instead of a function that does it for you. Personally, I'd rather
buy the add-in than a statistics book!

Happy Holidays,
Steve Hieb

Tom Ogilvy

Creating regressions with more than 17 data points...
 
As Steve so astutely surmised, it appears you are talking about 16
independent variables. I thought you were talking about XY pairs. As you
state, I believe the limit is 16 in all current versions.

From help (Excel 97) on Regression:

Input X Range

Enter the reference for the range of independent data. Microsoft Excel
orders independent variables from this range in ascending order from left to
right. The maximum number of independent variables is 16.



--
Regards,
Tom Ogilvy

Kevin Campbell wrote in message
...
Tom,

Are you using Excel XP or 2000? Or does it matter?

-Kevin

btw- I am tech support for an Economics Dept. at a major University.
These folks know almost nothing about Excel and I know nothing about
Economics! How about that for a crummy situation?


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!





All times are GMT +1. The time now is 11:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com