forum.alglib.net

ALGLIB forum
It is currently Thu Apr 25, 2024 8:32 pm

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: quest about least squares
PostPosted: Fri Oct 12, 2012 3:04 am 
Offline

Joined: Fri Oct 12, 2012 2:55 am
Posts: 1
hellp everyone,I have data below

x , y
2001,75330
2002,75636
2003,71422
2004,70952
2005,75398
2007,78281
2008,79524
2009,72624

I want to fitting the Y ,when x equal 2006.
which method can be chosen.


Top
 Profile  
 
 Post subject: Re: quest about least squares
PostPosted: Fri Oct 12, 2012 5:42 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 906
With such small amount of data and such large non-monotonic variations it is better to use something simple. Complex methods won't work.

I think, it is better to calculate Y(2006) as 0.5*(Y(2005)+Y(2007)). You may think that it is too simple, but the problem is that there is no magic formula which can predict sudden changes like ones which happened in 2003 (75000 to 71000) and 2005 (70000 to 75000).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 48 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group