Post Reply 
Prime - Linear Least Squares Regression
09-01-2014, 04:07 AM
Post: #1
Prime - Linear Least Squares Regression
Ok, I am given the following data about a plant growing...
Days Height (m)
14 0.2
21 0.5
30 0.7
38 1.2
45 1.6
60 2.4

I am asked to calculate the growth rate in (m/day) based on linear least squares regression and this data.

I can do it by hand, but want to do it on the calculator.....and am confused.

The linear_regression() function says it returns 2 coefficiens for the line y=ax+b it returns a and b

So I input the following:

linear_regression( (14,.2),(21,.5),(30,.7),(38,1.2),(45,1.6),(60,2.4))

and i get a syntax error.....probably because I don't know how to enter a list....so i try entering it as:

linear_regression( {14,.2},{21,.5},{30,.7},{38,1.2},{45,1.6},{60,2.4})
and get another syntax error

the on-calculator help suggests
linear_regression( [[14,.2],[21,.5],[30,.7],[38,1.2],[45,1.6],[60,2.4]])

but i don't see how to enter this format on the calculator....totally confused, and frustrated.

Can someone please clue me in how to enter lists in a reasonably efficient manner?

Thanks in advance.

Paul
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Prime - Linear Least Squares Regression - paul.hermans@benemtech.com - 09-01-2014 04:07 AM



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