Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Cyanlce
 
Posts: n/a
Default cubic regression with no quadratic term

how do i do cubic regression without the quadratic term? how do i tell excel
there is no x^2? i just want it to be ax^3+bx+c
  #2   Report Post  
Bill Martin -- (Remove NOSPAM from address)
 
Posts: n/a
Default

Cyanlce wrote:
how do i do cubic regression without the quadratic term? how do i tell excel
there is no x^2? i just want it to be ax^3+bx+c



I presume you have a column of X and a column of Y data. Add a third
column which is your scoring function that you want to minimize.
Conventionally that would be something like { } = (Y - YourF(x))^2 At
the bottom of that column you sum up all your error function values.

Then you just use Solver to optimize the a, b, c values that you've used
in your scoring function equation to minimize the sum of your error
function values.

Good luck...

Bill
  #3   Report Post  
Jerry W. Lewis
 
Posts: n/a
Default

Assuming that yData and xData are columnar data with no empty or
non-numeric cells, then select 3 contiguous cells in a row and array
enter (Ctrl-Shift-Enter)

=LINEST(yData,xData^{1,3})

As documented by Help, the reculting coeffients will be

(cubic, linear, intercept)

which is the opposite order to what you might expect.

Jerry

Cyanlce wrote:

how do i do cubic regression without the quadratic term? how do i tell excel
there is no x^2? i just want it to be ax^3+bx+c


  #4   Report Post  
Cyanlce
 
Posts: n/a
Default

thanks

"Cyanlce" wrote:

how do i do cubic regression without the quadratic term? how do i tell excel
there is no x^2? i just want it to be ax^3+bx+c

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
LINEST bug with cubic polynomials in Excel 2003 byundt Excel Worksheet Functions 3 March 21st 05 02:15 PM
Problem seting-up Regression Macro Confused VB Person Excel Discussion (Misc queries) 1 February 9th 05 08:05 AM


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