+ Reply to Thread
Results 1 to 3 of 3

Quadratic Regression - Help

  1. #1
    Registered User
    Join Date
    04-07-2013
    Location
    California, America
    MS-Off Ver
    Excel 2007
    Posts
    1

    Quadratic Regression - Help

    Background
    I am trying to determine the value of g based on a simple pendulum. The equation, for a small angle approximation works out to L=[G/((2pi)^2)] P^2. Where L is the length of the Pendulum in meters, G is Gravity and P is the period of the pendulum. I have graphed a scatter plot with the x axis as L and the y axis as P.

    I have 3 different series for different lengths of pendulum.
    When I try to find a line of best fit I get something like ax^2 + bx + c and this trendline is only for one series.


    Question
    2 Parts - Is there any way to get the trendline to be the line of best fit for all my different series ( different lengths)
    - Is there any way to make my quadratic regression approximate only in terms of ax^2.

    Thanks
    Physics Student

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,028

    Re: Quadratic Regression - Help

    Can you upload example workbook with your inputs and desired output?
    You can hide any private and professional information but keep what's important to understanding (excel and math) problem.

    ax^2+bx+c can be replaced with ax^2 for big x.
    Never use Merged Cells in Excel

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,369

    Re: Quadratic Regression - Help

    - Is there any way to make my quadratic regression approximate only in terms of ax^2.
    Consider this substitution:

    Let u=x^2.
    Substitute into y=ax^2 --> y=au. It should (hopefully) be obvious that y as a function of u is a straight line through the origin (y=au+0).
    When I do this, I add a column that calculates u, then regress against that column.
    Setting the third argument in the LINEST() function (http://office.microsoft.com/en-us/ex...005209155.aspx) to false should cause Excel to set b=0.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1