Post Reply 
Prime - Linear Least Squares Regression
09-01-2014, 12:02 PM
Post: #3
RE: Prime - Linear Least Squares Regression
(09-01-2014 04:58 AM)Angus Wrote:  edit: I tried it: list works as desired. linear_regression( {{14,0.2},{21,0.5},...,{60,2.4}} )

Alternate method: linear_regression([X values],[Y values])

Your example: linear_regression([14,21,30,38,45,60],[0.2,0.5,0.7,1.2,1.6,2.4])
--> [4.80888676541ᴇ−2, −0.567080745342]

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Prime - Linear Least Squares Regression - Joe Horn - 09-01-2014 12:02 PM



User(s) browsing this thread: 1 Guest(s)