Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default multiple nonlinear regression

Hello,

I had a question about using excel to calculate the regression
equation for many independent variables (I have 7). I'm not too
knowledgable about stats, but I used tools-data analysis- regression
to get a multiple linear regression equation, but I want to try
polynomial or non-linear, as the R I got was a bit too low. I have no
idea what to expect in the resultant equation , so I don't want to
fill up the worksheet columns with A^2, A^3, B^2, C^3, etc...

I read the posts about LINEST, but when I tried it, all I get is a
number, when I want a list of coefficients or an equation, and when I
tried using ^{1,2,3}, I get a #VALUE! error.

Thank you any help...
Lian
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default multiple nonlinear regression

Lian -

I had a question about using excel to calculate the regression equation

for many independent variables (I have 7). I'm not too knowledgable about
stats, but I used tools-data analysis- regression to get a multiple linear
regression equation, but I want to try polynomial or non-linear, as the R I
got was a bit too low. I have no idea what to expect in the resultant
equation , so I don't want to fill up the worksheet columns with A^2, A^3,
B^2, C^3, etc... <

I suggest that you first "look at the data." Plot Y versus each of the X
variables (a separate XY plot for each) to see if there are any obvious
nonlinear relationships.

The simplest way to handle many nonlinear relationships is to use both X and
X^2 as explanatory ("independent") variables. There is seldom a
justification for higher-order polynomials (and you may "overfit" the data).

So if you see some possible nonlinear relationships, add X^2 to your
existing data.

I read the posts about LINEST, but when I tried it, all I get is a number,

when I want a list of coefficients or an equation, <

The Regression tool uses LINEST, so there's no reason to use LINEST unless
you want the results to change dynamically when you change some of the X and
Y data values. If you do use LINEST, note that it must be "array entered."
That is, select a large range of cells (see Help for the size), enter the
LINEST function, and finish by pressing Control+Shift+Enter simultaneously
(instead of just pressing Enter).

and when I tried using ^{1,2,3}, I get a #VALUE! error. <


If you have 7 original X variables, that array exponentiation would yield 21
X variables for LINEST, and LINEST (and the Regression tool) is limited to
16 X variables.

- Mike

www.mikemiddleton.com


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default multiple nonlinear regression

Hi,

Thank you for the suggestions! I'm going to go ahead and try the x^2
now... I remembered after plotting a couple of X-Y graphs for the
independent variables individually that most of my independent variables
had about 4 numbers that it varied between (except for one, that changes
with every 2).

Plotting just the Y stuff, though, gave me some interesting results so I
think I'll explore that further.

Once again, thank you for your help!
Lian

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
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
Nonlinear multiple regression SPSS [email protected] Excel Discussion (Misc queries) 1 June 26th 08 11:40 AM
how can i use of nonlinear multiple regression in excel? mina tehrani Excel Discussion (Misc queries) 1 September 7th 07 08:46 PM
nonlinear regression Student in need of DESPERATE HELP Excel Discussion (Misc queries) 1 February 3rd 07 02:30 PM
Nonlinear regression Jeremy Excel Worksheet Functions 0 February 14th 06 07:35 PM
nonlinear regression/ curve fits geocalc Excel Discussion (Misc queries) 4 December 30th 05 08:18 PM


All times are GMT +1. The time now is 04:35 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"