+ Reply to Thread
Results 1 to 7 of 7

Minimize SSE (Sum of Squared Errors) w/o Solver Tool

  1. #1
    Forum Contributor
    Join Date
    07-02-2008
    Location
    Utah
    Posts
    171

    Minimize SSE (Sum of Squared Errors) w/o Solver Tool

    Hi,

    I love how the Solver Tool in Excel can minimize my SSE for data by choosing the corresponding alpha value. The only problem is that I need this to happen more automatically (without clicking into the Solver tool). Do you know of a formula or VBA that can do this without manual interaction?

    Let me know if you need a data set to look at.

    Thanks,
    John

  2. #2
    Registered User
    Join Date
    02-11-2011
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2013
    Posts
    98

    Re: Minimize SSE (Sum of Squared Errors) w/o Solver Tool

    try recording a macro and assigning a shortcut to it. obviously save as a macro-enabled workbook

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Minimize SSE (Sum of Squared Errors) w/o Solver Tool

    It depends on whether the problem can be solved either in closed form or via iteration, John. What's the nature of it?
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Forum Contributor
    Join Date
    07-02-2008
    Location
    Utah
    Posts
    171

    Re: Minimize SSE (Sum of Squared Errors) w/o Solver Tool

    Hi, thanks for the help!! I really appreciate it. I've attached a workbook that has some data in it similiar to what I am working with. Because the amount of data will change regularly and the end-user will not be someone super familiar with the Solver Tool, I would like to minimize SSE (AE4) based on the optimal alpha level (AE3).

    I would prefer something that was more closed form.

    Thanks,
    John
    Attached Files Attached Files

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Minimize SSE (Sum of Squared Errors) w/o Solver Tool

    Changing alpha in your workbook has no effect on SSE.

  6. #6
    Forum Contributor
    Join Date
    07-02-2008
    Location
    Utah
    Posts
    171

    Re: Minimize SSE (Sum of Squared Errors) w/o Solver Tool

    Hey sorry about that. I forgot to drag a formula down. Here you go!
    Attached Files Attached Files

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Minimize SSE (Sum of Squared Errors) w/o Solver Tool

    John, I don't understand your model, sorry.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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