Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Data analysis Regression in vba

I would like to make a macro that does the same as the menu-option: Tools -
Data Analysis - Regression?

Macro-recording results in somtething like:

Application.Run "ATPVBAEN.XLA!Regress", , , True, True, 95, , True, _
True, True, True, , True

Not very helpfull!

I can use the function RSQ, but I would like to have the extra information
of the menu option without having to program it all myself.

Thanks in advance
Anne


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 837
Default Data analysis Regression in vba

See

http://groups.google.com/groups?selm...40mediaone.net

Jerry

Anne wrote:

I would like to make a macro that does the same as the menu-option: Tools -
Data Analysis - Regression?

Macro-recording results in somtething like:

Application.Run "ATPVBAEN.XLA!Regress", , , True, True, 95, , True, _
True, True, True, , True

Not very helpfull!

I can use the function RSQ, but I would like to have the extra information
of the menu option without having to program it all myself.

Thanks in advance
Anne


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Data analysis Regression in vba

If you record a macro when you're changing these options (one by one), you'll
see what changes.

But try them in this order:

inpyrng
inpxrng
constant
labels
confid
soutrng
residuals
sresiduals
rplots
lplots
routrng
nplots
poutrng



Anne wrote:

I would like to make a macro that does the same as the menu-option: Tools -
Data Analysis - Regression?

Macro-recording results in somtething like:

Application.Run "ATPVBAEN.XLA!Regress", , , True, True, 95, , True, _
True, True, True, , True

Not very helpfull!

I can use the function RSQ, but I would like to have the extra information
of the menu option without having to program it all myself.

Thanks in advance
Anne


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Data analysis Regression in vba

Thanks Dave for the suggestion.
What is the meaning of routrng and poutrng
I don't see them on the dialog window.
Anne

"Dave Peterson" wrote in message
...
If you record a macro when you're changing these options (one by one),

you'll
see what changes.

But try them in this order:

inpyrng
inpxrng
constant
labels
confid
soutrng
residuals
sresiduals
rplots
lplots
routrng
nplots
poutrng



Anne wrote:

I would like to make a macro that does the same as the menu-option:

Tools -
Data Analysis - Regression?

Macro-recording results in somtething like:

Application.Run "ATPVBAEN.XLA!Regress", , , True, True, 95, , True,

_
True, True, True, , True

Not very helpfull!

I can use the function RSQ, but I would like to have the extra

information
of the menu option without having to program it all myself.

Thanks in advance
Anne


--

Dave Peterson



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Data analysis Regression in vba

I don't know. In fact, when I recorded a couple of macros, I only got 12
parms. Maybe some experimenting when you record some macros varying your input
would give you an idea.

Anne wrote:

Thanks Dave for the suggestion.
What is the meaning of routrng and poutrng
I don't see them on the dialog window.
Anne

"Dave Peterson" wrote in message
...
If you record a macro when you're changing these options (one by one),

you'll
see what changes.

But try them in this order:

inpyrng
inpxrng
constant
labels
confid
soutrng
residuals
sresiduals
rplots
lplots
routrng
nplots
poutrng



Anne wrote:

I would like to make a macro that does the same as the menu-option:

Tools -
Data Analysis - Regression?

Macro-recording results in somtething like:

Application.Run "ATPVBAEN.XLA!Regress", , , True, True, 95, , True,

_
True, True, True, , True

Not very helpfull!

I can use the function RSQ, but I would like to have the extra

information
of the menu option without having to program it all myself.

Thanks in advance
Anne


--

Dave Peterson


--

Dave Peterson



Reply
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
Excel 2002 Analysis ToolPak Regression Analysis Help Requested MH Excel Worksheet Functions 1 February 28th 09 07:16 AM
Where can I find Tools : Data Analysis : Regression in Excel (Vist Kristen M. Excel Discussion (Misc queries) 2 December 3rd 08 10:55 AM
regression charts in data analysis kourtney Charts and Charting in Excel 1 February 14th 08 10:40 PM
Charts generated by Data Analysis/Regression Add-in [email protected] Charts and Charting in Excel 7 April 3rd 07 11:29 PM
Recalculating a Regression Output in Data Analysis karin Excel Worksheet Functions 1 August 23rd 05 03:40 AM


All times are GMT +1. The time now is 10:41 AM.

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"