View unanswered posts | View active topics
		
	
	
	
	
	
	
		
			
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.
		
	
	
	
	
		|     | Page 1 of 1 
 | [ 2 posts ] |  | 
	
	
	
	
		
			| Author | Message | 
	
			| eljainc | 
				
				
					|  Post subject: Data point curve fitting. Polynomial linear equation  Posted:  Wed Oct 13, 2010 8:20 pm  |  | 
		
			| Joined: Wed Oct 13, 2010 8:16 pm
 Posts: 1
 | 
				
					| Hello,
 Is it possible to use ALGLib to fit a line of form y=ax+b.  Say I have the following data points:
 
 12	10.1542
 13	16.59
 14	15.5466
 15	22.9597
 16	36.8394
 17	41.5816
 18	51.5024
 19	60.026
 20	65.1672
 21	62.9512
 22	72.38
 23	72.4192
 24	80.0888
 25	94.41
 26	97.2659
 27	95.6868
 28	97.6835
 29	113.109
 30	126.1172
 31	113.1448
 32	126.4449
 33	143.7965
 34	118.164
 35	142.7557
 36	149.0824
 37	78.8028
 38	153.0144
 39	3.17
 40	153.94
 
 
 Can I do this with ALGLib? Which functions are needed for this?
 Thanks
 Mike
 
 
 |  | 
		
			| Top |   | 
	
		|  | 
	
	
	
			| Sergey.Bochkanov | 
				
				
					|  Post subject: Re: Data point curve fitting. Polynomial linear equation  Posted:  Thu Oct 14, 2010 2:27 pm  |  | 
		
			| 
			
				
					|  |  
					| Site Admin |  Joined: Fri May 07, 2010 7:06 am
 Posts: 930
 | 
				
					| Yes, it is possible. Take a look at linreg subpackage. 
 
 |  | 
		
			| Top |   | 
	
		|  | 
	
	
	
	
	
		|     | Page 1 of 1 
 | [ 2 posts ] |  | 
	
 
	
	
	
		| Who is online | 
	
		| Users browsing this forum: Bing [Bot] and 122 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
 
 |