forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 3:46 am

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: Data point curve fitting. Polynomial linear equation
PostPosted: Wed Oct 13, 2010 8:20 pm 
Offline

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
 Profile  
 
 Post subject: Re: Data point curve fitting. Polynomial linear equation
PostPosted: Thu Oct 14, 2010 2:27 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
Yes, it is possible. Take a look at linreg subpackage.


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: No registered users and 20 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