LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 162
Default Using Regression Function in VBA Macro


"Martin Brown" wrote in message
On 28/05/2014 21:52, Peter T wrote:
"Martin Brown" wrote in message On


I know that's not a 'stressful' test but could you illustrate when Linest
becomes unreliable and/or returns different coeff's to a high precision
chart formula.


Add an offset of about 10000 to all the x values - this makes the
condition number of the problem much higher for a naive code. It is the
sort of thing that can happen when the x values are dates for example.


But is that a realistic scenario, 10000^5 is 10E+20 which would imply a
decimal cooefficient with at least 10 to 15 leading zeros.

When they first released XL2007 they broke the polynomial fit in charts to
make it agree with a well known PC package with the same defect!


In light testing I still can't reproduce any discrepancies.

Regards,
Peter T




 
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
VBA Linest function for polynomial regression on horizontal range Herman[_2_] Excel Programming 0 December 4th 11 01:28 PM
Regression P-Value Function BG Excel Worksheet Functions 2 January 16th 09 01:28 PM
Problem with Regression function in 2007, Analysis Tool Pak Lauren273 Excel Discussion (Misc queries) 2 May 25th 08 10:00 PM
Custom function for max residual from linear regression Bob Nelson Excel Programming 7 July 28th 06 03:14 PM
Linear Regression using the TREND function scarlett1 Excel Worksheet Functions 2 May 26th 06 03:04 PM


All times are GMT +1. The time now is 06:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"