+ Reply to Thread
Results 1 to 6 of 6

Regression in excel

  1. #1
    Registered User
    Join Date
    09-10-2016
    Location
    Iran
    MS-Off Ver
    2010
    Posts
    12

    Regression in excel

    Hello,
    I want calculate a , b and c
    It's exponential regression?
    Thanks
    Attached Images Attached Images

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,811

    Re: Regression in excel

    There are two basic approaches to regression in Excel:

    Standard linear least squares regression, implemented using the LINEST() function. In your case, "linearize" the function by taking the ln() of both sides of the equation. Then apply the LINEST() function to the transformed data. Help file for the LINEST() function: https://support.office.com/en-us/art...a-fa7abf772b6d

    Any regression algorithm, including linear least squares, implemented using the built in Solver utility. Guess at the values for the regression parameters, compute the estimated T at each point, your goodness of fit measure, and your objective function (if it is different from your goodness of fit). Call Solver and tell it to minimize/maximize the objective function by changing the regression parameters.

    In either case, because your regression equation simplifies to T(n)=a*n^(b+c), I don't think any regression is going to find unique values for b and c. These algorithms will find a value for b+c, but, without more information about b and c, I don't expect a unique solution for b and c to be found.

    That is a quick overview, where do you get stuck?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    04-11-2016
    Location
    Daventry, England
    MS-Off Ver
    2016
    Posts
    24

    Re: Regression in excel

    Hi

    Would the Data Analysis addin work for you? I calculated Log(Y) for each Y using =LN()

    I can't attach spreadsheet for some reason, but SOME of the outputs for your data:

    SUMMARY OUTPUT

    Regression Statistics
    Multiple R 0.990667078
    R Square 0.981421259
    Adjusted R Square 0.977705511
    Standard Error 0.511598611
    Observations 7

    ANOVA
    df SS MS F Significance F
    Regression 1 69.13021352 69.13021352 264.1248022 1.60814E-05
    Residual 5 1.308665694 0.261733139
    Total 6 70.43887921

    Coefficients Standard Error t Stat P-value Lower 95% Upper 95% Lower 95.0% Upper 95.0%
    Intercept 0.689759105 0.432379743 1.595262305 0.171538947 -0.421708408 1.801226618 -0.421708408 1.801226618
    X Variable 1 1.571284887 0.09668305 16.25191688 1.60814E-05 1.322753196 1.819816579 1.322753196 1.819816579

    Regards
    Alan

  4. #4
    Valued Forum Contributor
    Join Date
    10-14-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2019
    Posts
    353

    Re: Regression in excel

    I used the Solver and came to this
    Attached Files Attached Files
    Kind regards,
    Piet Bom

  5. #5
    Valued Forum Contributor
    Join Date
    10-14-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2019
    Posts
    353

    Re: Regression in excel

    and made it a bit nicer.............
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor
    Join Date
    10-14-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2019
    Posts
    353

    Re: Regression in excel

    @Life24,
    Was it usefull ?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Excel Regression Project
    By rfalcioni in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-30-2015, 02:29 AM
  2. [SOLVED] Excel and Regression? Is it even possible?
    By NewJerichoMan in forum Excel General
    Replies: 3
    Last Post: 03-18-2015, 09:58 PM
  3. Regression Model in Excel.
    By dude777 in forum Excel General
    Replies: 1
    Last Post: 04-12-2012, 06:05 PM
  4. Multiple Regression in Excel
    By nandhamnk in forum Excel General
    Replies: 2
    Last Post: 07-27-2009, 09:57 AM
  5. non linear regression in excel
    By Nikeel in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-04-2006, 08:15 PM
  6. [SOLVED] How do you run regression in excel?
    By heatherm in forum Excel General
    Replies: 2
    Last Post: 11-18-2005, 03:30 PM
  7. [SOLVED] how do i do a regression in excel?
    By Mike G in forum Excel General
    Replies: 1
    Last Post: 09-19-2005, 05:05 PM

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